summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-02-10 19:26:38 +0000
committerume <ume@FreeBSD.org>2005-02-10 19:26:38 +0000
commit189474741ed991294fa513de50ce97a3dd78505e (patch)
treef4b9805f917ac14b2fae24034c981a359452c2a3 /sysutils
parentd9cc878b7f990fc26e61b30805e6ce046797c268 (diff)
downloadFreeBSD-ports-189474741ed991294fa513de50ce97a3dd78505e.zip
FreeBSD-ports-189474741ed991294fa513de50ce97a3dd78505e.tar.gz
use new scheme of USE_RC_SUBR.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gkrellm2/Makefile8
-rw-r--r--sysutils/gkrellm2/files/gkrellmd.sh.in (renamed from sysutils/gkrellm2/files/gkrellmd.sh)0
-rw-r--r--sysutils/gkrellm2/pkg-plist1
3 files changed, 1 insertions, 8 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 54dbb51..6605fec 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -23,7 +23,7 @@ CONFLICTS= gkrellm-1.*
LATEST_LINK= ${PORTNAME}2
-USE_RC_SUBR= YES
+USE_RC_SUBR= gkrellmd.sh
WRKSRC= ${WRKDIR}/${DISTNAME:C/[a-z]$//}
@@ -77,9 +77,6 @@ CFLAGS+= -DSYSTEM_THEMES_DIR='\"${X11BASE}/share/gkrellm2/themes\"' \
-DGKRELLMD_SYS_ETC='\"${PREFIX}/etc\"' \
-DGKRELLMD_SYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm2/plugins-gkrellmd\"'
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
- RC_SUBR=${RC_SUBR}
-
pre-everything::
.if !defined(GKRELLM_SERVER_ONLY)
@${ECHO_MSG} ""
@@ -96,9 +93,6 @@ post-install:
.endif
@${CHMOD} 2511 ${PREFIX}/sbin/gkrellmd
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/gkrellmd.sh > ${PREFIX}/etc/rc.d/gkrellmd.sh
- @${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/gkrellmd.sh
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/server/gkrellmd.conf \
${EXAMPLESDIR}/gkrellmd.conf
diff --git a/sysutils/gkrellm2/files/gkrellmd.sh b/sysutils/gkrellm2/files/gkrellmd.sh.in
index 1a826b5..1a826b5 100644
--- a/sysutils/gkrellm2/files/gkrellmd.sh
+++ b/sysutils/gkrellm2/files/gkrellmd.sh.in
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index ee1d4af..ebb2786 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -6,7 +6,6 @@ sbin/gkrellmd
%%EXAMPLESDIR%%/gkrellmd.conf
@exec [ -f %D/etc/gkrellmd.conf ] || cp %B/%f %D/etc/gkrellmd.conf
@dirrm %%EXAMPLESDIR%%
-etc/rc.d/gkrellmd.sh
@cwd %%X11BASE%%
%%CLIENT%%include/gkrellm2/gkrellm.h
%%CLIENT%%include/gkrellm2/gkrellm-public-proto.h
OpenPOWER on IntegriCloud