Lines 7-15
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= libpcap |
8 |
PORTNAME= libpcap |
9 |
PORTVERSION= 0.8.1 |
9 |
PORTVERSION= 0.8.1 |
|
|
10 |
PORTREVISION= 351 |
10 |
CATEGORIES= net |
11 |
CATEGORIES= net |
11 |
MASTER_SITES= http://www.tcpdump.org/beta/ |
12 |
MASTER_SITES= http://www.tcpdump.org/beta/ |
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-316 |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-${PORTREVISION} |
13 |
|
14 |
|
14 |
MAINTAINER= bms@FreeBSD.org |
15 |
MAINTAINER= bms@FreeBSD.org |
15 |
COMMENT= Ubiquitous network traffic capture library |
16 |
COMMENT= Ubiquitous network traffic capture library |
Lines 22-33
Link Here
|
22 |
|
23 |
|
23 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
24 |
|
25 |
|
|
|
26 |
.if defined(LIBPCAP_OVERWRITE_BASE) |
27 |
PREFIX= /usr |
28 |
PKGNAMESUFFIX= -overwrite-base |
29 |
MANPREFIX= ${PREFIX}/share |
30 |
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man |
31 |
PLIST_SUB+= NOTBASE="@comment " |
32 |
PLIST_SUB+= BASE="" |
33 |
EXTRA_PATCHES+= ${FILESDIR}/patchbase-Makefile.in |
34 |
PKGMESSAGE= ${FILESDIR}/pkg-message-base |
35 |
.else |
36 |
PLIST_SUB+= BASE="@comment " |
37 |
PLIST_SUB+= NOTBASE="" |
38 |
.endif |
39 |
|
25 |
.if !defined(WITHOUT_IPV6) |
40 |
.if !defined(WITHOUT_IPV6) |
26 |
CONFIGURE_ARGS+= --enable-ipv6 |
41 |
CONFIGURE_ARGS+= --enable-ipv6 |
27 |
.endif |
42 |
.endif |
28 |
|
43 |
|
29 |
.if !defined(WITH_DAG) |
44 |
.if !defined(WITH_DAG) |
30 |
CONFIGURE_ARGS+= --without-dag |
45 |
CONFIGURE_ARGS+= --without-dag |
|
|
46 |
.endif |
47 |
|
48 |
.if defined(LIBPCAP_OVERWRITE_BASE) |
49 |
post-install: |
50 |
${CAT} ${PKGMESSAGE} |
31 |
.endif |
51 |
.endif |
32 |
|
52 |
|
33 |
.include <bsd.port.mk> |
53 |
.include <bsd.port.mk> |