summaryrefslogtreecommitdiff
path: root/wm/pwm/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-31 04:07:59 +0000
committerjlam <jlam@pkgsrc.org>2002-01-31 04:07:59 +0000
commit565474eb82500a27c9c9f08073e974dd4c6c26e5 (patch)
tree1317d60821986db4483a535dc5ebe6714c335781 /wm/pwm/Makefile
parent6fce2389370d1ab263035bd8b611137cffac8ecf (diff)
downloadpkgsrc-565474eb82500a27c9c9f08073e974dd4c6c26e5.tar.gz
Honor PKG_SYSCONFDIR and use the general INSTALL/DEINSTALL scripts.
Diffstat (limited to 'wm/pwm/Makefile')
-rw-r--r--wm/pwm/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/wm/pwm/Makefile b/wm/pwm/Makefile
index f2f167b2012..2f04fa99fdd 100644
--- a/wm/pwm/Makefile
+++ b/wm/pwm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/09/09 03:10:08 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2002/01/31 04:07:59 jlam Exp $
#
DISTNAME= pwm-1.0
@@ -11,6 +11,24 @@ COMMENT= Window manager that frames multiple client windows in a single frame
USE_BUILDLINK_ONLY= YES
USE_GMAKE= YES
+MAKE_ENV+= SYSCONFDIR="${PKG_SYSCONFDIR}"
+
+PKG_SYSCONFSUBDIR= pwm
+EGDIR= ${PREFIX}/share/examples/pwm
+CONF_FILES= ${EGDIR}/pwm.conf ${PKG_SYSCONFDIR}/pwm.conf
+SUPPS= buttons-default.conf
+SUPPS+= keys-default.conf
+SUPPS+= menus-default.conf
+SUPPS+= look-beoslike.conf
+SUPPS+= look-brownsteel.conf
+SUPPORT_FILES= # empty
+.for FILE in ${SUPPS}
+SUPPORT_FILES+= ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
+.endfor
+
+post-install:
+ ${RM} -f ${EGDIR}/sample.conf
.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"