aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-07-19 08:41:57 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-07-19 08:41:57 +0000
commitab4d9b8c50efcdff25e0460fb18e06f10c8230da (patch)
treee16633bde101a29f8dd291de4b0a25b2aa06c331 /sysutils/gkrellm2
parent3d7b3e200ffc9915bb918327619e6dcd5b06e5e8 (diff)
downloadports-ab4d9b8c50efcdff25e0460fb18e06f10c8230da.tar.gz
ports-ab4d9b8c50efcdff25e0460fb18e06f10c8230da.zip
Notes
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/Makefile5
-rw-r--r--sysutils/gkrellm2/pkg-plist5
2 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index adc89eb6da08..8cc2b7e91b40 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -95,10 +95,11 @@ post-install:
@${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 \
- ${PREFIX}/etc/gkrellmd.conf.sample
+ ${EXAMPLESDIR}/gkrellmd.conf
if [ ! -f ${PREFIX}/etc/gkrellmd.conf ]; then \
- ${CP} -p ${PREFIX}/etc/gkrellmd.conf.sample \
+ ${CP} -p ${EXAMPLESDIR}/gkrellmd.conf \
${PREFIX}/etc/gkrellmd.conf; \
fi
.if !defined(NOPORTDOCS)
diff --git a/sysutils/gkrellm2/pkg-plist b/sysutils/gkrellm2/pkg-plist
index 0b592c7eb866..9d126da448a2 100644
--- a/sysutils/gkrellm2/pkg-plist
+++ b/sysutils/gkrellm2/pkg-plist
@@ -5,10 +5,11 @@ sbin/gkrellmd
%%PORTDOCS%%share/doc/gkrellm/Themes.html
%%PORTDOCS%%@dirrm share/doc/gkrellm
@exec mkdir -p %D/libexec/gkrellm2/plugins-gkrellmd
-@unexec if cmp -s %D/etc/gkrellmd.conf %D/etc/gkrellmd.conf.sample; then rm -f %D/etc/gkrellmd.conf; fi
-etc/gkrellmd.conf.sample
+@unexec if cmp -s %D/etc/gkrellmd.conf %%EXAMPLESDIR%%/gkrellmd.conf; then rm -f %D/etc/gkrellmd.conf; fi
+%%EXAMPLESDIR%%/gkrellmd.conf
@exec [ -f %B/gkrellmd.conf ] || cp %B/%f %B/gkrellmd.conf
etc/rc.d/gkrellmd.sh
+@dirrm %%EXAMPLESDIR%%
@cwd %%X11BASE%%
%%CLIENT%%include/gkrellm2/gkrellm.h
%%CLIENT%%include/gkrellm2/gkrellm-public-proto.h