Date: Fri, 14 Feb 2014 09:59:19 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344177 - head/graphics/libmng Message-ID: <201402140959.s1E9xJlN062742@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Fri Feb 14 09:59:19 2014 New Revision: 344177 URL: http://svnweb.freebsd.org/changeset/ports/344177 QAT: https://qat.redports.org/buildarchive/r344177/ Log: - Allow packaging as a regular user - New LIB_DEPENDS syntax - Use OPTIONS helpers Modified: head/graphics/libmng/Makefile Modified: head/graphics/libmng/Makefile ============================================================================== --- head/graphics/libmng/Makefile Fri Feb 14 09:59:03 2014 (r344176) +++ head/graphics/libmng/Makefile Fri Feb 14 09:59:19 2014 (r344177) @@ -11,8 +11,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME} 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 opti 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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402140959.s1E9xJlN062742>