aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2012-11-25 03:28:55 +0800
committerwxs <wxs@FreeBSD.org>2012-11-25 03:28:55 +0800
commita9fa130bba97b90648922de7f5e0fab1cdc71c10 (patch)
tree85433693eec2411ef4983e1e76ffe1a2728c8ade /graphics
parent533418e7ba6f10ee82e7f839d3aea00737820441 (diff)
downloadfreebsd-ports-gnome-a9fa130bba97b90648922de7f5e0fab1cdc71c10.tar.gz
freebsd-ports-gnome-a9fa130bba97b90648922de7f5e0fab1cdc71c10.tar.zst
freebsd-ports-gnome-a9fa130bba97b90648922de7f5e0fab1cdc71c10.zip
Convert to new options (DOCS only).
Assign maintainer to submitter. PR: ports/173572 Submitted by: nemysis <nemysis@gmx.ch> Feature safe: yes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pngcheck/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/pngcheck/Makefile b/graphics/pngcheck/Makefile
index c97d82346733..0288e6aeb7cd 100644
--- a/graphics/pngcheck/Makefile
+++ b/graphics/pngcheck/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 2.3.0
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
@@ -19,12 +19,13 @@ MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS} -DUSE_ZLIB" LIBS="-lz"
PORTDOCS= CHANGELOG README
PLIST_FILES= bin/pngcheck
+.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>