aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ply/Makefile
blob: 1bb7020b0d58a10b1ac23b76d8f732b9333a7652 (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.0
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

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

BROKEN=     Does not fetch: a new version (2.0) available

.include <bsd.port.mk>