summaryrefslogtreecommitdiff
path: root/wm/weewm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /wm/weewm
parentdf12796d2c7ff30316099a62cbdf43f49006d442 (diff)
downloadpkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz
Add DESTDIR support.
Diffstat (limited to 'wm/weewm')
-rw-r--r--wm/weewm/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/wm/weewm/Makefile b/wm/weewm/Makefile
index e521ce46cd2..8f9e5107605 100644
--- a/wm/weewm/Makefile
+++ b/wm/weewm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/05/10 08:12:10 obache Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:40 joerg Exp $
#
DISTNAME= weewm-0.0.2
@@ -11,21 +11,21 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://weewm.flashtux.org/
COMMENT= Fast and ultra light windowmanager with total keyboard control
+PKG_DESTDIR_SUPPORT= user-destdir
EXAMPLESDIR= ${PREFIX}/share/examples/weewm
DOCDIR= ${PREFIX}/share/doc/weewm
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/weewm \
+ share/doc/weewm
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/weewm ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/weewm.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/config.rc ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/keys.rc ${EXAMPLESDIR}
- ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/weewm ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/weewm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/examples/config.rc ${DESTDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/keys.rc ${DESTDIR}${EXAMPLESDIR}
.for f in AUTHORS FAQ README
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
.endfor
.include "../../x11/libX11/buildlink3.mk"