Index: head/graphics/pngwriter/files/patch-make.include.linux =================================================================== --- head/graphics/pngwriter/files/patch-make.include.linux (revision 112395) +++ head/graphics/pngwriter/files/patch-make.include.linux (nonexistent) @@ -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 Property changes on: head/graphics/pngwriter/files/patch-make.include.linux ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/graphics/pngwriter/Makefile =================================================================== --- head/graphics/pngwriter/Makefile (revision 112395) +++ head/graphics/pngwriter/Makefile (revision 112396) @@ -1,38 +1,43 @@ # ex:ts=8 # Ports collection makefile for: pngwriter # Date created: Nov 7, 2003 # Whom: ijliao # # $FreeBSD$ # 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 Property changes on: head/graphics/pngwriter/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/graphics/pngwriter/distinfo =================================================================== --- head/graphics/pngwriter/distinfo (revision 112395) +++ head/graphics/pngwriter/distinfo (revision 112396) @@ -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 Property changes on: head/graphics/pngwriter/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/graphics/pngwriter/pkg-plist =================================================================== --- head/graphics/pngwriter/pkg-plist (revision 112395) +++ head/graphics/pngwriter/pkg-plist (revision 112396) @@ -1,20 +1,22 @@ include/pngwriter.h lib/libpngwriter.a %%PORTDOCS%%%%DOCSDIR%%/english/CHANGES %%PORTDOCS%%%%DOCSDIR%%/english/EXAMPLES %%PORTDOCS%%%%DOCSDIR%%/english/LICENSE %%PORTDOCS%%%%DOCSDIR%%/english/PNGwriterQuickReference_EN.pdf %%PORTDOCS%%%%DOCSDIR%%/english/README %%PORTDOCS%%%%DOCSDIR%%/espaniol/CAMBIOS %%PORTDOCS%%%%DOCSDIR%%/espaniol/EJEMPLOS %%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%% Property changes on: head/graphics/pngwriter/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property