freebsd-ports/devel/py-parsing/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

36 lines
843 B
Makefile

# New ports collection makefile for: py-parsing
# Date created: 1 Jul 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= parsing
PORTVERSION= 1.5.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyparsing-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= General parsing module for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyparsing
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/htmldoc/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>