diff options
author | krion <krion@FreeBSD.org> | 2004-07-16 00:45:52 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-16 00:45:52 +0800 |
commit | 28e1f0e49147691123c2aa7849afe6b836981261 (patch) | |
tree | 53dc4d4a7720a710a15923be4874e9269df1aa89 /graphics/tiff2png | |
parent | 97a140600a496cc12a4c70914d41c949609684c6 (diff) | |
download | freebsd-ports-graphics-28e1f0e49147691123c2aa7849afe6b836981261.tar.gz freebsd-ports-graphics-28e1f0e49147691123c2aa7849afe6b836981261.tar.zst freebsd-ports-graphics-28e1f0e49147691123c2aa7849afe6b836981261.zip |
- Fix MASTER_SITES
- Support PLIST_FILES
PR: ports/69115
Submitted by: Ports Fury
Diffstat (limited to 'graphics/tiff2png')
-rw-r--r-- | graphics/tiff2png/Makefile | 11 | ||||
-rw-r--r-- | graphics/tiff2png/files/patch-aa | 35 | ||||
-rw-r--r-- | graphics/tiff2png/pkg-plist | 3 |
3 files changed, 10 insertions, 39 deletions
diff --git a/graphics/tiff2png/Makefile b/graphics/tiff2png/Makefile index 62358efe121..8178838e8ac 100644 --- a/graphics/tiff2png/Makefile +++ b/graphics/tiff2png/Makefile @@ -9,8 +9,9 @@ PORTNAME= tiff2png PORTVERSION= 0.91 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= http://www.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= Converts TIFF images to PNG format @@ -19,8 +20,16 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ png.5:${PORTSDIR}/graphics/png MAKEFILE= Makefile.unx +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ALL_TARGET= tiff2png +PORTDOCS= README +PLIST_FILES= bin/tiff2png + +CFLAGS+= -DINVERT_MINISWHITE -DFAXPECT -DDEFAULT_DESTDIR_IS_CURDIR \ + -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin .if !defined(NOPORTDOCS) diff --git a/graphics/tiff2png/files/patch-aa b/graphics/tiff2png/files/patch-aa deleted file mode 100644 index 6ec4ab106a1..00000000000 --- a/graphics/tiff2png/files/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ ---- Makefile.unx.orig Wed Jul 3 21:31:37 2002 -+++ Makefile.unx Wed Jul 3 21:32:29 2002 -@@ -3,9 +3,9 @@ - # Copyright 2002 Greg Roelofs - - #CC=cc --CC=gcc --OPTIMFLAGS = -O3 --DEBUGFLAGS = -g -Wall -W -+#CC=gcc -+#OPTIMFLAGS = -O3 -+#DEBUGFLAGS = -g -Wall -W - #COPY=cp - COPY=/bin/cp -p - DEL=/bin/rm -f -@@ -60,16 +60,9 @@ - - INSTALL=/usr/local - --CFLAGS=$(TIFF_VERSION) $(OPTION_FLAGS) $(OPTIMFLAGS) $(DEBUGFLAGS) \ -- -I$(TIFFINC) \ -- -I$(PNGINC) \ -- -I$(ZINC) --LDFLAGS=-L. \ -- -L$(LIBTIFF) -ltiff \ -- -L$(LIBJPEG) -ljpeg \ -- -L$(LIBPNG) -lpng \ -- -L$(ZLIB) -lz \ -- -lm -+CFLAGS+=$(TIFF_VERSION) -DFAXPECT $(MIN_INVERT) $(OPTIMFLAGS) $(DEBUGFLAGS) \ -+ -I${LOCALBASE}/include -+LDFLAGS=-L. -L${LOCALBASE}/lib -lpng -lz -ltiff -ljpeg -lm - SLDFLAGS=-L. \ - $(LIBTIFF)/libtiff.a \ - $(LIBJPEG)/libjpeg.a \ diff --git a/graphics/tiff2png/pkg-plist b/graphics/tiff2png/pkg-plist deleted file mode 100644 index 4d802422e46..00000000000 --- a/graphics/tiff2png/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/tiff2png -%%PORTDOCS%%share/doc/tiff2png/README -%%PORTDOCS%%@dirrm share/doc/tiff2png |