aboutsummaryrefslogtreecommitdiff
path: root/graphics/apngasm/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-08-16 15:48:16 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-08-16 15:48:16 +0000
commit4067a4a639d5de248f7f28cda54286fe500c424a (patch)
treed8a256853d5a00287a5e723410bd2b75e901c5c1 /graphics/apngasm/Makefile
parenteb6685c5b27089c0db950c833d099b059c4b9702 (diff)
downloadports-4067a4a639d5de248f7f28cda54286fe500c424a.tar.gz
ports-4067a4a639d5de248f7f28cda54286fe500c424a.zip
Notes
Diffstat (limited to 'graphics/apngasm/Makefile')
-rw-r--r--graphics/apngasm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/apngasm/Makefile b/graphics/apngasm/Makefile
index d027ebe18cf1..f2a3789ff2da 100644
--- a/graphics/apngasm/Makefile
+++ b/graphics/apngasm/Makefile
@@ -3,8 +3,8 @@
PORTNAME= apngasm
PORTVERSION= 2.9
-PORTREVISION= 1
DISTVERSIONSUFFIX=-src
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
@@ -28,6 +28,11 @@ STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
STATIC_MAKE_ENV= STATIC=1
STATIC_LIB_DEPENDS_OFF= libpng.so:${PORTSDIR}/graphics/png
+# libzopfli.a is N/A
+STATIC_LIB_DEPENDS_OFF+=libzopfli.so:${PORTSDIR}/archivers/zopfli
+STATIC_CPPFLAGS_OFF+= -I${LOCALBASE}/include/zopfli
+STATIC_LDFLAGS_OFF+= -lzopfli
+
MAKE_JOBS_UNSAFE= yes
do-install: