blob: b0d244817295dbe9f1b24e5f1637c4086e0d0ede (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Akinori MUSHA aka knu <knu@FreeBSD.org>
# $FreeBSD$
PORTNAME= peco
PORTVERSION= 0.2.0.20140714
CATEGORIES= textproc
MAINTAINER= knu@FreeBSD.org
COMMENT= Simplistic interactive filtering tool
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/jessevdk/go-flags.a:${PORTSDIR}/devel/go-flags \
${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-runewidth.a:${PORTSDIR}/devel/go-runewidth \
${LOCALBASE}/${GO_LIBDIR}/github.com/nsf/termbox-go.a:${PORTSDIR}/devel/go-termbox
USE_GITHUB= yes
GH_ACCOUNT= peco
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 6135199
WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}/cmd/peco
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/peco
PLIST_FILES= bin/peco
post-extract:
@${MKDIR} ${GO_WRKSRC:H:H:H}
@${LN} -sf ${WRKSRC:H:H} ${GO_WRKSRC:H:H}
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>
|