# New ports collection makefile for: libmpeg2 # Date created: Tue Oct 16 17:14:20 BRST 2001 # Whom: Mario Sergio Fujikawa Ferreira # # $FreeBSD$ # PORTNAME= libmpeg2 PORTVERSION= 0.5.1 CATEGORIES= multimedia MASTER_SITES= http://libmpeg2.sourceforge.net/files/ MAINTAINER= multimedia@FreeBSD.org COMMENT= A free library for decoding mpeg-2 and mpeg-1 video streams USE_GNOME= gnometarget ltverhack USE_AUTOTOOLS= libtool:22 USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes CONFIGURE_ARGS= --enable-shared \ --with-x MAN1= extract_mpeg2.1 mpeg2dec.1 PORTDOCS= libmpeg2.txt README .ifdef(WITH_SDL) USE_SDL= yes CONFIGURE_ARGS+= --enable-sdl .else CONFIGURE_ARGS+= --disable-sdl .endif # allow build with more warnings enabled .if defined(NO_WERROR) CONFIGURE_ARGS+= --disable-warnings .endif .include # We must be able to build EV6 code; actual CPU-type optimizations # are chosen at runtime. .if ${ARCH} == "alpha" CFLAGS:= ${CFLAGS:N-mcpu=*} .endif pre-everything:: @${ECHO_MSG} "====>" .ifndef(WITH_SDL) @${ECHO_MSG} "====> You can enable SDL support by defining WITH_SDL" .endif .ifndef(WITH_MGA) @${ECHO_MSG} "====> You can enable MGA support by defining WITH_MGA" .endif @${ECHO_MSG} "====>" post-patch: @${REINPLACE_CMD} -e 's|-O3||;s|||' ${WRKSRC}/configure # AMD64 prefers position independent code .if ${ARCH:L} == "amd64" @${REINPLACE_CMD} -e 's|-prefer-non-pic||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/libmpeg2/Makefile.in @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/libmpeg2/convert/Makefile.in post-install: .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/libmpeg2.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif ${INSTALL_DATA} ${WRKSRC}/libvo/libvo.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/include/video_out.h \ ${PREFIX}/include/mpeg2dec .include iles/ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Really correct plist.mat2013-09-062-16/+32
* - Fix pkg-plistaz2013-09-052-27/+16
* - Convert to the new perl5 frameworkaz2013-09-031-6/+3
* - Update to 0.22sahil2013-09-032-4/+4
* - Cleanup outdated checks. (PERL_LEVEL < 5.12)az2013-06-181-4/+0
* - Fix all cases of 'No newline at end of file' in ports treeak2013-02-011-1/+1
* - Revert ports/165605 as requested by portmgr@pgollucci2012-03-141-1/+5
* - Remove ports that only work with < perl 5.12 (devel/p5-B-Size, devel/p5-Dev...pgollucci2012-03-091-5/+1
* - Correct PLIST for PERL_LEVEL >= 501400sahil2011-11-272-9/+22
* - Update to 0.21sahil2011-05-072-3/+3
* - Update to 0.20sahil2011-03-203-6/+17
* - Update to 0.19sahil2010-10-182-4/+4
* - Update to 0.18sahil2010-09-182-4/+4
* - Update to 0.16sahil2010-07-222-5/+5
* - Change '=' to '+=' when conditionally augmenting BUILD_DEPENDS [1]sahil2010-06-211-2/+2
* - Update to 0.15itetcu2010-03-052-4/+6
* - Update to 0.14pgollucci2010-01-122-4/+4