diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-06 16:07:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-06 16:07:39 +0000 |
commit | deb9759c0d90e859cbdb7ae4cd0adf55246c1924 (patch) | |
tree | 92decbaf61400636453d0de5c1d99b1352dba223 | |
parent | 68689bb0f36c19c50916dbc79be9da4b0147a927 (diff) | |
download | pkgsrc-deb9759c0d90e859cbdb7ae4cd0adf55246c1924.tar.gz |
Use SUBST framework.
-rw-r--r-- | wm/larswm/Makefile | 13 |
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 |