aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsa <jsa@FreeBSD.org>2011-06-19 03:10:28 +0800
committerjsa <jsa@FreeBSD.org>2011-06-19 03:10:28 +0800
commit0121672a9f40a1538a1288726276ef600094530a (patch)
tree09b7ca7bdf039a9450c354a509be2941d18a86c0
parent324b59079fd7aa8e6a5403057989ddf6a5769f4e (diff)
downloadfreebsd-ports-graphics-0121672a9f40a1538a1288726276ef600094530a.tar.gz
freebsd-ports-graphics-0121672a9f40a1538a1288726276ef600094530a.tar.zst
freebsd-ports-graphics-0121672a9f40a1538a1288726276ef600094530a.zip
Update to 1.7.15. Make build use system libpng from now on.
Approved by: kwm (mentor)
-rw-r--r--graphics/pngcrush/Makefile14
-rw-r--r--graphics/pngcrush/distinfo4
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile
index 0aefc826c08..bb57ec8d971 100644
--- a/graphics/pngcrush/Makefile
+++ b/graphics/pngcrush/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= pngcrush
-PORTVERSION= 1.7.14
+PORTVERSION= 1.7.15
CATEGORIES= graphics
-MASTER_SITES= SF/pmt/${PORTNAME}/00-${PORTVERSION}
+MASTER_SITES= SF/pmt/${PORTNAME}/${PORTVERSION}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-nolib
MAINTAINER= jsa@FreeBSD.org
COMMENT= An optimizer for PNG files
-USE_BZIP2= yes
+LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+
+USE_XZ= yes
USE_GMAKE= yes
-CFLAGS+= -DPNGCRUSH_COUNT_COLORS
-MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}"
+CFLAGS+= -DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/pngcrush
diff --git a/graphics/pngcrush/distinfo b/graphics/pngcrush/distinfo
index 20bbe6a888a..400cf357643 100644
--- a/graphics/pngcrush/distinfo
+++ b/graphics/pngcrush/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pngcrush-1.7.14.tar.bz2) = 187f7246d4f141a9ef84f69c2ae4194afdbd0744c9d05040d38bed0b0e9a0440
-SIZE (pngcrush-1.7.14.tar.bz2) = 315020
+SHA256 (pngcrush-1.7.15-nolib.tar.xz) = 9c2e14f2f678f4bf33f64897f023b8b01f4f98b383a4bd413279d302b4d30dec
+SIZE (pngcrush-1.7.15-nolib.tar.xz) = 47584