Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 20:20:57 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323910 - head/graphics/jbig2dec
Message-ID:  <201307292020.r6TKKvk1019212@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307292020.r6TKKvk1019212>