2001-03-25 13:17:54 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: grc
|
|
|
|
# Date created: Mar 25, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= grc
|
2003-06-09 10:02:07 +00:00
|
|
|
PORTVERSION= 1.0.6
|
2001-03-25 13:17:54 +00:00
|
|
|
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
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Generic Colouriser
|
2001-03-25 13:17:54 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
MAN1= grc.1 grcat.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for file in grc grcat
|
2002-06-22 17:23:30 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \
|
2001-03-25 13:17:54 +00:00
|
|
|
s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2001-04-26 04:16:11 +00:00
|
|
|
.for file in grc grcat
|
2001-03-25 13:17:54 +00:00
|
|
|
${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}
|
2002-11-12 22:15:07 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/conf.* ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/grc.conf ${PREFIX}/etc
|
2001-03-25 13:17:54 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|