From 20975abf4b0736fadf73826c74f87bbec81068c8 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 12 Nov 2002 22:15:07 +0000 Subject: Update grc 1.0.2 -> 1.0.4 Approved by: pat --- misc/grc/Makefile | 6 +++--- misc/grc/distinfo | 2 +- misc/grc/files/patch-grc | 18 +++++++++--------- misc/grc/pkg-plist | 1 + 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'misc/grc') diff --git a/misc/grc/Makefile b/misc/grc/Makefile index afa7a7325b3e..23a1c48ad07b 100644 --- a/misc/grc/Makefile +++ b/misc/grc/Makefile @@ -7,7 +7,7 @@ # PORTNAME= grc -PORTVERSION= 1.0.2 +PORTVERSION= 1.0.4 CATEGORIES= misc MASTER_SITES= http://melkor.dnp.fmph.uniba.sk/~garabik/grc/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -35,7 +35,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${file} ${MAN1PREFIX}/man/man1 .endfor @${MKDIR} ${DATADIR} - ${CP} ${WRKSRC}/conf.* ${DATADIR} - ${CP} ${WRKSRC}/grc.conf ${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/conf.* ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/grc.conf ${PREFIX}/etc .include diff --git a/misc/grc/distinfo b/misc/grc/distinfo index 77678d265997..335693472ce8 100644 --- a/misc/grc/distinfo +++ b/misc/grc/distinfo @@ -1 +1 @@ -MD5 (grc_1.0.2.tar.gz) = a615211a1872d985e2c9f2a328dd7f41 +MD5 (grc_1.0.4.tar.gz) = 1340988d177ac2e803c380c24869cd91 diff --git a/misc/grc/files/patch-grc b/misc/grc/files/patch-grc index 8a772969902f..6ea36bc4e798 100644 --- a/misc/grc/files/patch-grc +++ b/misc/grc/files/patch-grc @@ -1,17 +1,17 @@ ---- grc.orig Sun Mar 25 20:40:51 2001 -+++ grc Sun Mar 25 20:43:14 2001 +--- grc.orig Wed Sep 4 05:01:42 2002 ++++ grc Tue Nov 12 00:58:50 2002 @@ -1,4 +1,4 @@ -#! /usr/bin/python +#!%%PYTHON_CMD%% import os, re, string, sys, getopt, signal -@@ -65,7 +65,7 @@ - - conffile = None - if cfile == "": -- conffilename = [os.environ['HOME']+"/.grc/grc.conf", "/etc/grc.conf"] -+ conffilename = [os.environ['HOME']+"/.grc/grc.conf", "%%PREFIX%%/etc/grc.conf"] - for i in conffilename: +@@ -74,7 +74,7 @@ + home = [] + if os.environ.has_key('HOME'): + home = [os.environ['HOME']+"/.grc/grc.conf"] +- conffilenames = home + ["/etc/grc.conf"] ++ conffilenames = home + ["%%PREFIX%%/etc/grc.conf"] + for i in conffilenames: if os.path.isfile(i): conffile = i diff --git a/misc/grc/pkg-plist b/misc/grc/pkg-plist index d5a8a9c54788..f962fa5f1204 100644 --- a/misc/grc/pkg-plist +++ b/misc/grc/pkg-plist @@ -1,6 +1,7 @@ bin/grc bin/grcat etc/grc.conf +share/grc/conf.diff share/grc/conf.esperanto share/grc/conf.gcc share/grc/conf.irclog -- cgit v1.2.3