svn commit: r307724 - head/graphics/pngcheck

Wesley Shields wxs at FreeBSD.org
Sat Nov 24 19:28:56 UTC 2012


Author: wxs
Date: Sat Nov 24 19:28:55 2012
New Revision: 307724
URL: http://svnweb.freebsd.org/changeset/ports/307724

Log:
  Convert to new options (DOCS only).
  Assign maintainer to submitter.
  
  PR:		ports/173572
  Submitted by:	nemysis <nemysis at gmx.ch>
  Feature safe:	yes

Modified:
  head/graphics/pngcheck/Makefile   (contents, props changed)

Modified: head/graphics/pngcheck/Makefile
==============================================================================
--- head/graphics/pngcheck/Makefile	Sat Nov 24 19:17:23 2012	(r307723)
+++ head/graphics/pngcheck/Makefile	Sat Nov 24 19:28:55 2012	(r307724)
@@ -10,7 +10,7 @@ PORTVERSION=	2.3.0
 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
@@ -19,12 +19,13 @@ MAKE_ARGS=	CC="${CC}" LD="${CC}" CFLAGS=
 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>


More information about the svn-ports-head mailing list