Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2016 23:20:11 +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: r408328 - head/graphics/separate
Message-ID:  <201602062320.u16NKB9j020397@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Feb  6 23:20:11 2016
New Revision: 408328
URL: https://svnweb.freebsd.org/changeset/ports/408328

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Switch to options helpers
  - Don't cat pkg-message from Makefile

Modified:
  head/graphics/separate/Makefile

Modified: head/graphics/separate/Makefile
==============================================================================
--- head/graphics/separate/Makefile	Sat Feb  6 23:20:05 2016	(r408327)
+++ head/graphics/separate/Makefile	Sat Feb  6 23:20:11 2016	(r408328)
@@ -12,9 +12,8 @@ DISTNAME=	${PORTNAME}+-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	CMYK plugin for The GIMP
 
-LICENSE=	GPLv2
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	gccmakedep:${PORTSDIR}/devel/gccmakedep
 LIB_DEPENDS=	liblcms.so.1:${PORTSDIR}/graphics/lcms \
@@ -35,10 +34,10 @@ PLIST_FILES+=	share/locale/${lang}/LC_ME
 PORTDOCS=	README*
 PORTEXAMPLES=	qproof.scm qexport.scm
 
-MAKE_ENV+=	TARGETS="${BIN_TARGETS}" \
+MAKE_ENV=	TARGETS="${BIN_TARGETS}" \
 		PREFIX=${STAGEDIR}${PREFIX}
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
 	@${REINPLACE_CMD} \
@@ -53,15 +52,14 @@ do-install:
 .for lang in ${L10N_TARGETS}
 	${INSTALL_DATA} ${WRKSRC}/po/${lang}.gmo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/gimp20-separate.mo
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	cd ${WRKSRC}/sample-scripts && \
-	    ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
-	@${CAT} pkg-message
+		${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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