mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
add showgrammar 1.1
Convert a yacc grammar to syntax diagrams
This commit is contained in:
parent
2c046af0e6
commit
6cb9017d8f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62782
@ -695,6 +695,7 @@
|
||||
SUBDIR += sh-rtems-objc
|
||||
SUBDIR += shapelib
|
||||
SUBDIR += shmap
|
||||
SUBDIR += showgrammar
|
||||
SUBDIR += shtool
|
||||
SUBDIR += silc-toolkit
|
||||
SUBDIR += sip
|
||||
|
34
devel/showgrammar/Makefile
Normal file
34
devel/showgrammar/Makefile
Normal file
@ -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>
|
1
devel/showgrammar/distinfo
Normal file
1
devel/showgrammar/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (showgrammar.py) = a69e5668ab59de0ee55af1355a59955a
|
1
devel/showgrammar/pkg-comment
Normal file
1
devel/showgrammar/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Convert a yacc grammar to syntax diagrams
|
3
devel/showgrammar/pkg-descr
Normal file
3
devel/showgrammar/pkg-descr
Normal file
@ -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/
|
1
devel/showgrammar/pkg-plist
Normal file
1
devel/showgrammar/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/showgrammar
|
Loading…
Reference in New Issue
Block a user