1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/misc/pylize/Makefile
William Grzybowski 0ae4f3e578 misc/pylize: depends explicitly on "python"
Also restrict to python 2.x.

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
2013-12-15 16:13:46 +00:00

39 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= pylize
PORTVERSION= 1.3.b
PORTREVISION= 3
CATEGORIES= misc textproc
MASTER_SITES= http://www.chrisarndt.de/en/software/pylize/download/ \
http://dryice.name/computer/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= dryice@dryice.name
COMMENT= A presentation generation tool
BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \
${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy
RUN_DEPENDS= python:${PORTSDIR}/lang/python \
${PYTHON_SITELIBDIR}/HTMLgen.py:${PORTSDIR}/www/py-HTMLgen \
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging \
${PYTHON_SITELIBDIR}/em.py:${PORTSDIR}/textproc/py-empy
USE_BZIP2= yes
USE_PYTHON= 2
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGVERSION= ${PORTVERSION:S/.b/b/}
PLIST_FILES= bin/pylize
NO_STAGE= yes
post-install:
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>