summaryrefslogtreecommitdiff
path: root/graphics/pngcheck
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-15 16:44:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-15 16:44:17 +0000
commit59feecdb4afaae478640514e50a3396e01f292ad (patch)
tree967c26e896867fd601a4667f05679ccfc85d7447 /graphics/pngcheck
parent- Add WITHOUT_X11 knob (diff)
- Fix MASTER_SITES
- Support PLIST_FILES PR: ports/69113 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=113728
Diffstat (limited to 'graphics/pngcheck')
-rw-r--r--graphics/pngcheck/Makefile11
-rw-r--r--graphics/pngcheck/files/patch-aa21
-rw-r--r--graphics/pngcheck/pkg-plist4
3 files changed, 8 insertions, 28 deletions
diff --git a/graphics/pngcheck/Makefile b/graphics/pngcheck/Makefile
index 5d6b978bc853..d67a21b69e3f 100644
--- a/graphics/pngcheck/Makefile
+++ b/graphics/pngcheck/Makefile
@@ -8,20 +8,25 @@
PORTNAME= pngcheck
PORTVERSION= 1.99.3
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://swrinde.nde.swri.edu/pub/png/applications/
+MASTER_SITE_SUBDIR= png-mng
MAINTAINER= ports@FreeBSD.org
COMMENT= Checks the integrity of PNG images
MAKEFILE= Makefile.unx
+MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz"
+
+PORTDOCS= CHANGELOG README
+PLIST_FILES= bin/pngcheck
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/pngcheck/files/patch-aa b/graphics/pngcheck/files/patch-aa
deleted file mode 100644
index 2175716c3ec8..000000000000
--- a/graphics/pngcheck/files/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.unx.orig Fri Nov 19 12:39:03 1999
-+++ Makefile.unx Wed Nov 22 21:28:00 2000
-@@ -23,13 +23,13 @@
- #ZLIB = -L$(ZPATH) -lz
- ZLIB = $(ZPATH)/libz.a
-
--INCS = $(ZINC)
--LIBS = $(ZLIB)
-+INCS =
-+LIBS = -lz
-
--CC = gcc
--LD = gcc
-+CC ?= gcc
-+LD = $(CC)
- RM = rm
--CFLAGS = -O3 -Wall $(INCS) -DUSE_ZLIB
-+CFLAGS += $(INCS) -DUSE_ZLIB
- # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
- O = .o
- E =
diff --git a/graphics/pngcheck/pkg-plist b/graphics/pngcheck/pkg-plist
deleted file mode 100644
index 154ded353c82..000000000000
--- a/graphics/pngcheck/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/pngcheck
-%%PORTDOCS%%share/doc/pngcheck/CHANGELOG
-%%PORTDOCS%%share/doc/pngcheck/README
-%%PORTDOCS%%@dirrm share/doc/pngcheck