View | Details | Raw Unified | Return to bug 181892
Collapse All | Expand All

(-)misc/grc/Makefile (-14 / +12 lines)
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>
(-)misc/grc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (grc_1.4.tar.gz) = bbfdc5ee074a857a8cff52f4b1941527c1dd192e1c2b45f69c624ce9fad4f4d0
1
SHA256 (grc_1.5.tar.gz) = a2581f065236868bd8b09536616a588792f60fcba4e54d69e2cad65aae73dddc
2
SIZE (grc_1.4.tar.gz) = 24302
2
SIZE (grc_1.5.tar.gz) = 26363
(-)misc/grc/pkg-plist (+7 lines)
Lines 4-17 Link Here
4
%%DATADIR%%/conf.configure
4
%%DATADIR%%/conf.configure
5
%%DATADIR%%/conf.cvs
5
%%DATADIR%%/conf.cvs
6
%%DATADIR%%/conf.diff
6
%%DATADIR%%/conf.diff
7
%%DATADIR%%/conf.dig
7
%%DATADIR%%/conf.esperanto
8
%%DATADIR%%/conf.esperanto
8
%%DATADIR%%/conf.gcc
9
%%DATADIR%%/conf.gcc
10
%%DATADIR%%/conf.ifconfig
9
%%DATADIR%%/conf.irclog
11
%%DATADIR%%/conf.irclog
10
%%DATADIR%%/conf.ldap
12
%%DATADIR%%/conf.ldap
13
%%DATADIR%%/conf.ls
11
%%DATADIR%%/conf.log
14
%%DATADIR%%/conf.log
15
%%DATADIR%%/conf.mount
16
%%DATADIR%%/conf.mount2
17
%%DATADIR%%/conf.mtr
12
%%DATADIR%%/conf.netstat
18
%%DATADIR%%/conf.netstat
13
%%DATADIR%%/conf.ping
19
%%DATADIR%%/conf.ping
14
%%DATADIR%%/conf.proftpd
20
%%DATADIR%%/conf.proftpd
21
%%DATADIR%%/conf.ps
15
%%DATADIR%%/conf.traceroute
22
%%DATADIR%%/conf.traceroute
16
%%DATADIR%%/conf.wdiff
23
%%DATADIR%%/conf.wdiff
17
@dirrm %%DATADIR%%
24
@dirrm %%DATADIR%%

Return to bug 181892