diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:46:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:46:18 +0000 |
commit | 93963b34fa628b995ffc09e0241bdb72c019ad0f (patch) | |
tree | 3b26d102a29ae4469a84aa30a178d8374f8d3893 /net/slurm | |
parent | 6e1cd911979e3c0784f72c5f6d2cd0a7556f1250 (diff) | |
download | pkgsrc-93963b34fa628b995ffc09e0241bdb72c019ad0f.tar.gz |
DESTDIR support
Diffstat (limited to 'net/slurm')
-rw-r--r-- | net/slurm/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/slurm/Makefile b/net/slurm/Makefile index ed734c38f25..a95a2616183 100644 --- a/net/slurm/Makefile +++ b/net/slurm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/05/19 21:16:27 obache Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/11 22:47:52 joerg Exp $ # DISTNAME= slurm-0.3.3 @@ -9,16 +9,18 @@ MAINTAINER= mail@eckigesauge.de HOMEPAGE= http://www.raisdorf.net/projects/slurm/ COMMENT= Realtime traffic statistics +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/slurm do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/slurm - for theme in black blue cyan foo; do \ - ${INSTALL_DATA} ${WRKSRC}/themes/$${theme}.theme ${PREFIX}/share/slurm ; \ + ${INSTALL_PROGRAM} ${WRKSRC}/slurm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/slurm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + for theme in black blue cyan foo; do \ + ${INSTALL_DATA} ${WRKSRC}/themes/$${theme}.theme \ + ${DESTDIR}${PREFIX}/share/slurm ; \ done .include "../../devel/ncurses/buildlink3.mk" |