2009-08-25 20:09:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2009/08/26 00:09:12 sthen Exp $
|
2005-01-21 21:33:43 -05:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= pure-Python implementation of the ElementTree API
|
2005-01-21 21:33:43 -05:00
|
|
|
|
2006-05-21 13:05:41 -04:00
|
|
|
DISTNAME= elementtree-1.2.6-20050316
|
2009-03-23 17:45:03 -04:00
|
|
|
PKGNAME= py-ElementTree-1.2.6p5
|
2007-12-10 16:07:51 -05:00
|
|
|
CATEGORIES= textproc devel
|
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
|
|
|
|
|
2009-08-25 20:09:12 -04:00
|
|
|
MASTER_SITES= http://effbot.org/media/downloads/
|
2005-01-21 21:33:43 -05:00
|
|
|
MODULES= lang/python
|
2008-03-19 11:54:01 -04:00
|
|
|
MODPY_VERSION= 2.4
|
|
|
|
|
2005-01-21 21:33:43 -05:00
|
|
|
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>
|