svn commit: r350138 - head/graphics/commons-utilities
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Apr 4 16:29:51 UTC 2014
Author: danfe
Date: Fri Apr 4 16:29:50 2014
New Revision: 350138
URL: http://svnweb.freebsd.org/changeset/ports/350138
QAT: https://qat.redports.org/buildarchive/r350138/
Log:
Stagify the port; also sort the knobs and generally clean up while here.
Modified:
head/graphics/commons-utilities/Makefile
Modified: head/graphics/commons-utilities/Makefile
==============================================================================
--- head/graphics/commons-utilities/Makefile Fri Apr 4 16:19:55 2014 (r350137)
+++ head/graphics/commons-utilities/Makefile Fri Apr 4 16:29:50 2014 (r350138)
@@ -1,4 +1,4 @@
-# Created by: Dereckson <dereckson at gmail.com>
+# Created by: Sébastien Santoro <dereckson at gmail.com>
# $FreeBSD$
PORTNAME= commons-utilities
@@ -8,9 +8,11 @@ CATEGORIES= graphics
MASTER_SITES= http://devio.us/~dereckson/software/commons-utilities/
MAINTAINER= dereckson at gmail.com
-COMMENT= Wikimedia Commons / MediaWiki utilities for bulk uploading
+COMMENT= Wikimedia Commons (MediaWiki) utilities for bulk uploading
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
+LICENSE= GPLv3
+
+LIB_DEPENDS= libjpeg.so:${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 \
@@ -18,29 +20,18 @@ RUN_DEPENDS= p5-Image-ExifTool>=0:${PORT
${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
+NO_BUILD= yes
PLIST_FILES= bin/commons-csv-creator bin/commons-upload
+PORTDOCS= README
-.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
+ ${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>
More information about the svn-ports-all
mailing list