04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= spoofer
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.caida.org/projects/spoofer/downloads/
|
|
|
|
MAINTAINER= mjl@luckie.org.nz
|
|
COMMENT= Spoofer Project testing software
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= protoc:devel/protobuf
|
|
LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf
|
|
|
|
PORTDOCS= README
|
|
|
|
USES= compiler:c++11-lib
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-development
|
|
|
|
OPTIONS_DEFINE= DOCS GUI
|
|
OPTIONS_DEFAULT= GUI
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGUI}
|
|
USE_QT5= buildtools_build qmake_build core network gui widgets
|
|
USE_GL+= gl
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
INSTALLS_ICONS= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-manager
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MGUI}
|
|
.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
|
|
.endif
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|