mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
0ee6443efd
Approved by: portmgr (blanket)
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
PORTNAME= sngrep
|
|
DISTVERSION= 1.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= tad@vif.com
|
|
COMMENT= SIP Packet display and capture
|
|
WWW= https://github.com/irontec/sngrep
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= autoreconf localbase ncurses pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
CONFIGURE_ARGS= --with-zlib
|
|
|
|
OPTIONS_DEFINE= EEP IPV6 PCRE UNICODE
|
|
OPTIONS_DEFAULT= EEP IPV6 UNICODE OPENSSL
|
|
|
|
OPTIONS_RADIO= SSL
|
|
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
|
|
|
|
EEP_DESC= Enable EEP packet send/receive support
|
|
|
|
EEP_CONFIGURE_ENABLE= eep
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libgpg-error.so:security/libgpg-error
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENV+= SSL_CFLAGS="-I${OPENSSLINC}" \
|
|
SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
|
|
PCRE_CONFIGURE_WITH= pcre2
|
|
PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
|
|
|
|
UNICODE_CONFIGURE_ENABLE= unicode
|
|
|
|
.include <bsd.port.mk>
|