Date: Sat, 17 Aug 2019 02:02:13 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509134 - head/net-im/matterircd Message-ID: <201908170202.x7H22DTI013742@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <dg@syrec.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170202.x7H22DTI013742>