mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
ba1884b147
Changelog: https://github.com/erroneousboat/slack-term/releases/tag/v0.4.0 PR: 227524 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer)
41 lines
788 B
Makefile
41 lines
788 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= slack-term
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4.0
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= dg@syrec.org
|
|
COMMENT= Slack client for your terminal
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= go:lang/go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= erroneousboat
|
|
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PORTNAME=${PORTNAME}
|
|
|
|
PORTDOCS= README.md
|
|
|
|
PLIST_FILES= bin/slack-term
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}/${GH_SUBDIR} && \
|
|
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|