- Add staging support

- Make RUN_DEPENDS path independent
This commit is contained in:
Pawel Pekala 2014-04-27 18:42:50 +00:00
parent c2a80da818
commit 0199dc835a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352447
2 changed files with 5 additions and 6 deletions

View File

@ -10,17 +10,14 @@ MASTER_SITES= SF
MAINTAINER= ports@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>

View File

@ -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