Date: Sun, 27 Jun 2004 00:00:53 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68385: Update port: graphics/pngwriter to 0.4.0 Message-ID: <20040627000053.185c1ae2.tkato432@yahoo.com> Resent-Message-ID: <200406261510.i5QFAT73057317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68385 >Category: ports >Synopsis: Update port: graphics/pngwriter to 0.4.0 >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: Sat Jun 26 15:10:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.4.0 Remove file: files/patch-make.include.linux >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/pngwriter/Makefile graphics/pngwriter/Makefile --- /usr/ports/graphics/pngwriter/Makefile Fri Nov 7 18:31:04 2003 +++ graphics/pngwriter/Makefile Mon Jun 21 16:16:44 2004 @@ -7,32 +7,37 @@ # PORTNAME= pngwriter -PORTVERSION= 0.3.7 +PORTVERSION= 0.4.0 CATEGORIES= graphics devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A C++ library for creating PNG images -LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + freetype.9:${PORTSDIR}/print/freetype2 -USE_REINPLACE= yes -ALL_TARGET= libpngwriter +BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src -post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ - -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/make.include.linux +CXXFLAGS+= `freetype-config --cflags` -I${LOCALBASE}/include + +do-build: + cd ${BUILD_WRKSRC} \ + && ${CXX} ${CXXFLAGS} -c pngwriter.cc -o pngwriter.o \ + && ${AR} rv libpngwriter.a pngwriter.o do-install: ${INSTALL_DATA} ${WRKSRC}/src/pngwriter.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/src/libpngwriter.a ${PREFIX}/lib .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} + cd ${WRKSRC}/doc && ${FIND} . | \ + ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/*.cc ${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${FIND} . | \ + ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif .include <bsd.port.mk> diff -urN /usr/ports/graphics/pngwriter/distinfo graphics/pngwriter/distinfo --- /usr/ports/graphics/pngwriter/distinfo Thu Jan 29 20:26:43 2004 +++ graphics/pngwriter/distinfo Mon Jun 21 15:45:20 2004 @@ -1,2 +1,2 @@ -MD5 (pngwriter-0.3.7.tgz) = 72b4e2f09c3b4d81304fe1858b833c3a -SIZE (pngwriter-0.3.7.tgz) = 463042 +MD5 (pngwriter-0.4.0.tar.gz) = 3b3e438199440eff89f92790859abe06 +SIZE (pngwriter-0.4.0.tar.gz) = 530704 diff -urN /usr/ports/graphics/pngwriter/files/patch-make.include.linux graphics/pngwriter/files/patch-make.include.linux --- /usr/ports/graphics/pngwriter/files/patch-make.include.linux Fri Nov 7 18:31:04 2003 +++ graphics/pngwriter/files/patch-make.include.linux Thu Jan 1 09:00:00 1970 @@ -1,14 +0,0 @@ ---- make.include.linux.orig Fri Oct 17 23:39:10 2003 -+++ make.include.linux Fri Nov 7 17:23:01 2003 -@@ -1,7 +1,7 @@ --CXX=g++ --CXXFLAGS= -O3 -Wall -Wno-deprecated --INC= -I../src --LIBS= -L../src -lz -lpng -lpngwriter -+CXX?=g++ -+CXXFLAGS+= -Wall -Wno-deprecated -+INC= -I../src -I%%LOCALBASE%%/include -+LIBS= -L../src -lz -lpng -lpngwriter -L%%LOCALBASE%%/lib - INSTALL=install - DESTDIR=/usr/local - SELF=make.include.linux diff -urN /usr/ports/graphics/pngwriter/pkg-plist graphics/pngwriter/pkg-plist --- /usr/ports/graphics/pngwriter/pkg-plist Fri Nov 7 18:31:04 2003 +++ graphics/pngwriter/pkg-plist Mon Jun 21 16:09:10 2004 @@ -10,11 +10,13 @@ %%PORTDOCS%%%%DOCSDIR%%/espaniol/LEAME %%PORTDOCS%%%%DOCSDIR%%/espaniol/LICENCIA %%PORTDOCS%%%%DOCSDIR%%/espaniol/PNGwriterQuickReference_ES.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%%/english -%%PORTDOCS%%@dirrm %%DOCSDIR%%/espaniol -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/burro.png %%PORTDOCS%%%%EXAMPLESDIR%%/lyapunov.cc %%PORTDOCS%%%%EXAMPLESDIR%%/lyapunov.espaniol.cc %%PORTDOCS%%%%EXAMPLESDIR%%/pngtest.cc %%PORTDOCS%%%%EXAMPLESDIR%%/pngtest.espaniol.cc %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/espaniol +%%PORTDOCS%%@dirrm %%DOCSDIR%%/english +%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040627000053.185c1ae2.tkato432>