aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
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 54dbb51e5e39..6605fecdf4eb 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 1a826b5b4e8d..1a826b5b4e8d 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 ee1d4afcaf89..ebb2786dedf7 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