summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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