1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/grc/Makefile

41 lines
870 B
Makefile
Raw Normal View History

# ex:ts=8
# New ports collection makefile for: grc
# Date created: Mar 25, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= grc
2001-11-26 19:15:06 +00:00
PORTVERSION= 1.0.2
CATEGORIES= misc
MASTER_SITES= http://melkor.dnp.fmph.uniba.sk/~garabik/grc/
DISTNAME= ${PORTNAME}_${PORTVERSION}
2001-11-26 19:15:06 +00:00
MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
MAN1= grc.1 grcat.1
post-patch:
.for file in grc grcat
@${PERL} -pi -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
do-install:
.for file in grc grcat
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1
.endfor
2001-11-26 19:15:06 +00:00
@${MKDIR} ${DATADIR}
${CP} ${WRKSRC}/conf.* ${DATADIR}
${CP} ${WRKSRC}/grc.conf ${PREFIX}/etc
.include <bsd.port.mk>