Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 01:00:27 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69115: Update port: graphics/tiff2png
Message-ID:  <20040716010027.54a369d2.tkato432@yahoo.com>
Resent-Message-ID: <200407151610.i6FGASMe073528@freefall.freebsd.org>

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

>Number:         69115
>Category:       ports
>Synopsis:       Update port: graphics/tiff2png
>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:28 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/tiff2png/Makefile graphics/tiff2png/Makefile
--- /usr/ports/graphics/tiff2png/Makefile	Sat Apr 12 22:49:45 2003
+++ graphics/tiff2png/Makefile	Thu Jul 15 02:56:31 2004
@@ -9,8 +9,9 @@
 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,7 +20,15 @@
 		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
diff -urN /usr/ports/graphics/tiff2png/files/patch-aa graphics/tiff2png/files/patch-aa
--- /usr/ports/graphics/tiff2png/files/patch-aa	Tue Sep 10 20:12:50 2002
+++ graphics/tiff2png/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -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 -urN /usr/ports/graphics/tiff2png/pkg-plist graphics/tiff2png/pkg-plist
--- /usr/ports/graphics/tiff2png/pkg-plist	Mon Dec 24 11:15:50 2001
+++ graphics/tiff2png/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-bin/tiff2png
-%%PORTDOCS%%share/doc/tiff2png/README
-%%PORTDOCS%%@dirrm share/doc/tiff2png
>Release-Note:
>Audit-Trail:
>Unformatted:



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