svn commit: r509134 - head/net-im/matterircd

Yuri Victorovich yuri at FreeBSD.org
Sat Aug 17 02:02:14 UTC 2019


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 at 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 at 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
 


More information about the svn-ports-all mailing list