Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 16:29:51 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350138 - head/graphics/commons-utilities
Message-ID:  <201404041629.s34GTpcA077740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@gmail.com>
+# Created by: Sébastien Santoro <dereckson@gmail.com>
 # $FreeBSD$
 
 PORTNAME=	commons-utilities
@@ -8,9 +8,11 @@ CATEGORIES=	graphics
 MASTER_SITES=	http://devio.us/~dereckson/software/commons-utilities/
 
 MAINTAINER=	dereckson@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404041629.s34GTpcA077740>