diff options
author | wxs <wxs@FreeBSD.org> | 2012-11-30 03:45:24 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2012-11-30 03:45:24 +0800 |
commit | df882b8068010691ba2df2fc46d3bf91eb8fbfc7 (patch) | |
tree | 939d2679059ffc7fca6f99c66e688a7e9490c5e6 /graphics/fv | |
parent | a1074ce30af17461de1b10d6201447251a8dc12c (diff) | |
download | freebsd-ports-gnome-df882b8068010691ba2df2fc46d3bf91eb8fbfc7.tar.gz freebsd-ports-gnome-df882b8068010691ba2df2fc46d3bf91eb8fbfc7.tar.zst freebsd-ports-gnome-df882b8068010691ba2df2fc46d3bf91eb8fbfc7.zip |
Convert to new options.
Cleanup COMMENT.
PR: ports/173552
Submitted by: nemysis <nemysis@gmx.ch>
Feature safe: yes
Diffstat (limited to 'graphics/fv')
-rw-r--r-- | graphics/fv/Makefile | 12 |
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> |