aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngcheck
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2012-11-24 19:28:55 +0000
committerWesley Shields <wxs@FreeBSD.org>2012-11-24 19:28:55 +0000
commit73995d51b31b191794abd3b7121d1e5c37c00d0a (patch)
tree85433693eec2411ef4983e1e76ffe1a2728c8ade /graphics/pngcheck
parent62b351d13064882b89b7e8dfa03fcf8a10234dca (diff)
downloadports-73995d51b31b191794abd3b7121d1e5c37c00d0a.tar.gz
ports-73995d51b31b191794abd3b7121d1e5c37c00d0a.zip
Notes
Diffstat (limited to 'graphics/pngcheck')
-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>