From owner-svn-ports-head@freebsd.org Sat Aug 17 02:02:14 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F8F0B7D2A; Sat, 17 Aug 2019 02:02:14 +0000 (UTC) (envelope-from yuri@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 469Njd752rz3L7s; Sat, 17 Aug 2019 02:02:13 +0000 (UTC) (envelope-from yuri@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 D69C0A8D8; Sat, 17 Aug 2019 02:02:13 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7H22Dt3013743; Sat, 17 Aug 2019 02:02:13 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7H22DTI013742; Sat, 17 Aug 2019 02:02:13 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201908170202.x7H22DTI013742@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 17 Aug 2019 02:02:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509134 - head/net-im/matterircd X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/net-im/matterircd X-SVN-Commit-Revision: 509134 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Sat, 17 Aug 2019 02:02:14 -0000 Author: yuri Date: Sat Aug 17 02:02:13 2019 New Revision: 509134 URL: https://svnweb.freebsd.org/changeset/ports/509134 Log: net-im/matterircd: Switch to USES=go:modules, fix build with go1.13 PR: 239883 Submitted by: Dmitri Goutnik Approved by: portmgr (unbreak with the upcoming go1.13) Modified: head/net-im/matterircd/Makefile Modified: head/net-im/matterircd/Makefile ============================================================================== --- head/net-im/matterircd/Makefile Sat Aug 17 01:58:31 2019 (r509133) +++ head/net-im/matterircd/Makefile Sat Aug 17 02:02:13 2019 (r509134) @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= matterircd -PORTVERSION= 0.19.2 DISTVERSIONPREFIX= v +DISTVERSION= 0.19.2 CATEGORIES= net-im irc MAINTAINER= norrland@nullbyte.se @@ -13,23 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 -USES= go +USES= go:modules USE_RC_SUBR= matterircd USE_GITHUB= yes GH_ACCOUNT= 42wim -GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} USERS= matterircd GROUPS= matterircd -do-build: - @cd ${WRKSRC}/${GH_SUBDIR} && \ - ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/matterircd ${STAGEDIR}${PREFIX}/bin +post-install: ${INSTALL_DATA} ${WRKSRC}/matterircd.toml.example \ ${STAGEDIR}${PREFIX}/etc/matterircd.toml.sample