diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-19 20:47:31 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-19 20:47:31 +0000 |
commit | 99ec59d3f598988c12c52a5aa1b5bec2c6e3753a (patch) | |
tree | 46d4b6b9de10f5bf28719383a50d507a394cd77c /devel/tpg | |
parent | 83b73d56143df311f12de660accb9cb036824fac (diff) | |
download | ports-99ec59d3f598988c12c52a5aa1b5bec2c6e3753a.tar.gz ports-99ec59d3f598988c12c52a5aa1b5bec2c6e3753a.zip |
Notes
Diffstat (limited to 'devel/tpg')
-rw-r--r-- | devel/tpg/Makefile | 11 | ||||
-rw-r--r-- | devel/tpg/distinfo | 2 | ||||
-rw-r--r-- | devel/tpg/pkg-plist | 13 |
3 files changed, 23 insertions, 3 deletions
diff --git a/devel/tpg/Makefile b/devel/tpg/Makefile index f07ff92a4331..4db05154345e 100644 --- a/devel/tpg/Makefile +++ b/devel/tpg/Makefile @@ -7,7 +7,7 @@ # PORTNAME= tpg -PORTVERSION= 0.1.9 +PORTVERSION= 2.0.1 CATEGORIES= devel python MASTER_SITES= http://christophe.delord.free.fr/soft/tpg/ DISTNAME= ${PORTNAME:U}-${PORTVERSION} @@ -19,6 +19,13 @@ USE_PYTHON= yes NO_BUILD= yes do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/TPG.py ${PREFIX}/bin/tpg + ${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 <bsd.port.mk> diff --git a/devel/tpg/distinfo b/devel/tpg/distinfo index 5de324bc562e..11cfaccf08c2 100644 --- a/devel/tpg/distinfo +++ b/devel/tpg/distinfo @@ -1 +1 @@ -MD5 (TPG-0.1.9.tgz) = 2b0df717d0a4c64d3267206b033950b6 +MD5 (TPG-2.0.1.tgz) = 2f1772a601dee0fd7bd9e0bf6512c7b7 diff --git a/devel/tpg/pkg-plist b/devel/tpg/pkg-plist index d632c01768a1..82b71b0d9816 100644 --- a/devel/tpg/pkg-plist +++ b/devel/tpg/pkg-plist @@ -1 +1,14 @@ bin/tpg +lib/%%PYTHON_VERSION%%/site-packages/tpg.py +lib/%%PYTHON_VERSION%%/site-packages/TPG/tpg_grammar.g +@dirrm lib/%%PYTHON_VERSION%%/site-packages/TPG +%%PORTDOCS%%share/examples/tpg/calc/calc.g +%%PORTDOCS%%share/examples/tpg/calc/calc.py +%%PORTDOCS%%share/examples/tpg/calc/calc2.py +%%PORTDOCS%%share/examples/tpg/calc/calc3.g +%%PORTDOCS%%share/examples/tpg/calc/calc3.py +%%PORTDOCS%%share/examples/tpg/notation/notation.py +%%PORTDOCS%%share/examples/tpg/readme.txt +%%PORTDOCS%%@dirrm share/examples/tpg/calc +%%PORTDOCS%%@dirrm share/examples/tpg/notation +%%PORTDOCS%%@dirrm share/examples/tpg |