freebsd-ports/devel/py-parsing/Makefile
Wen Heping 5d20f666e1 - Update to 1.5.6
PR:		ports/158386
Submitted by:	Jin-Sih Lin <linpct@gmail.com>
2011-07-03 08:17:48 +00:00

35 lines
823 B
Makefile

# New ports collection makefile for: py-parsing
# Date created: 1 Jul 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= parsing
PORTVERSION= 1.5.6
CATEGORIES= devel python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyparsing-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
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>