freebsd-ports/graphics/commons-utilities/Makefile
Antoine Brodin 38308bbce8 - Add explicit FLAVOR to a few dependencies
- Remove FLAVOR from py-docutils dependency in comms/uhd, in this case
  it needs the rst2html command, not the docutils module
- Mark some ports as not compatible with python3
2017-12-03 08:25:31 +00:00

38 lines
1.1 KiB
Makefile

# Created by: Sébastien Santoro <dereckson@gmail.com>
# $FreeBSD$
PORTNAME= commons-utilities
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://devio.us/~dereckson/software/commons-utilities/
MAINTAINER= dereckson@gmail.com
COMMENT= Wikimedia Commons (MediaWiki) utilities for bulk image uploading
LICENSE= GPLv3
RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \
p5-Text-CSV_XS>=0:textproc/p5-Text-CSV_XS \
p5-Text-CSV-Encoded>=0:textproc/p5-Text-CSV-Encoded \
${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:www/py-mechanize@${PY_FLAVOR} \
exiv2:graphics/exiv2
USES= jpeg perl5 python:2.7 shebangfix
SHEBANG_FILES= commons-csv-creator
USE_PERL5= run
NO_BUILD= yes
PLIST_FILES= bin/commons-csv-creator bin/commons-upload
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/commons-csv-creator ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/commons-upload ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>