Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libpcap install pcap-check. Someone might need it.
details: https://anonhg.NetBSD.org/src/rev/fc4d04e36caa
branches: trunk
changeset: 759273:fc4d04e36caa
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 05 03:00:44 2010 +0000
description:
install pcap-check. Someone might need it.
diffstat:
external/bsd/libpcap/Makefile | 4 ++--
external/bsd/libpcap/bin/Makefile | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r e94eb160296b -r fc4d04e36caa external/bsd/libpcap/Makefile
--- a/external/bsd/libpcap/Makefile Sun Dec 05 02:40:40 2010 +0000
+++ b/external/bsd/libpcap/Makefile Sun Dec 05 03:00:44 2010 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile,v 1.1 2010/12/05 01:45:46 christos Exp $
+# $NetBSD: Makefile,v 1.2 2010/12/05 03:00:44 christos Exp $
-SUBDIR= lib
+SUBDIR= bin lib
.include <bsd.subdir.mk>
diff -r e94eb160296b -r fc4d04e36caa external/bsd/libpcap/bin/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libpcap/bin/Makefile Sun Dec 05 03:00:44 2010 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2010/12/05 03:00:44 christos Exp $
+
+.include <bsd.own.mk>
+
+.PATH: ${.CURDIR}/../dist
+
+FILESDIR=/usr/bin
+FILESMODE=555
+FILES=pcap-config
+MAN=pcap-config.1
+
+pcap-config: pcap-config.in
+ @rm -f ${.TARGET}
+ ${TOOL_SED} -e 's,@libdir@,/usr/lib,g' \
+ -e 's,@includedir@,/usr/include,g' \
+ -e 's,@LIBS@,,g' < ${.ALLSRC} > ${.TARGET}
+ chmod a+x ${.TARGET}
+
+
+.include <bsd.files.mk>
+.include <bsd.man.mk>
Home |
Main Index |
Thread Index |
Old Index