aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rc_subr
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-06-29 07:33:27 +0800
committereik <eik@FreeBSD.org>2004-06-29 07:33:27 +0800
commit7de1db5145109b72f720f0ea053f52a66751601b (patch)
tree9ff65b8636a8d39bbda0958c93e8c739bbe57815 /sysutils/rc_subr
parent3579948b267548ae70a475962fc5f4e50ddda00b (diff)
downloadfreebsd-ports-gnome-7de1db5145109b72f720f0ea053f52a66751601b.tar.gz
freebsd-ports-gnome-7de1db5145109b72f720f0ea053f52a66751601b.tar.zst
freebsd-ports-gnome-7de1db5145109b72f720f0ea053f52a66751601b.zip
update to version 1.29
Diffstat (limited to 'sysutils/rc_subr')
-rw-r--r--sysutils/rc_subr/Makefile8
-rw-r--r--sysutils/rc_subr/distinfo4
2 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/rc_subr/Makefile b/sysutils/rc_subr/Makefile
index 4da04dcf0c21..126b39f4188f 100644
--- a/sysutils/rc_subr/Makefile
+++ b/sysutils/rc_subr/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rc_subr
-PORTVERSION= 1.26
+PORTVERSION= 1.29
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= eik
@@ -16,6 +16,7 @@ COMMENT= Common startup and shutdown subroutines used by scripts
USE_BZIP2= yes
NO_BUILD= yes
+USE_REINPLACE= yes
MAN8= rc.subr.8
PLIST_FILES= etc/rc.subr \
@@ -23,6 +24,11 @@ PLIST_FILES= etc/rc.subr \
${EXAMPLESDIR:S,^${PREFIX}/,,}/example.sh
PLIST_DIRS= ${EXAMPLESDIR:S,^${PREFIX}/,,}
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's, (/etc(/rc.subr| )), ${PREFIX}\1,g' \
+ ${WRKSRC}/rc.subr.8
+
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/rc.subr ${PREFIX}/etc
@${INSTALL_MAN} ${WRKSRC}/rc.subr.8 ${MAN8PREFIX}/man/man8
diff --git a/sysutils/rc_subr/distinfo b/sysutils/rc_subr/distinfo
index 55ef4d544a17..59fd42bc382e 100644
--- a/sysutils/rc_subr/distinfo
+++ b/sysutils/rc_subr/distinfo
@@ -1,2 +1,2 @@
-MD5 (rc_subr-1.26.tar.bz2) = edf9387db635624f00b7ea80b9792759
-SIZE (rc_subr-1.26.tar.bz2) = 14423
+MD5 (rc_subr-1.29.tar.bz2) = 2c6f5d04105a0b34b364e55a5b10b644
+SIZE (rc_subr-1.29.tar.bz2) = 14443