# ex:ts=8 # Ports collection makefile for: tpg # Date created: Mar 15, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= tpg PORTVERSION= 2.0.1 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 ${PYTHON_SITELIBDIR} ${LN} -fs ${PYTHON_SITELIBDIR}/tpg.py ${PREFIX}/bin/tpg @${MKDIR} ${PYTHON_SITELIBDIR}/TPG ${INSTALL_DATA} ${WRKSRC}/TPG/tpg_grammar.g ${PYTHON_SITELIBDIR}/TPG .if !defined(NOPORTDOCS) @${MKDIR} ${EXAMPLESDIR} ${CP} -R ${WRKSRC}/TPG/examples/* ${EXAMPLESDIR} .endif .include