2007-10-08 04:22:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/10/08 08:22:40 steven Exp $
|
2003-12-16 08:11:49 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= parser generator in Python
|
2003-12-16 08:11:49 -05:00
|
|
|
|
2006-09-20 05:13:18 -04:00
|
|
|
DISTNAME= TPG-3.1.0
|
2007-10-08 04:22:38 -04:00
|
|
|
PKGNAME= py-${DISTNAME:L}p0
|
2003-12-16 08:11:49 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://christophe.delord.free.fr/en/tpg/
|
|
|
|
|
2004-01-30 03:39:48 -05:00
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
2003-12-16 08:11:49 -05:00
|
|
|
|
|
|
|
# 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/
|
|
|
|
|
2004-08-03 10:27:33 -04:00
|
|
|
MODULES= lang/python
|
2003-12-16 08:11:49 -05:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
2004-02-01 05:33:23 -05:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./tpg_tests.py
|
|
|
|
|
2003-12-16 08:11:49 -05:00
|
|
|
.include <bsd.port.mk>
|