From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 12 21:40:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A340DF0B for ; Mon, 12 Nov 2012 21:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7869E8FC17 for ; Mon, 12 Nov 2012 21:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qACLe0X2035466 for ; Mon, 12 Nov 2012 21:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qACLe0Ch035465; Mon, 12 Nov 2012 21:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 12 Nov 2012 21:40:00 GMT Resent-Message-Id: <201211122140.qACLe0Ch035465@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8C8FE3C for ; Mon, 12 Nov 2012 21:36:24 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 457D78FC14 for ; Mon, 12 Nov 2012 21:36:23 +0000 (UTC) Received: (qmail invoked by alias); 12 Nov 2012 21:36:22 -0000 Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201] by mail.gmx.net (mp041) with SMTP; 12 Nov 2012 22:36:22 +0100 Received: by something.email.com (sSMTP sendmail emulation); Mon, 12 Nov 2012 22:36:21 +0100 Message-Id: <20121112213624.D8C8FE3C@hub.freebsd.org> Date: Mon, 12 Nov 2012 22:36:21 +0100 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173588: [PATCH] graphics/pngwriter: OptionsNG, Comment, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 21:40:00 -0000 >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 + 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 + 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 --- pngwriter-0.5.4_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: