Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2016 23:23:47 +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: r408329 - head/graphics/imc
Message-ID:  <201602062323.u16NNlmi023177@repo.freebsd.org>

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

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Add NO_ARCH
  - Switch to options helpers
  - Simplify docs installation

Modified:
  head/graphics/imc/Makefile

Modified: head/graphics/imc/Makefile
==============================================================================
--- head/graphics/imc/Makefile	Sat Feb  6 23:20:11 2016	(r408328)
+++ head/graphics/imc/Makefile	Sat Feb  6 23:23:47 2016	(r408329)
@@ -10,7 +10,8 @@ MASTER_SITES=	http://www.peterverthez.ne
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Image Compiler
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
 		p5-CGI>=0:${PORTSDIR}/www/p5-CGI
@@ -18,28 +19,23 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		gmake perl5
 GNU_CONFIGURE=	yes
+NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
+PORTDOCS=	*
+PORTEXAMPLES=	*
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 
-PORTDOCS=	*
-
-DOCSRCDIR1=	${WRKSRC}
-DOC_FILES1=	AUTHORS ChangeLog NEWS README THANKS Todo
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-DOCSRCDIR2=	${WRKSRC}/doc
-DOCSDIR2=	${DOCSDIR}/doc
-DOC_FILES2=	*.html *.ref *.txt
 
-PORTEXAMPLES=	*
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
-	${MKDIR} ${STAGEDIR}${DOCSDIR2}
-	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+	cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog NEWS README THANKS Todo \
+		${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.ref *.txt ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 



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