pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/larswm DESTDIR support. Fix maintainer



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce15453e3a82
branches:  trunk
changeset: 554578:ce15453e3a82
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Feb 16 13:48:03 2009 +0000

description:
DESTDIR support. Fix maintainer

diffstat:

 wm/larswm/Makefile |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 2b912ee38e57 -r ce15453e3a82 wm/larswm/Makefile
--- a/wm/larswm/Makefile        Mon Feb 16 13:36:46 2009 +0000
+++ b/wm/larswm/Makefile        Mon Feb 16 13:48:03 2009 +0000
@@ -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 @@
 MASTER_SITES=  http://home.earthlink.net/~lab1701/larswm/
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} ${DOCFILES}
 
-MAINTAINER=    pkgsrc-users@@NetBSD.org
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 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_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"



Home | Main Index | Thread Index | Old Index