Date: Mon, 12 Nov 2012 22:36:21 +0100 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/173588: [PATCH] graphics/pngwriter: OptionsNG, Comment, take maintainership Message-ID: <20121112213624.D8C8FE3C@hub.freebsd.org> Resent-Message-ID: <201211122140.qACLe0Ch035465@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173588 >Category: ports >Synopsis: [PATCH] graphics/pngwriter: OptionsNG, Comment, take maintainership >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: Mon Nov 12 21:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: - Take maintainership Makefile changed: +COMMENT= C++ library for creating PNG images + freetype:${PORTSDIR}/print/freetype2 +WRKSRC= ${WRKDIR}/${DISTNAME} +.include <bsd.port.options.mk> + cd ${WRKSRC}/src \ Changed and refined: do-install: Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: portlint -A looks fine. port test: clean Can't give build log, because RedPorts not works at the time. >Fix: --- pngwriter-0.5.4_3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/pngwriter/Makefile ./Makefile --- /usr/ports/graphics/pngwriter/Makefile 2012-07-26 07:40:22.000000000 +0200 +++ ./Makefile 2012-11-12 22:27:56.000000000 +0100 @@ -8,24 +8,22 @@ PORTNAME= pngwriter PORTVERSION= 0.5.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= A C++ library for creating PNG images +MAINTAINER= nemysis@gmx.ch +COMMENT= C++ library for creating PNG images LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - freetype.9:${PORTSDIR}/print/freetype2 + freetype:${PORTSDIR}/print/freetype2 USE_PKGCONFIG= yes -BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src +WRKSRC= ${WRKDIR}/${DISTNAME} CXXFLAGS+= `pkg-config --cflags freetype2 libpng15` -I${LOCALBASE}/include -PORTDOCS= * -PORTEXAMPLES= * PLIST_FILES= include/pngwriter.h \ lib/libpngwriter.a \ %%DATADIR%%/fonts/FreeMonoBold.ttf \ @@ -33,24 +31,32 @@ PLIST_DIRS= %%DATADIR%%/fonts \ %%DATADIR%% +PORTDOCS= * +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + post-extract: @${FIND} ${WRKSRC} -name "\.*" -delete do-build: - cd ${BUILD_WRKSRC} \ + cd ${WRKSRC}/src \ && ${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 - @${MKDIR} ${DATADIR}/fonts - @(cd ${WRKSRC}/fonts && ${COPYTREE_SHARE} . ${DATADIR}/fonts) -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} fonts ${DATADIR}) + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}) +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif .include <bsd.port.mk> --- pngwriter-0.5.4_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121112213624.D8C8FE3C>