From owner-svn-ports-head@freebsd.org Tue Jul 9 18:25:20 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41E0115E1418; Tue, 9 Jul 2019 18:25:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FD5776913; Tue, 9 Jul 2019 18:25:19 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9531338C1; Tue, 9 Jul 2019 18:25:19 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x69IPJWt088723; Tue, 9 Jul 2019 18:25:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x69IPJnh088722; Tue, 9 Jul 2019 18:25:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201907091825.x69IPJnh088722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 9 Jul 2019 18:25:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506300 - head/net/spoofer X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/net/spoofer X-SVN-Commit-Revision: 506300 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9FD5776913 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2019 18:25:20 -0000 Author: sunpoet Date: Tue Jul 9 18:25:19 2019 New Revision: 506300 URL: https://svnweb.freebsd.org/changeset/ports/506300 Log: Revert Makefile change in r506192 to provide correct commit log Modified: head/net/spoofer/Makefile Modified: head/net/spoofer/Makefile ============================================================================== --- head/net/spoofer/Makefile Tue Jul 9 18:20:13 2019 (r506299) +++ head/net/spoofer/Makefile Tue Jul 9 18:25:19 2019 (r506300) @@ -16,7 +16,7 @@ BUILD_DEPENDS= protoc:devel/protobuf LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf RUN_DEPENDS= scamper:net/scamper -USES= compiler:c++11-lib +USES= compiler:c++11-lib qt:5 CONFIGURE_ARGS= --disable-development --with-protobuf=${LOCALBASE} GNU_CONFIGURE= yes @@ -27,20 +27,29 @@ OPTIONS_DEFINE= DOCS GUI OPTIONS_DEFAULT=GUI OPTIONS_SUB= yes -GUI_CONFIGURE_ENABLE= manager -GUI_USE= GL=gl QT=buildtools_build,qmake_build,core,network,gui,widgets -GUI_USES= gl qt:5 -GUI_VARS= USE_RC_SUBR=${PORTNAME} +.include -do-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} +.if ${PORT_OPTIONS:MGUI} +USE_QT= buildtools_build qmake_build core network gui widgets +USE_GL+= gl +USE_RC_SUBR= ${PORTNAME} +.else +CONFIGURE_ARGS+= --disable-manager +.endif -do-install-GUI-on: +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