summaryrefslogtreecommitdiff
path: root/net/aoe-vblade
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /net/aoe-vblade
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/aoe-vblade')
-rw-r--r--net/aoe-vblade/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/aoe-vblade/Makefile b/net/aoe-vblade/Makefile
index 99ae5cef166..7cf6b2d647a 100644
--- a/net/aoe-vblade/Makefile
+++ b/net/aoe-vblade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/07/28 17:25:51 obache Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:38 joerg Exp $
DISTNAME= vblade-14
PKGNAME= aoe-vblade-14
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://aoetools.sourceforge.net/
COMMENT= ATA over Ethernet (AoE) server - thin, LAN-based storage protocol
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM+= NetBSD-*-* FreeBSD-*-* Linux-*-* DragonFly-*-*
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
@@ -24,8 +26,8 @@ do-build:
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/vblade ${PREFIX}/sbin/
- ${INSTALL_SCRIPT} ${WRKSRC}/vbladed ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/vblade.8 ${PREFIX}/${PKGMANDIR}/man8/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vblade ${DESTDIR}${PREFIX}/sbin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/vbladed ${DESTDIR}${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/vblade.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
.include "../../mk/bsd.pkg.mk"