aboutsummaryrefslogtreecommitdiff
path: root/graphics/fv
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2012-11-29 19:45:24 +0000
committerWesley Shields <wxs@FreeBSD.org>2012-11-29 19:45:24 +0000
commitf1bd159ec08ea8bfce0a11d5e0d734c9e551e021 (patch)
tree939d2679059ffc7fca6f99c66e688a7e9490c5e6 /graphics/fv
parent10c4f95689163de70ed63d7df33a4a82cbb4715e (diff)
downloadports-f1bd159ec08ea8bfce0a11d5e0d734c9e551e021.tar.gz
ports-f1bd159ec08ea8bfce0a11d5e0d734c9e551e021.zip
Convert to new options.
Cleanup COMMENT. PR: ports/173552 Submitted by: nemysis <nemysis@gmx.ch> Feature safe: yes
Notes
Notes: svn path=/head/; revision=307977
Diffstat (limited to 'graphics/fv')
-rw-r--r--graphics/fv/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index b55a23e8e542..ba969664d64a 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.eaflux.com/fv/sources/
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>