svn commit: r323910 - head/graphics/jbig2dec
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jul 29 20:20:57 UTC 2013
Author: bapt
Date: Mon Jul 29 20:20:56 2013
New Revision: 323910
URL: http://svnweb.freebsd.org/changeset/ports/323910
Log:
Remove now useless MAKE_JOB_SAFE
Use options helpers for png
Use new LIB_DEPENDS format
Modified:
head/graphics/jbig2dec/Makefile
Modified: head/graphics/jbig2dec/Makefile
==============================================================================
--- head/graphics/jbig2dec/Makefile Mon Jul 29 20:17:36 2013 (r323909)
+++ head/graphics/jbig2dec/Makefile Mon Jul 29 20:20:56 2013 (r323910)
@@ -14,7 +14,6 @@ COMMENT= Decoder implementation of the J
USE_XZ= yes:src
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= PNG TESTS
OPTIONS_DEFAULT= PNG
@@ -23,18 +22,15 @@ TESTS_DESC= Download and use test-images
MAN1= jbig2dec.1
-MAKE_JOBS_SAFE= yes
EXTRACT_AFTER_ARGS+= --exclude sha1.h --exclude 'getopt*'
LICENSE= GPLv3
-.include <bsd.port.options.mk>
+PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+PNG_CONFIGURE_ON= --with-libpng=${LOCALBASE}
+PNG_CFLAGS= -I${LOCALBASE}/include/libpng15
-.if ${PORT_OPTIONS:MPNG}
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
-CONFIGURE_ARGS+=--with-libpng=${LOCALBASE}
-CFLAGS+= -I${LOCALBASE}/include/libpng15
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
MASTER_SITES+= http://jbig2dec.sourceforge.net/ubc/:tests
More information about the svn-ports-all
mailing list