37 lines
852 B
Makefile
37 lines
852 B
Makefile
# $OpenBSD: Makefile,v 1.8 2005/03/08 13:34:21 xsa Exp $
|
|
|
|
COMMENT= "parser generator in Python"
|
|
|
|
DISTNAME= TPG-3.0.5
|
|
PKGNAME= py-${DISTNAME:L}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://christophe.delord.free.fr/en/tpg/
|
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://christophe.delord.free.fr/soft/tpg/
|
|
|
|
MODULES= lang/python
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-tpg
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-tpg
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
do-regress:
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./tpg_tests.py
|
|
|
|
.include <bsd.port.mk>
|