1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/showgrammar/Makefile
2003-02-20 17:07:10 +00:00

36 lines
771 B
Makefile

# 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
COMMENT= Convert a yacc grammar to syntax diagrams
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>