# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD: head/multimedia/libmpeg2/Makefile 517560 2019-11-14 12:39:42Z tobik $ PORTNAME= libmpeg2 PORTVERSION= 0.5.1 PORTREVISION= 6 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 USES= libtool pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-shared 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|