diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-29 20:20:56 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-07-29 20:20:56 +0000 |
commit | b9d2535959c6b4931bd25928f1a7262cc8b81219 (patch) | |
tree | c08c916967e54f6c3df3cf050323520014908361 | |
parent | Trim header (diff) |
Remove now useless MAKE_JOB_SAFE
Use options helpers for png
Use new LIB_DEPENDS format
-rw-r--r-- | graphics/jbig2dec/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile index ed3ed0d0de3c..43a58c07d270 100644 --- a/graphics/jbig2dec/Makefile +++ b/graphics/jbig2dec/Makefile @@ -14,7 +14,6 @@ COMMENT= Decoder implementation of the JBIG2 image compression format 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 for post-build testing 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 |