summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2010-02-04 09:18:12 +0000
committertnn <tnn@pkgsrc.org>2010-02-04 09:18:12 +0000
commitf15b6e2686073f2451e71fdcdf55e6c50f9e2948 (patch)
tree5ceef38ea87bacfdf3f51c6edd0421218ce88e67 /net
parentb425a29b21ca4abae76e676b34748dc24c41bd6d (diff)
downloadpkgsrc-f15b6e2686073f2451e71fdcdf55e6c50f9e2948.tar.gz
DESTDIR conversion
Diffstat (limited to 'net')
-rw-r--r--net/solaris-tap/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/solaris-tap/Makefile b/net/solaris-tap/Makefile
index 12dc305e5a6..2a9268d14a0 100644
--- a/net/solaris-tap/Makefile
+++ b/net/solaris-tap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/07/01 00:52:31 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/04 09:18:12 tnn Exp $
DISTNAME= tuntap
PKGNAME= solaris-tap-20070625
@@ -9,6 +9,8 @@ MAINTAINER= tnn@NetBSD.org
HOMEPAGE= http://www.whiteboard.ne.jp/~admin2/tuntap/
COMMENT= Solaris kernel module for virtual Ethernet devices
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= SunOS-*-*
GNU_CONFIGURE= yes
@@ -20,9 +22,9 @@ WRKSRC= ${WRKDIR}/tuntap
INSTALLATION_DIRS= include/net lkm
do-install:
- ${INSTALL_DATA} ${WRKSRC}/if_tun.h ${PREFIX}/include/net
+ ${INSTALL_DATA} ${WRKSRC}/if_tun.h ${DESTDIR}${PREFIX}/include/net
.for f in tap tap.conf tun tun.conf
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lkm
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/lkm
.endfor
.include "../../mk/bsd.pkg.mk"