aboutsummaryrefslogtreecommitdiff
path: root/www/gobuffalo/Makefile
blob: 3060d3a2ab03704d7c1374f9821ccb837bb41e99 (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
29
30
31
32
33
34
35
36
37
PORTNAME=	gobuffalo
PORTVERSION=	0.16.27
DISTVERSIONPREFIX=	v
PORTREVISION=	15
CATEGORIES=	www

MAINTAINER=	dmgk@FreeBSD.org
COMMENT=	Go web development eco-system, designed to make the life easier
WWW=		https://gobuffalo.io/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	git:devel/git

USES=		go:modules,run

GO_MODULE=	github.com/gobuffalo/buffalo
GO_TARGET=	./buffalo
GO_BUILDFLAGS=	-tags "${TAGS}"

PLIST_FILES=	bin/buffalo

OPTIONS_DEFINE=	SQLITE
OPTIONS_DEFAULT=	SQLITE YARN
OPTIONS_RADIO=	NODE
OPTIONS_RADIO_NODE=	NPM YARN

NPM_DESC=	Use npm package manager
YARN_DESC=	Use yarn package manager

SQLITE_VARS=	tags+=sqlite

NPM_RUN_DEPENDS=	npm>=0:www/npm
YARN_RUN_DEPENDS=	yarn>=0:www/yarn

.include <bsd.port.mk>