pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libpcap libpcap dymanically generates man page sec...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ceb8131ec616
branches: trunk
changeset: 550167:ceb8131ec616
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sun Nov 16 15:10:10 2008 +0000
description:
libpcap dymanically generates man page sections based on the OS. For SunOS
MAN_MISC_INFO and MAN_FILE_FORMATS are in different sections to others so
account for this with some PLIST magic.
PKGREVISION++
diffstat:
net/libpcap/Makefile | 11 +++++++++--
net/libpcap/PLIST | 11 +++++++----
2 files changed, 16 insertions(+), 6 deletions(-)
diffs (57 lines):
diff -r 7a1fedee80fe -r ceb8131ec616 net/libpcap/Makefile
--- a/net/libpcap/Makefile Sun Nov 16 14:01:11 2008 +0000
+++ b/net/libpcap/Makefile Sun Nov 16 15:10:10 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2008/11/07 11:51:10 abs Exp $
+# $NetBSD: Makefile,v 1.46 2008/11/16 15:10:10 adrianp Exp $
DISTNAME= libpcap-1.0.0
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
@@ -19,6 +19,7 @@
USE_TOOLS+= bison gm4 lex
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+PLIST_VARS+= SunOS std
.include "../../mk/bsd.prefs.mk"
@@ -26,6 +27,12 @@
CONFIGURE_ARGS+= --enable-ipv6
.endif
+.if ${OPSYS} == "SunOS"
+PLIST.SunOS= yes
+.else
+PLIST.std= yes
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
diff -r 7a1fedee80fe -r ceb8131ec616 net/libpcap/PLIST
--- a/net/libpcap/PLIST Sun Nov 16 14:01:11 2008 +0000
+++ b/net/libpcap/PLIST Sun Nov 16 15:10:10 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2008/10/30 08:12:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2008/11/16 15:10:10 adrianp Exp $
bin/pcap-config
include/pcap-bpf.h
include/pcap-int.h
@@ -70,7 +70,10 @@
man/man3/pcap_stats.3
man/man3/pcap_statustostr.3
man/man3/pcap_strerror.3
-man/man5/pcap-savefile.5
-man/man7/pcap-filter.7
-man/man7/pcap-linktype.7
+${PLIST.std}man/man5/pcap-savefile.5
+${PLIST.std}man/man7/pcap-filter.7
+${PLIST.std}man/man7/pcap-linktype.7
+${PLIST.SunOS}man/man4/pcap-savefile.4
+${PLIST.SunOS}man/man5/pcap-filter.5
+${PLIST.SunOS}man/man5/pcap-linktype.5
@dirrm include/pcap
Home |
Main Index |
Thread Index |
Old Index