blob: 4aaae16eadadfbd103c1270ef9d3a9d8bad85581 (
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
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= spoofer
DISTVERSION= 1.4.11
CATEGORIES= net
MASTER_SITES= https://www.caida.org/projects/spoofer/downloads/
MAINTAINER= mjl@luckie.org.nz
COMMENT= Spoofer Project testing software
WWW= https://www.caida.org/projects/spoofer/
LICENSE= GPLv3
BUILD_DEPENDS= protoc:devel/protobuf
LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf
RUN_DEPENDS= scamper:net/scamper
USES= compiler:c++11-lib
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-development --with-protobuf=${LOCALBASE}
PORTDOCS= README
OPTIONS_DEFINE= DOCS GUI
OPTIONS_DEFAULT=GUI
OPTIONS_SUB= yes
GUI_USES= gl qt:5
GUI_USE= GL=gl QT=buildtools_build,qmake_build,core,network,gui,widgets
GUI_CONFIGURE_ENABLE= manager
GUI_VARS= USE_RC_SUBR=${PORTNAME}
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
do-install-GUI-on:
.for r in 16 32 48 64 128 256
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${r}x${r}/apps
${INSTALL_DATA} ${WRKSRC}/icons/spoofer${r}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${r}x${r}/apps/spoofer.png
.endfor
.include <bsd.port.mk>
|