Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 10:48:55 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456606 - head/graphics/fv
Message-ID:  <201712181048.vBIAmt60041328@repo.freebsd.org>

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



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