aboutsummaryrefslogblamecommitdiff
path: root/www/gobuffalo/Makefile
blob: 9d2da5b56cbaf81f99d33c7a2ef87929f0166a20 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                         
                       


                         
                                




                                                                               
                             
 
                              
 
                                            

                               
 

                           
                      
                                   

                                


                                        
 

                            


                                        
                      
PORTNAME=	gobuffalo
PORTVERSION=	0.16.26
DISTVERSIONPREFIX=	v
CATEGORIES=	www

MAINTAINER=	dmgk@FreeBSD.org
COMMENT=	Go web development eco-system, designed to make the life easier

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>