openbsd-ports/devel/py-kid/Makefile
2007-10-08 08:22:38 +00:00

39 lines
971 B
Makefile

# $OpenBSD: Makefile,v 1.3 2007/10/08 08:22:39 steven Exp $
COMMENT= template language for XML based vocabularies
V= 0.9.5
DISTNAME= kid-${V}
PKGNAME= py-${DISTNAME}p0
CATEGORIES= devel lang/python
HOMEPAGE= http://www.kid-templating.org/
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.kid-templating.org/dist/${V}/
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-kid
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-kid/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-kid
cd ${WRKSRC}/examples && \
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-kid/{} \; && \
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-kid/{} \;
do-regress:
cd ${WRKSRC} && ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>