1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add commons-utilities 1.0

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

PR:		ports/150743
Submitted by:	Sébastien Santoro <dereckson@gmail.com>
Approved by:	pgollucci (mentor)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2010-10-08 07:19:54 +00:00
parent 5bb9280e83
commit 856a994e30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262597
4 changed files with 59 additions and 0 deletions

View File

@ -79,6 +79,7 @@
SUBDIR += clutter-qt
SUBDIR += comical
SUBDIR += comix
SUBDIR += commons-utilities
SUBDIR += compupic
SUBDIR += corona
SUBDIR += cosmoplayer

View File

@ -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>

View File

@ -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

View File

@ -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