PORTNAME= libmpeg2 PORTVERSION= 0.5.1 PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= http://libmpeg2.sourceforge.net/files/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Free library for decoding MPEG-2 and MPEG-1 video streams WWW= http://libmpeg2.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool pathfix GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-shared CFLAGS_powerpc= -mno-altivec LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext PORTDOCS= libmpeg2.txt README OPTIONS_DEFINE= DOCS SDL X11 SDL_USES= sdl SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE= sdl X11_USES= xorg X11_USE= XORG=x11,xext,sm,ice,xv X11_CONFIGURE_WITH= x .include post-patch: @${REINPLACE_CMD} -e 's| -O3|| ; s|