Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 19:28:55 +0000 (UTC)
From:      Wesley Shields <wxs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307724 - head/graphics/pngcheck
Message-ID:  <201211241928.qAOJStuC010711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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=
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211241928.qAOJStuC010711>