mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to version 1.5 [1]
- Add support for STAGEDIR PR: ports/181892 [1] Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
e0d014cd2b
commit
6c1d29a502
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332014
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= grc
|
||||
PORTVERSION= 1.4
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://kassiopeia.juls.savba.sk/~garabik/software/grc/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
@ -10,19 +10,19 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Generic Colouriser
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
NO_BUILD= yes
|
||||
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= grc grcat
|
||||
USE_PYTHON_RUN= yes
|
||||
|
||||
MAN1= grc.1 grcat.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
.for i in grc grcat
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/bin/python|${SETENV} python|g ; \
|
||||
s|"/etc/grc|"${PREFIX}/etc/grc|g ; \
|
||||
's|"/etc/grc|"${PREFIX}/etc/grc|g ; \
|
||||
s|/usr/local/share/grc|${DATADIR}|g ; \
|
||||
s|, "/usr/share/grc/"||g' ${WRKSRC}/${i}
|
||||
@${REINPLACE_CMD} -e \
|
||||
@ -33,11 +33,11 @@ post-patch:
|
||||
|
||||
do-install:
|
||||
.for i in grc grcat
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${i}.1 ${MAN1PREFIX}/man/man1
|
||||
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${STAGEDIR}${PREFIX}/bin)
|
||||
(cd ${WRKSRC} && ${INSTALL_MAN} ${i}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1)
|
||||
.endfor
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/conf.* ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/grc.conf ${PREFIX}/etc
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} grc.conf ${STAGEDIR}${PREFIX}/etc)
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} conf.* ${STAGEDIR}${DATADIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (grc_1.4.tar.gz) = bbfdc5ee074a857a8cff52f4b1941527c1dd192e1c2b45f69c624ce9fad4f4d0
|
||||
SIZE (grc_1.4.tar.gz) = 24302
|
||||
SHA256 (grc_1.5.tar.gz) = a2581f065236868bd8b09536616a588792f60fcba4e54d69e2cad65aae73dddc
|
||||
SIZE (grc_1.5.tar.gz) = 26363
|
||||
|
@ -1,17 +1,26 @@
|
||||
bin/grc
|
||||
bin/grcat
|
||||
etc/grc.conf
|
||||
man/man1/grc.1.gz
|
||||
man/man1/grcat.1.gz
|
||||
%%DATADIR%%/conf.configure
|
||||
%%DATADIR%%/conf.cvs
|
||||
%%DATADIR%%/conf.diff
|
||||
%%DATADIR%%/conf.dig
|
||||
%%DATADIR%%/conf.esperanto
|
||||
%%DATADIR%%/conf.gcc
|
||||
%%DATADIR%%/conf.ifconfig
|
||||
%%DATADIR%%/conf.irclog
|
||||
%%DATADIR%%/conf.ldap
|
||||
%%DATADIR%%/conf.ls
|
||||
%%DATADIR%%/conf.log
|
||||
%%DATADIR%%/conf.mount
|
||||
%%DATADIR%%/conf.mount2
|
||||
%%DATADIR%%/conf.mtr
|
||||
%%DATADIR%%/conf.netstat
|
||||
%%DATADIR%%/conf.ping
|
||||
%%DATADIR%%/conf.proftpd
|
||||
%%DATADIR%%/conf.ps
|
||||
%%DATADIR%%/conf.traceroute
|
||||
%%DATADIR%%/conf.wdiff
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user