1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net/nepenthes/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

55 lines
1.4 KiB
Makefile

# Created by: ryo
# $FreeBSD$
PORTNAME= nepenthes
PORTVERSION= 0.2.2
PORTREVISION= 12
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Nepenthes%20development/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Determine the malware activity on a network
LIB_DEPENDS= libpcre.so:devel/pcre \
libadns.so:dns/adns \
libcurl.so:ftp/curl \
libmagic.so.1:sysutils/file
USES= dos2unix libtool perl5
DOS2UNIX_FILE= modules/shellcode-generic/sch_generic_connect_trans.cpp
USE_CXXSTD= gnu++98
USE_GCC= any
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DEBUG_LOGGING PRELUDE
DEBUG_LOGGING_CONFIGURE_ENABLE= debug-logging
PRELUDE_LIB_DEPENDS= libprelude.so:security/libprelude
PRELUDE_CONFIGURE_ENABLE= prelude
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e \
's|-Werror|| ; \
s|-D.*_GNU_SOURCE||'
@${FIND} ${WRKSRC}/modules -name "*.[ch]pp" -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e \
'/<curl\/types.h>/d'
@${REINPLACE_CMD} -e \
's|-I/usr/local/include|| ; \
s|-I/usr/src/contrib/file/|| ; \
s|-L/usr/local/lib|| ; \
s|-R/usr/local/lib||' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/signatures
(cd ${WRKSRC}/modules/shellcode-signatures && ${INSTALL_DATA} \
shellcode-signatures.sc ${STAGEDIR}${DATADIR}/signatures)
.include <bsd.port.mk>