diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-09 17:00:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-09 17:00:46 +0800 |
commit | 3527e6dce34cd8c26e7f477728783308b39ce414 (patch) | |
tree | 29557f650a582a54977787b92416095cacccc35f /multimedia | |
parent | f3b6b31b5b31e516a847941d83cecfb65b87a646 (diff) | |
download | freebsd-ports-gnome-3527e6dce34cd8c26e7f477728783308b39ce414.tar.gz freebsd-ports-gnome-3527e6dce34cd8c26e7f477728783308b39ce414.tar.zst freebsd-ports-gnome-3527e6dce34cd8c26e7f477728783308b39ce414.zip |
- Fix LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Pet portlint
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gavl/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile index 11d26e09608d..9ad27f3125c4 100644 --- a/multimedia/gavl/Makefile +++ b/multimedia/gavl/Makefile @@ -10,17 +10,17 @@ MASTER_SITES= SF/gmerlin/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Library for handling uncompressed video and audio data -LICENSE= GPLv3 +LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= alias libtool pathfix pkgconfig +USES= alias libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lm CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen INSTALL_TARGET= install-strip +LIBS+= -lm + PORTDOCS= README OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG DOCS @@ -28,17 +28,13 @@ OPTIONS_DEFAULT= OPTIMIZED_CFLAGS PNG PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-libpng -.include <bsd.port.options.mk> - -post-patch: -.if empty(PORT_OPTIONS:MOPTIMIZED_CFLAGS) +post-patch-OPTIMIZED_CFLAGS-off: @${REINPLACE_CMD} -e \ - 's|-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math||g' \ + 's|-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math||g' \ ${WRKSRC}/configure -.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |