openbsd-ports/textproc/py-ElementTree/Makefile
2007-10-08 08:22:38 +00:00

33 lines
951 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/10/08 08:22:43 steven Exp $
COMMENT= pure-Python implementation of the ElementTree API
DISTNAME= elementtree-1.2.6-20050316
PKGNAME= py-ElementTree-1.2.6p2
CATEGORIES= textproc devel lang/python
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
RUN_DEPENDS= ${MODPY_EXPAT_DEPENDS}
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>