aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2015-08-16 23:49:02 +0800
committerdanilo <danilo@FreeBSD.org>2015-08-16 23:49:02 +0800
commit4fdde5d087d1846f0db72aa0e9822e4a4514f635 (patch)
treeced6137c2addbda95fc930f33f8d23d576e4d304 /archivers
parent2def1e093e568affc05297e5ce1ff3720a1a2f69 (diff)
downloadfreebsd-ports-gnome-4fdde5d087d1846f0db72aa0e9822e4a4514f635.tar.gz
freebsd-ports-gnome-4fdde5d087d1846f0db72aa0e9822e4a4514f635.tar.zst
freebsd-ports-gnome-4fdde5d087d1846f0db72aa0e9822e4a4514f635.zip
- Convert to system libzopfli
PR: 201935 Submitted by: jbeich
Diffstat (limited to 'archivers')
-rw-r--r--archivers/advancecomp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile
index 804566cda585..ee3379ce31d0 100644
--- a/archivers/advancecomp/Makefile
+++ b/archivers/advancecomp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= advancecomp
PORTVERSION= 1.19
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/advancemame/${PORTNAME}/${PORTVERSION}
@@ -11,7 +12,12 @@ COMMENT= Recompression utilities for .ZIP, .PNG, .MNG, and .GZ files
LICENSE= GPLv3
+LIB_DEPENDS= libzopfli.so:${PORTSDIR}/archivers/zopfli
+
USES= gmake
GNU_CONFIGURE= yes
+MAKE_ARGS= zopfli_SOURCES="" am__objects_2=""
+CPPFLAGS+= -I${LOCALBASE}/include/zopfli
+LDFLAGS+= -L${LOCALBASE}/lib -lzopfli
.include <bsd.port.mk>