diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /wm/weewm | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'wm/weewm')
-rw-r--r-- | wm/weewm/Makefile | 18 |
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" |