aboutsummaryrefslogtreecommitdiff
path: root/graphics/fv
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-18 10:48:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-18 10:48:54 +0000
commit57330388ed3b3dcce9b2e20d35c6af387082414d (patch)
treead70fe942929d6ab4674e6215f3fb2a47218daa5 /graphics/fv
parentf9dc9695e74101f266cb7fc5ee6408c75a6e2d01 (diff)
downloadports-57330388ed3b3dcce9b2e20d35c6af387082414d.tar.gz
ports-57330388ed3b3dcce9b2e20d35c6af387082414d.zip
- Fix LICENSE
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=456606
Diffstat (limited to 'graphics/fv')
-rw-r--r--graphics/fv/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index b39617cacdcc..2d6122a7945d 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Viewer of hdr/pfm images
-LICENSE= GPLv2
+LICENSE= GPLv2+
LIB_DEPENDS= libpng.so:graphics/png
@@ -28,11 +28,7 @@ PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DEBUG DOCS
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MDEBUG}
-CXXFLAGS+= -DNDEBUG
-.endif
+DEBUG_CXXFLAGS_OFF= -DNDEBUG
post-patch:
@${REINPLACE_CMD} -e \
@@ -42,6 +38,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}