svn commit: r352447 - head/graphics/imgtops

Pawel Pekala pawel at FreeBSD.org
Sun Apr 27 18:42:51 UTC 2014


Author: pawel
Date: Sun Apr 27 18:42:50 2014
New Revision: 352447
URL: http://svnweb.freebsd.org/changeset/ports/352447
QAT: https://qat.redports.org/buildarchive/r352447/

Log:
  - Add staging support
  - Make RUN_DEPENDS path independent

Modified:
  head/graphics/imgtops/Makefile
  head/graphics/imgtops/pkg-plist

Modified: head/graphics/imgtops/Makefile
==============================================================================
--- head/graphics/imgtops/Makefile	Sun Apr 27 18:26:01 2014	(r352446)
+++ head/graphics/imgtops/Makefile	Sun Apr 27 18:42:50 2014	(r352447)
@@ -10,17 +10,14 @@ MASTER_SITES=	SF
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Create efficient Encapsulated Postscript files from images
 
-RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
 
 USE_GHOSTSCRIPT_RUN=	yes
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 
-MAN1=		imgtops.1 epstoimg.1
-
-NO_STAGE=	yes
 post-install:
-	${CHMOD} 644 ${MANPREFIX}/man/man1/imgtops.1
-	${CHMOD} 644 ${MANPREFIX}/man/man1/epstoimg.1
+	${CHMOD} 644 ${STAGEDIR}${MANPREFIX}/man/man1/imgtops.1
+	${CHMOD} 644 ${STAGEDIR}${MANPREFIX}/man/man1/epstoimg.1
 
 .include <bsd.port.mk>

Modified: head/graphics/imgtops/pkg-plist
==============================================================================
--- head/graphics/imgtops/pkg-plist	Sun Apr 27 18:26:01 2014	(r352446)
+++ head/graphics/imgtops/pkg-plist	Sun Apr 27 18:42:50 2014	(r352447)
@@ -1,5 +1,7 @@
 bin/imgtops
 bin/epstoimg
+man/man1/imgtops.1.gz
+man/man1/epstoimg.1.gz
 %%PYTHON_SITELIBDIR%%/imgtopslib/__init__.py
 %%PYTHON_SITELIBDIR%%/imgtopslib/__init__.pyc
 %%PYTHON_SITELIBDIR%%/imgtopslib/__init__.pyo


More information about the svn-ports-all mailing list