svn commit: r344177 - head/graphics/libmng

Antoine Brodin antoine at FreeBSD.org
Fri Feb 14 09:59:20 UTC 2014


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 at 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 \


More information about the svn-ports-all mailing list