diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-20 04:47:31 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-20 04:47:31 +0800 |
commit | 7572cdd5f478b998554743cc67c951f193111c9e (patch) | |
tree | face20afcfde0ecfaf3c308a6c82e5755b6f383b /devel/tpg | |
parent | 1b605d14a8dec13391a57a96fd9d03c059d3435a (diff) | |
download | freebsd-ports-gnome-7572cdd5f478b998554743cc67c951f193111c9e.tar.gz freebsd-ports-gnome-7572cdd5f478b998554743cc67c951f193111c9e.tar.zst freebsd-ports-gnome-7572cdd5f478b998554743cc67c951f193111c9e.zip |
upgrade to 2.0.1
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 |