summaryrefslogtreecommitdiff
path: root/wm/larswm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-16 13:48:03 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-16 13:48:03 +0000
commita86a59042db41d0a69d8cda4f9889bca96d3c94f (patch)
tree05b1abc355084a1b5dd04cedef4666b8e0a81e0f /wm/larswm
parent82c560fcf5a86f56e443328131df17612416a6ff (diff)
downloadpkgsrc-a86a59042db41d0a69d8cda4f9889bca96d3c94f.tar.gz
DESTDIR support. Fix maintainer
Diffstat (limited to 'wm/larswm')
-rw-r--r--wm/larswm/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/wm/larswm/Makefile b/wm/larswm/Makefile
index a06d92f021a..cb2d2dfd527 100644
--- a/wm/larswm/Makefile
+++ b/wm/larswm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/01/23 21:14:17 jschauma Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/16 13:48:03 joerg Exp $
#
DISTNAME= larswm-7.5.3
@@ -7,10 +7,12 @@ CATEGORIES= wm x11
MASTER_SITES= http://home.earthlink.net/~lab1701/larswm/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
-MAINTAINER= pkgsrc-users@@NetBSD.org
+MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.earthlink.net/~lab1701/larswm/
COMMENT= 9wm-like window manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
DOCFILES= keyboard_refcard.pdf mouse_refcard.pdf
@@ -29,13 +31,13 @@ SUBST_FILES.paths= larswm.man
SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
SUBST_STAGE.paths= post-patch
+INSTALLATION_DIRS= share/doc/larswm share/examples/larswm
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/larswm
.for pdf in ${DOCFILES}
- ${INSTALL_DATA} ${DISTDIR}/${pdf} ${PREFIX}/share/doc/larswm
+ ${INSTALL_DATA} ${DISTDIR}/${pdf} ${DESTDIR}${PREFIX}/share/doc/larswm
.endfor
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample.* ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample.* ${DESTDIR}${EGDIR}
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"