Lines 1-13
Link Here
|
1 |
# ex:ts=8 |
1 |
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org> |
2 |
# New ports collection makefile for: grc |
|
|
3 |
# Date created: Mar 25, 2001 |
4 |
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org> |
5 |
# |
6 |
# $FreeBSD: head/misc/grc/Makefile 300896 2012-07-14 13:54:48Z beat $ |
2 |
# $FreeBSD: head/misc/grc/Makefile 300896 2012-07-14 13:54:48Z beat $ |
7 |
# |
|
|
8 |
|
3 |
|
9 |
PORTNAME= grc |
4 |
PORTNAME= grc |
10 |
PORTVERSION= 1.4 |
5 |
PORTVERSION= 1.5 |
11 |
CATEGORIES= misc |
6 |
CATEGORIES= misc |
12 |
MASTER_SITES= http://kassiopeia.juls.savba.sk/~garabik/software/grc/ |
7 |
MASTER_SITES= http://kassiopeia.juls.savba.sk/~garabik/software/grc/ |
13 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
8 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
Lines 15-32
Link Here
|
15 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Generic Colouriser |
11 |
COMMENT= Generic Colouriser |
17 |
|
12 |
|
|
|
13 |
LICENSE= GPLv2 |
14 |
|
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
15 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
19 |
NO_BUILD= yes |
16 |
NO_BUILD= yes |
20 |
|
17 |
|
|
|
18 |
USES= shebangfix |
19 |
SHEBANG_FILES= grc grcat |
21 |
USE_PYTHON_RUN= yes |
20 |
USE_PYTHON_RUN= yes |
22 |
|
21 |
|
23 |
MAN1= grc.1 grcat.1 |
22 |
MAN1= grc.1 grcat.1 |
24 |
|
23 |
|
25 |
post-patch: |
24 |
post-patch: |
26 |
.for i in grc grcat |
25 |
.for i in grc grcat |
27 |
@${REINPLACE_CMD} -e \ |
26 |
@${REINPLACE_CMD} -e \ |
28 |
's|/usr/bin/python|${SETENV} python|g ; \ |
27 |
's|"/etc/grc|"${PREFIX}/etc/grc|g ; \ |
29 |
s|"/etc/grc|"${PREFIX}/etc/grc|g ; \ |
|
|
30 |
s|/usr/local/share/grc|${DATADIR}|g ; \ |
28 |
s|/usr/local/share/grc|${DATADIR}|g ; \ |
31 |
s|, "/usr/share/grc/"||g' ${WRKSRC}/${i} |
29 |
s|, "/usr/share/grc/"||g' ${WRKSRC}/${i} |
32 |
@${REINPLACE_CMD} -e \ |
30 |
@${REINPLACE_CMD} -e \ |
Lines 37-47
Link Here
|
37 |
|
35 |
|
38 |
do-install: |
36 |
do-install: |
39 |
.for i in grc grcat |
37 |
.for i in grc grcat |
40 |
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin |
38 |
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${PREFIX}/bin) |
41 |
${INSTALL_MAN} ${WRKSRC}/${i}.1 ${MAN1PREFIX}/man/man1 |
39 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${i}.1 ${MAN1PREFIX}/man/man1) |
42 |
.endfor |
40 |
.endfor |
|
|
41 |
(cd ${WRKSRC} && ${INSTALL_DATA} grc.conf ${PREFIX}/etc) |
43 |
@${MKDIR} ${DATADIR} |
42 |
@${MKDIR} ${DATADIR} |
44 |
${INSTALL_DATA} ${WRKSRC}/conf.* ${DATADIR} |
43 |
(cd ${WRKSRC} && ${INSTALL_DATA} conf.* ${DATADIR}) |
45 |
${INSTALL_DATA} ${WRKSRC}/grc.conf ${PREFIX}/etc |
|
|
46 |
|
44 |
|
47 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |