ports/173572: [PATCH] graphics/pngcheck: OptionsNG, take maintainership
nemysis
nemysis at gmx.ch
Mon Nov 12 01:50:01 UTC 2012
>Number: 173572
>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 01:50: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:
+.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 at FreeBSD.org
+MAINTAINER= nemysis at 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:
More information about the freebsd-ports-bugs
mailing list