blob: dc64dd56a708be2f63d8816f7f91a7cd08f19ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= vortex
DISTVERSION= 2.9.0-59
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}-ids/${PORTNAME}/2.9.0/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Network surveillance engine
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/lib/libnids.a:net/libnids
LIB_DEPENDS= libnet.so:net/libnet
USES= gnome
USE_GNOME= glib20
WRKSRC= ${WRKDIR}/${PORTNAME}-2.9.0
do-build:
cd ${WRKSRC} && ${CC} -c vortex.c -I${LOCALBASE}/include
cd ${WRKSRC} && ${CC} -v -o vortex vortex.o -L${LOCALBASE}/lib ${LOCALBASE}/lib/libnids.a -lnet -lglib-2.0 -lgthread-2.0 -lpcap -pthread
cd ${WRKSRC} && ${CC} -o xpipes xpipes.c -pthread
do-install:
${INSTALL_DATA} ${WRKSRC}/vortex.conf ${STAGEDIR}${PREFIX}/etc/vortex.conf.sample
${INSTALL_PROGRAM} ${WRKSRC}/vortex ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xpipes ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|