aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngcrush
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-04-25 16:02:50 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-04-25 16:02:50 +0000
commitf5581f9e51c1461444ce7f5ccd8fbdb9f411ac8b (patch)
tree319ed5d339a443d32655c64db06f093911e59d35 /graphics/pngcrush
parent8551ec039f04ac10f46de5d03ec0aef4e2b15a97 (diff)
downloadports-f5581f9e51c1461444ce7f5ccd8fbdb9f411ac8b.tar.gz
ports-f5581f9e51c1461444ce7f5ccd8fbdb9f411ac8b.zip
Notes
Diffstat (limited to 'graphics/pngcrush')
-rw-r--r--graphics/pngcrush/Makefile11
-rw-r--r--graphics/pngcrush/distinfo6
-rw-r--r--graphics/pngcrush/files/patch-aa16
3 files changed, 11 insertions, 22 deletions
diff --git a/graphics/pngcrush/Makefile b/graphics/pngcrush/Makefile
index 87a432f5f202..8f001afc0837 100644
--- a/graphics/pngcrush/Makefile
+++ b/graphics/pngcrush/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pngcrush
-PORTVERSION= 1.5.10
+PORTVERSION= 1.6.3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pmt
@@ -14,10 +14,15 @@ MASTER_SITE_SUBDIR= pmt
MAINTAINER= ports@FreeBSD.org
COMMENT= An optimizer for PNG files
-MAKEFILE= Makefile.gcc
+USE_BZIP2= yes
+USE_GMAKE= yes
+MAKEFILE= Makefile.ext-zlib
+MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LIBS="-lz -lm" \
+ ZINC="" ZLIB=""
+
PLIST_FILES= bin/pngcrush
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pngcrush-zlib ${PREFIX}/bin/pngcrush
.include <bsd.port.mk>
diff --git a/graphics/pngcrush/distinfo b/graphics/pngcrush/distinfo
index a9207ead0e87..9bd15796fa2a 100644
--- a/graphics/pngcrush/distinfo
+++ b/graphics/pngcrush/distinfo
@@ -1,3 +1,3 @@
-MD5 (pngcrush-1.5.10.tar.gz) = 6118ef30738095223c2c01500cf04519
-SHA256 (pngcrush-1.5.10.tar.gz) = ebd66e4683db43a839a7a21a61ac16bb69c85620506f0295997dfaea3b4e3fdb
-SIZE (pngcrush-1.5.10.tar.gz) = 313220
+MD5 (pngcrush-1.6.3.tar.bz2) = e98121099fd429bc5ff76de286f522ff
+SHA256 (pngcrush-1.6.3.tar.bz2) = 3cb021355883671748d226e995b30d7864528c1ae9a7ec7f18e14fd842066bb4
+SIZE (pngcrush-1.6.3.tar.bz2) = 293902
diff --git a/graphics/pngcrush/files/patch-aa b/graphics/pngcrush/files/patch-aa
deleted file mode 100644
index 84f7b2635ecc..000000000000
--- a/graphics/pngcrush/files/patch-aa
+++ /dev/null
@@ -1,16 +0,0 @@
---- Makefile.gcc.orig Fri Jun 30 17:53:36 2000
-+++ Makefile.gcc Sat Jul 1 19:46:33 2000
-@@ -10,10 +10,10 @@
-
- # macros --------------------------------------------------------------------
-
--CC = gcc
--LD = gcc
-+CC?= gcc
-+LD = $(CC)
- RM = rm -f
--CFLAGS = -I. -O -Wall
-+CFLAGS+= -I. -Wall
- # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
- LDFLAGS =
- O = .o