diff options
author | shattered <shattered> | 2011-07-30 10:47:54 +0000 |
---|---|---|
committer | shattered <shattered> | 2011-07-30 10:47:54 +0000 |
commit | 7a6888ba65b24866be7d7782f3c63de1b2592b0d (patch) | |
tree | b79959d4a85bf7e2b2fe54c42141355d279f460a /sysutils | |
parent | 4d40eea7711e5b89f0dfab9a2a2362ea0daf5b7d (diff) | |
download | pkgsrc-7a6888ba65b24866be7d7782f3c63de1b2592b0d.tar.gz |
PR/36803 -- honour PKG_SYSCONFDIR
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm-server/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/gkrellm-server/Makefile b/sysutils/gkrellm-server/Makefile index c6fb15fdb66..a76f5b4d0da 100644 --- a/sysutils/gkrellm-server/Makefile +++ b/sysutils/gkrellm-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2011/04/22 13:44:42 obache Exp $ +# $NetBSD: Makefile,v 1.26 2011/07/30 10:47:54 shattered Exp $ .include "../../sysutils/gkrellm/Makefile.common" @@ -12,7 +12,8 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= pkg-config PTHREAD_OPTS+= require RCD_SCRIPTS= gkrellmd -CONF_FILES= ${PREFIX:Q}/share/examples/gkrellm-server/gkrellmd.conf ${PREFIX:Q}/etc/gkrellmd.conf +EGDIR= ${PREFIX}/share/examples/gkrellm-server +CONF_FILES= ${EGDIR}/gkrellmd.conf ${PKG_SYSCONFDIR}/gkrellmd.conf .include "../../mk/bsd.prefs.mk" @@ -33,7 +34,7 @@ PKG_SUPPORTED_OPTIONS= glib1 SUBST_CLASSES+= gkprefix SUBST_STAGE.gkprefix= post-patch SUBST_FILES.gkprefix= server/gkrellmd.h -SUBST_SED.gkprefix= -e '/GKRELLMD_SYS_ETC/{s!/etc!${PREFIX}&!;}' +SUBST_SED.gkprefix= -e '/GKRELLMD_SYS_ETC/{s!/etc!${PKG_SYSCONFDIR}&!;}' post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/examples/gkrellm-server |