summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2008-11-04 21:01:51 +0000
committerabs <abs>2008-11-04 21:01:51 +0000
commitb9ccc07a4b886203fe9fd6a7c74f5cbbc1986769 (patch)
treeb414dab75bf886f8e76d3b5afb8c6182816b47ce
parenta9c1e2f8fa1debb997dc0e7ef1dbb26cb25f05b3 (diff)
downloadpkgsrc-b9ccc07a4b886203fe9fd6a7c74f5cbbc1986769.tar.gz
Fix install with USE_DESTDIR set. Bump pkgrevision
-rw-r--r--net/libpcap/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 05c27d7f24c..22afa194dee 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2008/10/30 08:12:34 adam Exp $
+# $NetBSD: Makefile,v 1.44 2008/11/04 21:01:51 abs Exp $
DISTNAME= libpcap-1.0.0
+PKGREVISION= 1
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
@@ -24,6 +25,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ipv6
.endif
+pre-install:
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include