aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-parsing/Makefile
blob: 95ed5e530b7f6be24b831cfd1d08478d696e6e74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    py-parsing
# Date created:     1 Jul 2004
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   parsing
PORTVERSION=    1.5.1
CATEGORIES= devel python
MASTER_SITES=   SF/pyparsing
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyparsing-${PORTVERSION}

MAINTAINER= wenheping@gmail.com
COMMENT=    General parsing module for Python

USE_PYTHON= 2.3+
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>