f703373107
- MASTER_SITES holds .tar.gz, use it instead of .zip; - install examples and documentation; - alek@ drops maintainership;
33 lines
955 B
Makefile
33 lines
955 B
Makefile
# $OpenBSD: Makefile,v 1.4 2007/05/22 15:40:19 martynas Exp $
|
|
|
|
COMMENT= "pure-Python implementation of the ElementTree API"
|
|
|
|
DISTNAME= elementtree-1.2.6-20050316
|
|
PKGNAME= py-ElementTree-1.2.6p1
|
|
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>
|