aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-02-11 03:26:38 +0800
committerume <ume@FreeBSD.org>2005-02-11 03:26:38 +0800
commit189474741ed991294fa513de50ce97a3dd78505e (patch)
treef4b9805f917ac14b2fae24034c981a359452c2a3 /sysutils/gkrellm2
parentd9cc878b7f990fc26e61b30805e6ce046797c268 (diff)
downloadfreebsd-ports-graphics-189474741ed991294fa513de50ce97a3dd78505e.tar.gz
freebsd-ports-graphics-189474741ed991294fa513de50ce97a3dd78505e.tar.zst
freebsd-ports-graphics-189474741ed991294fa513de50ce97a3dd78505e.zip
use new scheme of USE_RC_SUBR.
Diffstat (limited to 'sysutils/gkrellm2')
-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 54dbb51e5e3..6605fecdf4e 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 1a826b5b4e8..1a826b5b4e8 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 ee1d4afcaf8..ebb2786dedf 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