summaryrefslogtreecommitdiff
path: root/wm/larswm
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-06 16:07:39 +0000
committerjoerg <joerg>2006-01-06 16:07:39 +0000
commit21323d9acc18362b6607675b2572a379fc0bc968 (patch)
tree92decbaf61400636453d0de5c1d99b1352dba223 /wm/larswm
parent7bc4aacf4065b1d189b6e47e302d9b49d3715f47 (diff)
downloadpkgsrc-21323d9acc18362b6607675b2572a379fc0bc968.tar.gz
Use SUBST framework.
Diffstat (limited to 'wm/larswm')
-rw-r--r--wm/larswm/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/wm/larswm/Makefile b/wm/larswm/Makefile
index 890518aec11..ad219e04085 100644
--- a/wm/larswm/Makefile
+++ b/wm/larswm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/12/29 06:22:20 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2006/01/06 16:07:39 joerg Exp $
#
DISTNAME= larswm-7.5.3
@@ -23,13 +23,10 @@ CONF_FILES= ${EGDIR}/sample.larswmrc ${PKG_SYSCONFDIR}/larswmrc
CPPFLAGS+= -DPKG_SYSCONFDIR=\"${PKG_SYSCONFDIR:Q}\"
-post-patch:
- @cd ${WRKSRC} && \
- ( \
- ${MV} larswm.man larswm.man.orig; \
- ${SED} ${FILES_SUBST_SED} larswm.man.orig > \
- larswm.man; \
- )
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= larswm.man
+SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
+SUBST_STAGE.paths= post-patch
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/larswm