summaryrefslogtreecommitdiff
path: root/devel/tpg/Makefile
blob: 8dfd3a66b0e92f2323695ed93ea8bc0b0f558747 (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
# Ports collection makefile for:	tpg
# Date created:			Mar 15, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	tpg
PORTVERSION=	2.1.5
CATEGORIES=	devel python
MASTER_SITES=	http://christophe.delord.free.fr/soft/tpg/
DISTNAME=	${PORTNAME:U}-${PORTVERSION}

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Parser generator in Python

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

NO_BUILD=	yes

DOCS=		ChangeLog README THANKS doc/*.html doc/tpg.css \
		doc/*.png doc/tpg.pdf
EXAMPLES=	examples/calc/*

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>