diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-10 17:50:21 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-10 17:50:21 +0000 |
commit | d6d9645b6031f40e740c4da3dcfee22ec523c743 (patch) | |
tree | 64bb7537b31b1d7c1110e255cb571988cba0608e /devel/showgrammar | |
parent | 52336be03145d09d19341b5596814a65da0521bc (diff) | |
download | FreeBSD-ports-d6d9645b6031f40e740c4da3dcfee22ec523c743.zip FreeBSD-ports-d6d9645b6031f40e740c4da3dcfee22ec523c743.tar.gz |
add showgrammar 1.1
Convert a yacc grammar to syntax diagrams
Diffstat (limited to 'devel/showgrammar')
-rw-r--r-- | devel/showgrammar/Makefile | 34 | ||||
-rw-r--r-- | devel/showgrammar/distinfo | 1 | ||||
-rw-r--r-- | devel/showgrammar/pkg-comment | 1 | ||||
-rw-r--r-- | devel/showgrammar/pkg-descr | 3 | ||||
-rw-r--r-- | devel/showgrammar/pkg-plist | 1 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/showgrammar/Makefile b/devel/showgrammar/Makefile new file mode 100644 index 0000000..c0203a6 --- /dev/null +++ b/devel/showgrammar/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# Ports collection makefile for: showgrammar +# Date Created: Jul 11, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= showgrammar +PORTVERSION= 1.1 +CATEGORIES= devel +MASTER_SITES= http://se.wtb.tue.nl/~hat/showgrammar/ +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .py + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/spark.py:${PORTSDIR}/devel/py-spark + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= ${WRKSRC} +USE_REINPLACE= yes +USE_PYTHON= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +post-patch: + @${REINPLACE_CMD} -e "s|#!/usr/bin/python|#!/usr/bin/env python|g" ${WRKSRC}/${DISTFILES} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTFILES} ${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/devel/showgrammar/distinfo b/devel/showgrammar/distinfo new file mode 100644 index 0000000..0c185bd --- /dev/null +++ b/devel/showgrammar/distinfo @@ -0,0 +1 @@ +MD5 (showgrammar.py) = a69e5668ab59de0ee55af1355a59955a diff --git a/devel/showgrammar/pkg-comment b/devel/showgrammar/pkg-comment new file mode 100644 index 0000000..14969ec --- /dev/null +++ b/devel/showgrammar/pkg-comment @@ -0,0 +1 @@ +Convert a yacc grammar to syntax diagrams diff --git a/devel/showgrammar/pkg-descr b/devel/showgrammar/pkg-descr new file mode 100644 index 0000000..1899983 --- /dev/null +++ b/devel/showgrammar/pkg-descr @@ -0,0 +1,3 @@ +showgrammar is a Python script to convert a yacc grammar to syntax diagrams. + +WWW: http://se.wtb.tue.nl/~hat/showgrammar/ diff --git a/devel/showgrammar/pkg-plist b/devel/showgrammar/pkg-plist new file mode 100644 index 0000000..22f8e4f --- /dev/null +++ b/devel/showgrammar/pkg-plist @@ -0,0 +1 @@ +bin/showgrammar |