aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ply/Makefile
blob: 55bb65ac681b91d06bee5fffad791c885535ed9a (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
# ex:ts=8
# New ports collection makefile for:    ply
# Date created:         Jul 31, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   ply
PORTVERSION=    2.5
CATEGORIES= devel python
MASTER_SITES=   http://www.dabeaz.com/ply/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= mva@sysfault.org
COMMENT=    Python Lex-Yacc

USE_PYTHON= yes
USE_PYDISTUTILS=yes

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/example/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>