aboutsummaryrefslogtreecommitdiff
path: root/www/devd/Makefile
blob: 9e1f878a1af2a356f8574dc4860cf5977356d788 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	devd
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9
PORTREVISION=	12
CATEGORIES=	www devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Local webserver for developers
WWW=		https://github.com/cortesi/devd

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	cortesi

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
GH_TUPLE=	golang:sys:fead79001313:golang_sys/vendor/golang.org/x/sys_fead79001313

PLIST_FILES=	bin/${PORTNAME}

pre-build:
	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
	${MV} ${WRKSRC}/vendor/golang.org/x/sys_fead79001313 ${WRKSRC}/vendor/golang.org/x/sys

.include <bsd.port.mk>