diff --git a/graphics/pngwriter/Makefile b/graphics/pngwriter/Makefile index ade722642200..be5707120c7e 100644 --- a/graphics/pngwriter/Makefile +++ b/graphics/pngwriter/Makefile @@ -7,10 +7,11 @@ # PORTNAME= pngwriter -PORTVERSION= 0.4.0 +PORTVERSION= 0.4.4 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 @@ -20,7 +21,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src -CXXFLAGS+= `freetype-config --cflags` -I${LOCALBASE}/include +CXXFLAGS+= `freetype-config --cflags` -I${LOCALBASE}/include/libpng do-build: cd ${BUILD_WRKSRC} \ @@ -30,11 +31,13 @@ do-build: do-install: ${INSTALL_DATA} ${WRKSRC}/src/pngwriter.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/src/libpngwriter.a ${PREFIX}/lib + @${MKDIR} ${DATADIR}/fonts + cd ${WRKSRC}/fonts && ${FIND} . | \ + ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/fonts .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} - @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC}/examples && ${FIND} . | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} diff --git a/graphics/pngwriter/distinfo b/graphics/pngwriter/distinfo index 30abf1e72037..a700f871cbf6 100644 --- a/graphics/pngwriter/distinfo +++ b/graphics/pngwriter/distinfo @@ -1,2 +1,2 @@ -MD5 (pngwriter-0.4.0.tar.gz) = 3b3e438199440eff89f92790859abe06 -SIZE (pngwriter-0.4.0.tar.gz) = 530704 +MD5 (pngwriter-0.4.4.tgz) = 530ee0fcf3a8c7d35c8788a8fd7121fe +SIZE (pngwriter-0.4.4.tgz) = 600759 diff --git a/graphics/pngwriter/pkg-plist b/graphics/pngwriter/pkg-plist index 3af9f61c926c..e20a6d55715e 100644 --- a/graphics/pngwriter/pkg-plist +++ b/graphics/pngwriter/pkg-plist @@ -16,6 +16,10 @@ lib/libpngwriter.a %%PORTDOCS%%%%EXAMPLESDIR%%/lyapunov.espaniol.cc %%PORTDOCS%%%%EXAMPLESDIR%%/pngtest.cc %%PORTDOCS%%%%EXAMPLESDIR%%/pngtest.espaniol.cc +%%DATADIR%%/fonts/FreeMonoBold.ttf +%%DATADIR%%/fonts/FreeSansBold.ttf +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%/espaniol %%PORTDOCS%%@dirrm %%DOCSDIR%%/english