ports/69113: Update port: graphics/pngcheck
KATO Tsuguru
tkato432 at yahoo.com
Thu Jul 15 16:10:28 UTC 2004
>Number: 69113
>Category: ports
>Synopsis: Update port: graphics/pngcheck
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 15 16:10:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support PLIST_FILES
Remove file:
files/patch-aa
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/pngcheck/Makefile graphics/pngcheck/Makefile
--- /usr/ports/graphics/pngcheck/Makefile Sat Apr 12 22:49:21 2003
+++ graphics/pngcheck/Makefile Thu Jul 15 03:01:49 2004
@@ -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 at 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 -urN /usr/ports/graphics/pngcheck/files/patch-aa graphics/pngcheck/files/patch-aa
--- /usr/ports/graphics/pngcheck/files/patch-aa Mon Nov 27 00:30:19 2000
+++ graphics/pngcheck/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -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 -urN /usr/ports/graphics/pngcheck/pkg-plist graphics/pngcheck/pkg-plist
--- /usr/ports/graphics/pngcheck/pkg-plist Mon Dec 24 11:15:46 2001
+++ graphics/pngcheck/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1,4 +0,0 @@
-bin/pngcheck
-%%PORTDOCS%%share/doc/pngcheck/CHANGELOG
-%%PORTDOCS%%share/doc/pngcheck/README
-%%PORTDOCS%%@dirrm share/doc/pngcheck
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list