summaryrefslogtreecommitdiff
path: root/wm/larswm
diff options
context:
space:
mode:
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"