xsa 3dc1af1575 Initial import of py-parsing-1.2
pyparsing is an alternative approach to creating and executing simple
grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions.  The parsing module provides a library of classes that
client code uses to construct the grammar directly in Python code.
2004-07-23 08:39:24 +00:00

36 lines
818 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/07/23 08:39:24 xsa Exp $
COMMENT= "Python parsing module"
DISTNAME= pyparsing-1.2
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= devel
HOMEPAGE= http://pyparsing.sourceforge.net/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyparsing/}
MODULES= python
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-parsing
EXAMPLESDIR= ${PREFIX}/share/examples/py-parsing
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/HowToUsePyparsing.html ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.include <bsd.port.mk>