27 lines
620 B
Makefile
27 lines
620 B
Makefile
PORTNAME= versitygw
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= filesystems www
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= High-Performance S3 Gateway and Translation Service
|
|
WWW= https://github.com/versity/versitygw/wiki
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:modules
|
|
USE_RC_SUBR= versitygw
|
|
GO_MODULE= github.com/versity/versitygw
|
|
GO_TARGET= ./cmd/versitygw
|
|
GO_BUILDFLAGS+= -ldflags='-X main.Version=${DISTVERSION} -X main.Build=FreeBSD'
|
|
|
|
PLIST_DIRS= /var/log/versitygw
|
|
PLIST_FILES= bin/versitygw
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}/var/log/versitygw
|
|
|
|
.include <bsd.port.mk>
|