Lines 1-23
Link Here
|
1 |
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> |
1 |
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> |
2 |
# $FreeBSD: head/net/spoofer/Makefile 408680 2016-02-11 09:23:18Z jadawin $ |
2 |
# $FreeBSD: head/net/spoofer/Makefile 408680 2016-02-11 09:23:18Z jadawin $ |
3 |
|
3 |
|
4 |
PORTNAME= spoofer |
4 |
PORTNAME= spoofer |
5 |
PORTVERSION= 0.8e |
5 |
PORTVERSION= 1.0.2 |
6 |
CATEGORIES= net |
6 |
CATEGORIES= net |
7 |
MASTER_SITES= http://spoofer.caida.org/ |
7 |
MASTER_SITES= http://www.caida.org/projects/spoofer/downloads/ |
8 |
|
8 |
|
9 |
MAINTAINER= jadawin@FreeBSD.org |
9 |
MAINTAINER= jadawin@FreeBSD.org |
10 |
COMMENT= Spoofer Project testing software |
10 |
COMMENT= Spoofer Project testing software |
11 |
|
11 |
|
12 |
PLIST_FILES= bin/spoofer |
12 |
LICENSE= GPLv3 |
13 |
PORTDOCS= README |
|
|
14 |
|
13 |
|
15 |
HAS_CONFIGURE= yes |
14 |
BUILD_DEPENDS= protoc:devel/protobuf |
|
|
15 |
LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf |
16 |
|
16 |
|
17 |
OPTIONS_DEFINE= DOCS |
17 |
PORTDOCS= README |
18 |
|
18 |
|
19 |
do-install: |
19 |
GNU_CONFIGURE= yes |
20 |
${INSTALL_PROGRAM} ${WRKSRC}/prober/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
20 |
CONFIGURE_ARGS+= --disable-development |
|
|
21 |
|
22 |
OPTIONS_DEFINE= DOCS GUI |
23 |
OPTIONS_DEFAULT= GUI |
24 |
OPTIONS_SUB= yes |
25 |
|
26 |
.include <bsd.port.options.mk> |
27 |
|
28 |
.if ${PORT_OPTIONS:MGUI} |
29 |
USE_QT5= qmake_build core network gui widgets |
30 |
USE_GL+= gl |
31 |
USE_RC_SUBR= ${PORTNAME} |
32 |
.else |
33 |
CONFIGURE_ARGS+= --disable-manager |
34 |
.endif |
21 |
|
35 |
|
22 |
do-install-DOCS-on: |
36 |
do-install-DOCS-on: |
23 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
37 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |