svn commit: r307977 - head/graphics/fv

Wesley Shields wxs at FreeBSD.org
Thu Nov 29 19:45:24 UTC 2012


Author: wxs
Date: Thu Nov 29 19:45:24 2012
New Revision: 307977
URL: http://svnweb.freebsd.org/changeset/ports/307977

Log:
  Convert to new options.
  Cleanup COMMENT.
  
  PR:		ports/173552
  Submitted by:	nemysis <nemysis at gmx.ch>
  Feature safe:	yes

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

Modified: head/graphics/fv/Makefile
==============================================================================
--- head/graphics/fv/Makefile	Thu Nov 29 19:34:18 2012	(r307976)
+++ head/graphics/fv/Makefile	Thu Nov 29 19:45:24 2012	(r307977)
@@ -13,7 +13,7 @@ MASTER_SITES=	http://www.eaflux.com/fv/s
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A viewer of hdr/pfm images
+COMMENT=	Viewer of hdr/pfm images
 
 LICENSE=	GPLv2
 
@@ -35,6 +35,7 @@ PORTDOCS=	AUTHORS ChangeLog README
 PLIST_FILES=	bin/${PORTNAME}
 
 .include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ((${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505)
 LIB_DEPENDS+=	lzma.5:${PORTSDIR}/archivers/xz
@@ -56,9 +57,10 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list