svn commit: r456606 - head/graphics/fv
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Dec 18 10:48:56 UTC 2017
Author: amdmi3
Date: Mon Dec 18 10:48:54 2017
New Revision: 456606
URL: https://svnweb.freebsd.org/changeset/ports/456606
Log:
- Fix LICENSE
- Switch to options helpers
Modified:
head/graphics/fv/Makefile
Modified: head/graphics/fv/Makefile
==============================================================================
--- head/graphics/fv/Makefile Mon Dec 18 10:47:45 2017 (r456605)
+++ head/graphics/fv/Makefile Mon Dec 18 10:48:54 2017 (r456606)
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
COMMENT= Viewer of hdr/pfm images
-LICENSE= GPLv2
+LICENSE= GPLv2+
LIB_DEPENDS= libpng.so:graphics/png
@@ -28,12 +28,8 @@ PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DEBUG DOCS
-.include <bsd.port.options.mk>
+DEBUG_CXXFLAGS_OFF= -DNDEBUG
-.if ! ${PORT_OPTIONS:MDEBUG}
-CXXFLAGS+= -DNDEBUG
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|^CXX=|CXX?=| ; \
@@ -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}
More information about the svn-ports-all
mailing list