summaryrefslogblamecommitdiff
path: root/devel/showgrammar/Makefile
blob: c0203a67651e7bf8e9d8296b79a9814834cf0076 (plain) (tree)

































                                                                                                 
# 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>