summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-15 16:44:17 +0000
committerkrion <krion@FreeBSD.org>2004-07-15 16:44:17 +0000
commit93b9eb56d2c0eb83a3f545c7211d5381b8ff8a2c (patch)
tree2c5c8eb00052521bd073d3f4d042dadeda72c09a /graphics
parent83494f01a9bf4c2a7f5829858be0b20f1e523e3c (diff)
downloadFreeBSD-ports-93b9eb56d2c0eb83a3f545c7211d5381b8ff8a2c.zip
FreeBSD-ports-93b9eb56d2c0eb83a3f545c7211d5381b8ff8a2c.tar.gz
- Fix MASTER_SITES
- Support PLIST_FILES PR: ports/69113 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-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 5d6b978..d67a21b 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 2175716..0000000
--- 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 154ded3..0000000
--- 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
OpenPOWER on IntegriCloud