Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 01:00:22 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69113: Update port: graphics/pngcheck
Message-ID:  <20040716010022.75e38dc2.tkato432@yahoo.com>
Resent-Message-ID: <200407151610.i6FGASk7073502@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040716010022.75e38dc2.tkato432>