Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 21:36:45 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173586: [PATCH] graphics/pngcheck: OptionsNG, take maintainership
Message-ID:  <20121112203649.A55FE5AF@hub.freebsd.org>
Resent-Message-ID: <201211122040.qACKe13f032197@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173586
>Category:       ports
>Synopsis:       [PATCH] graphics/pngcheck: OptionsNG, 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 20:40:01 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:
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}

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:

--- pngcheck-2.3.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/pngcheck/Makefile ./Makefile
--- /usr/ports/graphics/pngcheck/Makefile	2009-08-22 02:23:04.000000000 +0200
+++ ./Makefile	2012-11-12 02:44:16.000000000 +0100
@@ -10,21 +10,24 @@
 CATEGORIES=	graphics
 MASTER_SITES=	SF/png-mng/${PORTNAME}/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Checks the integrity of PNG images
 
 MAKEFILE=	Makefile.unx
 MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz"
 
-PORTDOCS=	CHANGELOG README
 PLIST_FILES=	bin/pngcheck
 
+PORTDOCS=	CHANGELOG README
+
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pngcheck ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
--- pngcheck-2.3.0.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?20121112203649.A55FE5AF>