summaryrefslogtreecommitdiff
path: root/net/aoe-vblade/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/aoe-vblade/Makefile')
-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"