openbsd-ports/textproc/py-ElementTree/Makefile
kili d6195c119a MODPY_EXPAT_DEPENDS doesn't exist any longer.
While here, update PLISTs, some WANTLIBs, some license
markers and use MODPY_EGG_VERSION where it may help to
keep future PLIST diffs smaller.

help, nitpicking and ok jasper@, ok wcmaier@

note that print/py-reportlab/reportlab needs some more
love.
2009-01-03 21:27:25 +00:00

34 lines
921 B
Makefile

# $OpenBSD: Makefile,v 1.9 2009/01/03 21:27:25 kili Exp $
COMMENT= pure-Python implementation of the ElementTree API
DISTNAME= elementtree-1.2.6-20050316
PKGNAME= py-ElementTree-1.2.6p4
CATEGORIES= textproc devel
HOMEPAGE= http://effbot.org/zone/element-index.htm
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://effbot.org/downloads/
MODULES= lang/python
MODPY_VERSION= 2.4
REGRESS_DEPENDS=${RUN_DEPENDS}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-ElementTree
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/py-ElementTree/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-ElementTree
${INSTALL_DATA} ${WRKSRC}/samples/* ${PREFIX}/share/examples/py-ElementTree/
do-regress: fake
@cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./selftest.py
.include <bsd.port.mk>