Stage support

This commit is contained in:
Antoine Brodin 2014-01-21 19:40:13 +00:00
parent e9262f7916
commit b379595263
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340641

View file

@ -12,23 +12,22 @@ COMMENT= Static Image Gallery Generator for web or CD-ROM galleries
USE_PYTHON= yes USE_PYTHON= yes
USE_PYDISTUTILS=yes USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= PIL OPTIONS_DEFINE= PIL
PIL_DESC= Use Python Imaging Library instead of ImageMagick PIL_DESC= Use Python Imaging Library instead of ImageMagick
PLIST_FILES= bin/curator PLIST_FILES= man/man1/curator.1.gz
MAN1= curator.1
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPIL} .if ${PORT_OPTIONS:MPIL}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging
.else .else
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
.endif .endif
post-install: post-install:
${INSTALL_MAN} ${FILESDIR}/curator.1 ${PREFIX}/man/man1/curator.1 ${INSTALL_MAN} ${FILESDIR}/curator.1 ${STAGEDIR}${PREFIX}/man/man1/curator.1
.include <bsd.port.mk> .include <bsd.port.mk>