fc95b3f0cf
- 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
30 lines
645 B
Makefile
30 lines
645 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gomplate
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.6.0
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= seanc@FreeBSD.org
|
|
COMMENT= Command-line tool for rendering templates before executing binaries
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hairyhenderson
|
|
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GH_TAG_COMMIT= ce4b3e3
|
|
|
|
GO_BUILDFLAGS= -ldflags "\
|
|
-w -s \
|
|
-X github.com/${GH_ACCOUNT}/${PORTNAME}/version.GitCommit=${GH_TAG_COMMIT} \
|
|
-X github.com/${GH_ACCOUNT}/${PORTNAME}/version.Version=${DISTVERSION}"
|
|
GO_TARGET= ./cmd/gomplate
|
|
|
|
PLIST_FILES= bin/gomplate
|
|
|
|
.include <bsd.port.mk>
|