aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngcrush
diff options
context:
space:
mode:
authorJoseph S. Atkinson <jsa@FreeBSD.org>2011-06-18 19:10:28 +0000
committerJoseph S. Atkinson <jsa@FreeBSD.org>2011-06-18 19:10:28 +0000
commit6ce41d4364cc6de8fac00cd8acceac0871d048cc (patch)
tree32e715ec5524f2f2ac01655d7c6a831b58ffe861 /graphics/pngcrush
parent348af7003cd1d2feb85584346c77ffd73ce87f51 (diff)
downloadports-6ce41d4364cc6de8fac00cd8acceac0871d048cc.tar.gz
ports-6ce41d4364cc6de8fac00cd8acceac0871d048cc.zip
Notes
Diffstat (limited to 'graphics/pngcrush')
-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 0aefc826c081..bb57ec8d9715 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 20bbe6a888a7..400cf3576439 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