e0a98e0729
Toy Parser Generator is a lexical and syntactic parser generator for Python. This generator was born from a simple statement: YACC is to complex to use in simple cases (calculators, configuration files, small programming languages, ...). WWW: http://christophe.delord.free.fr/en/tpg/ from Xavier Santolaria <xavier at santolaria dot net>
36 lines
810 B
Makefile
36 lines
810 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2003/12/16 13:11:49 sturm Exp $
|
|
|
|
COMMENT= "parser generator in Python"
|
|
|
|
DISTNAME= TPG-3.0.0
|
|
PKGNAME= py-${DISTNAME:L}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://christophe.delord.free.fr/en/tpg/
|
|
|
|
MAINTAINER= Xavier Santolaria <xavier@santolaria.net>
|
|
|
|
# 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= python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
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} ${WRKSRC}/ChangeLog ${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|