From 59feecdb4afaae478640514e50a3396e01f292ad Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Thu, 15 Jul 2004 16:44:17 +0000 Subject: - Fix MASTER_SITES - Support PLIST_FILES PR: ports/69113 Submitted by: Ports Fury --- graphics/pngcheck/Makefile | 11 ++++++++--- graphics/pngcheck/files/patch-aa | 21 --------------------- graphics/pngcheck/pkg-plist | 4 ---- 3 files changed, 8 insertions(+), 28 deletions(-) delete mode 100644 graphics/pngcheck/files/patch-aa delete mode 100644 graphics/pngcheck/pkg-plist (limited to 'graphics/pngcheck') 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 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 -- cgit v1.2.3