summaryrefslogtreecommitdiffstats
path: root/sysutils/rc_subr
diff options
context:
space:
mode:
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 4da04dc..126b39f 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 55ef4d5..59fd42b 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
OpenPOWER on IntegriCloud