aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-03-01 21:17:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-03-01 21:17:57 +0800
commit986a2c5c476cb0a22c1cffc62bc27373e0836df9 (patch)
tree2a1fc43a0398d172376df60344af2c59cf3ab0be /graphics
parenta58eea2893659459aaff7dde56bf819ec112eda4 (diff)
downloadfreebsd-ports-gnome-986a2c5c476cb0a22c1cffc62bc27373e0836df9.tar.gz
freebsd-ports-gnome-986a2c5c476cb0a22c1cffc62bc27373e0836df9.tar.zst
freebsd-ports-gnome-986a2c5c476cb0a22c1cffc62bc27373e0836df9.zip
- Add LICENSE_FILE
- Fix shebangs - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'graphics')
-rw-r--r--graphics/commons-utilities/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/commons-utilities/Makefile b/graphics/commons-utilities/Makefile
index 832286e6fc69..46aa0143ae26 100644
--- a/graphics/commons-utilities/Makefile
+++ b/graphics/commons-utilities/Makefile
@@ -3,7 +3,7 @@
PORTNAME= commons-utilities
PORTVERSION= 1.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://devio.us/~dereckson/software/commons-utilities/
@@ -11,6 +11,7 @@ MAINTAINER= dereckson@gmail.com
COMMENT= Wikimedia Commons (MediaWiki) utilities for bulk image uploading
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt
RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \
@@ -20,9 +21,10 @@ RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \
exiv2:graphics/exiv2
USES= jpeg perl5 python:2.7 shebangfix
-SHEBANG_FILES= commons-csv-creator
+SHEBANG_FILES= commons-csv-creator commons-upload
USE_PERL5= run
NO_BUILD= yes
+NO_ARCH= yes
PLIST_FILES= bin/commons-csv-creator bin/commons-upload
PORTDOCS= README
@@ -32,6 +34,8 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/commons-csv-creator ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/commons-upload ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}