security/barnyard2: Cleanup

- Drop nop WANT_PGSQL_VER
- Spell TCL_DESC correctly (there is no OPTIONS_DESC)
- No need to include bsd.port.options.mk in this port
This commit is contained in:
Tobias Kortkamp 2019-10-05 10:51:34 +00:00
parent e736c06eb5
commit 5c2cb6d576
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513827

View File

@ -30,7 +30,7 @@ PORT_PCAP_DESC= Use libpcap from ports
.if defined(SLAVE)
OPTIONS_DEFINE+= TCL
OPTIONS_DESC= Enable tcl support for sguil
TCL_DESC= Enable tcl support for sguil
OPTIONS_DEFAULT+= TCL
.endif
@ -65,13 +65,10 @@ PGSQL_CONFIGURE_OFF= --without-postgresql
TCL_USES= tcl
TCL_CONFIGURE_ON= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER}
TCL_CONFIGURE_OFF= --without-tcl
WANT_PGSQL_VER= 92+
PORT_PCAP_LIB_DEPENDS= libpcap.so.1:net/libpcap
PORT_PCAP_CONFIGURE_ON= --with-libpcap-includes=${LOCALBASE}/include \
--with-libpcap-libraries=${LOCALBASE}/lib
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} 's|/etc|${LOCALBASE}/etc|' \
${WRKSRC}/etc/barnyard2.conf