2007-05-22 11:40:19 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/05/22 15:40:19 martynas Exp $
|
2005-01-21 21:33:43 -05:00
|
|
|
|
|
|
|
COMMENT= "pure-Python implementation of the ElementTree API"
|
|
|
|
|
2006-05-21 13:05:41 -04:00
|
|
|
DISTNAME= elementtree-1.2.6-20050316
|
2007-05-22 11:40:19 -04:00
|
|
|
PKGNAME= py-ElementTree-1.2.6p1
|
|
|
|
CATEGORIES= textproc devel lang/python
|
2005-01-21 21:33:43 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://effbot.org/zone/element-index.htm
|
|
|
|
|
2007-05-22 11:40:19 -04:00
|
|
|
# MIT
|
2005-01-21 21:33:43 -05:00
|
|
|
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}
|
|
|
|
|
2007-05-22 11:40:19 -04:00
|
|
|
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/
|
|
|
|
|
2005-01-21 21:33:43 -05:00
|
|
|
do-regress: fake
|
|
|
|
@cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
|
|
${MODPY_BIN} ./selftest.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|