aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/pngnq/Makefile6
-rw-r--r--graphics/pngnq/distinfo4
-rw-r--r--graphics/pngnq/files/patch-errors.h18
3 files changed, 7 insertions, 21 deletions
diff --git a/graphics/pngnq/Makefile b/graphics/pngnq/Makefile
index 3df4d968c543..22d253bf4d68 100644
--- a/graphics/pngnq/Makefile
+++ b/graphics/pngnq/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= pngnq
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= stb@lassitu.de
COMMENT= A tool for quantizing PNG images in RGBA format
+LICENSE= BSD
+
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
@@ -20,6 +22,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS=-lpng
+USE_GNOME= pkgconfig
+
PORTDOCS= README COPYING
PLIST_FILES= bin/pngcomp bin/pngnq
MAN1= pngnq.1
diff --git a/graphics/pngnq/distinfo b/graphics/pngnq/distinfo
index 822d46d6d802..1bd3666929b5 100644
--- a/graphics/pngnq/distinfo
+++ b/graphics/pngnq/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pngnq-1.0.tar.gz) = 3413cb72af4e1a25268892ad182f6f9f516c5b67d9ff873968e5a60c293c00a7
-SIZE (pngnq-1.0.tar.gz) = 105155
+SHA256 (pngnq-1.1.tar.gz) = c147fe0a94b32d323ef60be9fdcc9b683d1a82cd7513786229ef294310b5b6e2
+SIZE (pngnq-1.1.tar.gz) = 117372
diff --git a/graphics/pngnq/files/patch-errors.h b/graphics/pngnq/files/patch-errors.h
deleted file mode 100644
index b230035ad678..000000000000
--- a/graphics/pngnq/files/patch-errors.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/errors.h.orig 2011-04-14 19:57:13.000000000 +0400
-+++ src/errors.h 2011-04-14 20:00:25.000000000 +0400
-@@ -20,9 +20,11 @@
- PNGNQ_LOG_ERR(__VA_ARGS__)\
- fflush(stderr);
-
--#define PNGNQ_WARNING(...) (fprintf(stderr,"pngnq - Warning: "));\
-- fprintf(stderr, __VA_ARGS__);\
-- PNGNQ_LOG_WARNING(__VA_ARGS__)\
-- fflush(stderr);
-+#define PNGNQ_WARNING(...) \
-+ do { \
-+ fprintf(stderr, "pngnq - Warning: " __VA_ARGS__); \
-+ PNGNQ_LOG_WARNING(__VA_ARGS__) \
-+ fflush(stderr); \
-+ } while (0)
-
- #define PNGNQ_MESSAGE(...) {if(verbose) {fprintf(stderr,__VA_ARGS__);fflush(stderr);}}