29 lines
588 B
Makefile
29 lines
588 B
Makefile
# $OpenBSD: Makefile,v 1.9 2019/01/31 20:22:07 ajacoutot Exp $
|
|
|
|
COMMENT= manage Exoscale infrastructure from the command-line
|
|
|
|
GH_TAGNAME= v1.0.7
|
|
GH_ACCOUNT= exoscale
|
|
GH_PROJECT= cli
|
|
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME:C/^v//}
|
|
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
MODULES= lang/go
|
|
|
|
# see ${WRKSRC}/Dockerfile
|
|
MODGO_LDFLAGS += -X main.version=${GH_TAGNAME:C/^v//}
|
|
MODGO_LDFLAGS += -X main.commit=
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/{cli,exo}
|
|
|
|
.include <bsd.port.mk>
|