Index: head/net/tcpdump398/Makefile =================================================================== --- head/net/tcpdump398/Makefile (revision 427000) +++ head/net/tcpdump398/Makefile (revision 427001) @@ -1,20 +1,23 @@ # Created by: Edwin Groothuis # $FreeBSD$ PORTNAME= tcpdump398 PORTVERSION= 1.0 CATEGORIES= net ipv6 MASTER_SITES= http://www.mavetju.org/download/adopted/ MAINTAINER= ports@FreeBSD.org COMMENT= Ubiquitous network traffic analysis tool - FreeBSD 7 version for FreeBSD 8 -PLIST_FILES= bin/tcpdump398 man/man1/tcpdump398.1.gz +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/contrib/LICENSE -USES= tar:bzip2 +USES= ssl tar:bzip2 + +PLIST_FILES= bin/tcpdump398 man/man1/tcpdump398.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${STAGEDIR}${PREFIX}/bin/tcpdump398 ${INSTALL_MAN} ${WRKSRC}/tcpdump.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/tcpdump398.1.gz .include Index: head/net/tcpdump398/files/patch-Makefile =================================================================== --- head/net/tcpdump398/files/patch-Makefile (revision 427000) +++ head/net/tcpdump398/files/patch-Makefile (revision 427001) @@ -1,28 +1,28 @@ ---- Makefile.orig 2014-08-15 18:26:37.000000000 -0400 -+++ Makefile 2014-08-15 18:27:35.000000000 -0400 -@@ -38,7 +38,7 @@ +--- Makefile.orig 2009-10-01 11:35:40 UTC ++++ Makefile +@@ -38,7 +38,7 @@ CFLAGS+= -I${.CURDIR} -I${TCPDUMP_DISTDI CFLAGS+= -DHAVE_CONFIG_H CFLAGS+= -D_U_="__attribute__((unused))" -.if ${MK_INET6_SUPPORT} != "no" +.if empty(MK_INET6_SUPPORT:Mno) SRCS+= print-ip6.c print-ip6opts.c print-mobility.c print-ripng.c \ print-icmp6.c print-frag6.c print-rt6.c print-ospf6.c print-dhcp6.c CFLAGS+= -DINET6 -@@ -49,14 +49,14 @@ +@@ -49,14 +49,14 @@ CFLAGS+= -DLBL_ALIGN DPADD= ${LIBL} ${LIBPCAP} LDADD= -ll -lpcap -.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH) +.if empty(MK_OPENSSL:Mno) && !defined(RELEASE_CRUNCH) DPADD+= ${LIBCRYPTO} LDADD+= -lcrypto CFLAGS+= -I${DESTDIR}/usr/include/openssl CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H -DHAVE_OPENSSL_EVP_H .endif -.if ${MK_PF} != "no" +.if empty(MK_PF:Mno) SRCS+= print-pflog.c CFLAGS+= -DHAVE_NET_PFVAR_H .endif