2c527faddd
- Make $PREFIX-clean via $PYTHON_SITELIBDIR -> $PYTHONPREFIX_SITELIBDIR - Move tpg_grammar.g to $EAMPLESDIR, since it's just included as an example (as far as I can tell)
30 lines
679 B
Makefile
30 lines
679 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: tpg
|
|
# Date created: Mar 15, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tpg
|
|
PORTVERSION= 2.0.3
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://christophe.delord.free.fr/soft/tpg/
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tpg.py ${PYTHONPREFIX_SITELIBDIR}
|
|
${LN} -fs ${PYTHONPREFIX_SITELIBDIR}/tpg.py ${PREFIX}/bin/tpg
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/TPG/tpg_grammar.g ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/TPG/examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|