diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2010-10-08 07:19:54 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2010-10-08 07:19:54 +0000 |
commit | 856a994e30ebfcdffc3fc543f0d42ca26a571d04 (patch) | |
tree | 14f4f43c7771454cf6a3988683d073221d0636d7 /graphics/commons-utilities | |
parent | 5bb9280e83d373e5e3cf6d90c06e9f06ebcf3fb0 (diff) |
Notes
Diffstat (limited to 'graphics/commons-utilities')
-rw-r--r-- | graphics/commons-utilities/Makefile | 47 | ||||
-rw-r--r-- | graphics/commons-utilities/distinfo | 3 | ||||
-rw-r--r-- | graphics/commons-utilities/pkg-descr | 8 |
3 files changed, 58 insertions, 0 deletions
diff --git a/graphics/commons-utilities/Makefile b/graphics/commons-utilities/Makefile new file mode 100644 index 000000000000..c092e7b8e762 --- /dev/null +++ b/graphics/commons-utilities/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: commons-utilities +# Date created: 18 September 2010 +# Whom: Dereckson <dereckson@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= commons-utilities +PORTVERSION= 1.0 +CATEGORIES= graphics +MASTER_SITES= http://devio.us/~dereckson/software/commons-utilities/ + +MAINTAINER= dereckson@gmail.com +COMMENT= Wikimedia Commons / MediaWiki utilities for bulk uploading + +LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \ + p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ + p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \ + p5-Text-CSV-Encoded>=0:${PORTSDIR}/textproc/p5-Text-CSV-Encoded \ + ${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:${PORTSDIR}/www/py-mechanize \ + exiv2:${PORTSDIR}/graphics/exiv2 + +NO_BUILD= yes +USE_PERL5_RUN= yes +USE_PYTHON= 2.4+ + +LICENSE= GPLv3 + +PLIST_FILES= bin/commons-csv-creator bin/commons-upload + +.if !defined(NOPORTDOCS) +PLIST_DIRS= %%DOCSDIR%% +PLIST_FILES+= %%DOCSDIR%%/README +.endif + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/commons-csv-creator ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/commons-upload ${PREFIX}/bin + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/graphics/commons-utilities/distinfo b/graphics/commons-utilities/distinfo new file mode 100644 index 000000000000..7144e7cda19f --- /dev/null +++ b/graphics/commons-utilities/distinfo @@ -0,0 +1,3 @@ +MD5 (commons-utilities-1.0.tar.gz) = 3c90d19ab7b732d22df0460bad578372 +SHA256 (commons-utilities-1.0.tar.gz) = 1ac7e605291ea2e596b1ebe30b53530f3a1ed129a64e825bc7ac3598c0c180b6 +SIZE (commons-utilities-1.0.tar.gz) = 21412 diff --git a/graphics/commons-utilities/pkg-descr b/graphics/commons-utilities/pkg-descr new file mode 100644 index 000000000000..e90d3b2da56b --- /dev/null +++ b/graphics/commons-utilities/pkg-descr @@ -0,0 +1,8 @@ +This is a port for Wikimedia Commons or MediaWiki similar installations +power users, to allow bulk images upload to a wiki, from the command line. + +* commons-csv-creator allows to get metadata from images EXIF tags +* commons-upload allows to upload in batch images to Wikimedia Commons + or a MediaWiki site. + +WWW: http://bitbucket.org/dereckson/commons-utilities |