38 lines
918 B
Makefile
38 lines
918 B
Makefile
# $OpenBSD: Makefile,v 1.7 2006/06/03 09:37:09 alek Exp $
|
|
|
|
COMMENT= "Python parsing module"
|
|
|
|
DISTNAME= pyparsing-1.4.1
|
|
PKGNAME= ${DISTNAME:S/py/py-/}p0
|
|
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= lang/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}/CHANGES ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/HowToUsePyparsing.html ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/htmldoc/* ${DOCSDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|