diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-14 17:59:19 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-14 17:59:19 +0800 |
commit | 7600a7925792b9fcd6e23ca6a11d1be13604bdb6 (patch) | |
tree | 9001f7532634cf0ef3e36d0fdaad05a8ebeb8256 /graphics/libmng | |
parent | 54a7661d2eb53fbdbf1b98e47ed8bbfabf65e76e (diff) | |
download | freebsd-ports-gnome-7600a7925792b9fcd6e23ca6a11d1be13604bdb6.tar.gz freebsd-ports-gnome-7600a7925792b9fcd6e23ca6a11d1be13604bdb6.tar.zst freebsd-ports-gnome-7600a7925792b9fcd6e23ca6a11d1be13604bdb6.zip |
- Allow packaging as a regular user
- New LIB_DEPENDS syntax
- Use OPTIONS helpers
Diffstat (limited to 'graphics/libmng')
-rw-r--r-- | graphics/libmng/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/libmng/Makefile b/graphics/libmng/Makefile index aef3e12fdc59..8e0ec4794964 100644 --- a/graphics/libmng/Makefile +++ b/graphics/libmng/Makefile @@ -11,8 +11,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} \ MAINTAINER= mi@aldan.algebra.com COMMENT= Multiple-image Network Graphics (MNG) reference library -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - lcms:${PORTSDIR}/graphics/lcms +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + liblcms.so:${PORTSDIR}/graphics/lcms OPTIONS_DEFINE= MNG_OPTIMIZE MNG_OPTIMIZE_DESC= Use vendor's new optimization flags @@ -20,14 +20,11 @@ MNG_OPTIMIZE_DESC= Use vendor's new optimization flags MAKEFILE= ${FILESDIR}/Makefile.bsd #USE_BZIP2= yes # Please, uncomment on next upgrade +USES= uidfix USE_LDCONFIG= yes -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MMNG_OPTIMIZE} -MAKE_ARGS+= WITH_MNG_OPTIMIZE=true -.else -MAKE_ARGS+= WITH_MNG_OPTIMIZE=off -.endif +MNG_OPTIMIZE_MAKE_ARGS= WITH_MNG_OPTIMIZE=true +MNG_OPTIMIZE_MAKE_ARGS_OFF= WITH_MNG_OPTIMIZE=off post-install: cd ${WRKSRC}/doc/man && ${INSTALL_MAN} libmng.3 ${STAGEDIR}${PREFIX}/man/man3 \ |