forked from Lainports/freebsd-ports
- Remove custom build/install targets left in place after r505321 - Switch to the new GO_TARGET tuple syntax introduced in r512001 Reviewed by: tobik Approved by: araujo (mentor), portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D21744
28 lines
498 B
Makefile
28 lines
498 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rest-server
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.8
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= Performant HTTP server for sysutils/restic backend API
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= restic
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
|
|
|
|
USE_RC_SUBR= restserver
|
|
|
|
USERS= restserver
|
|
GROUPS= restserver
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|