1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/graphics/commons-utilities/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Dereckson <dereckson@gmail.com>
# $FreeBSD$
PORTNAME= commons-utilities
PORTVERSION= 1.0
PORTREVISION= 2
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
USES= perl5
USE_PERL5= run
USE_PYTHON= yes
LICENSE= GPLv3
PLIST_FILES= bin/commons-csv-creator bin/commons-upload
.if !defined(NOPORTDOCS)
PLIST_DIRS= %%DOCSDIR%%
PLIST_FILES+= %%DOCSDIR%%/README
.endif
NO_STAGE= yes
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>