Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2012 19:45:24 +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: r307977 - head/graphics/fv
Message-ID:  <201211291945.qATJjOoN044738@svn.freebsd.org>

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



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