svn commit: r408329 - head/graphics/imc
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Feb 6 23:23:48 UTC 2016
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 at 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})
More information about the svn-ports-head
mailing list