diff options
author | knu <knu@FreeBSD.org> | 2016-10-26 18:12:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2016-10-26 18:12:33 +0800 |
commit | 727ccb276042a46651b06256f91b2d8c38df78ff (patch) | |
tree | e17ab14ab8efb5522ecaf9e290f02be00a539740 /textproc | |
parent | 98ef5bba3fe6b41edfadf93d7e8f131067499842 (diff) | |
download | freebsd-ports-gnome-727ccb276042a46651b06256f91b2d8c38df78ff.tar.gz freebsd-ports-gnome-727ccb276042a46651b06256f91b2d8c38df78ff.tar.zst freebsd-ports-gnome-727ccb276042a46651b06256f91b2d8c38df78ff.zip |
Update to 0.4.4.
Peco started to use glide to fix dependencies, so depending on other
ports no longer works. We need to have our own distfile and put it in
the local-distfiles directory.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/peco/Makefile | 33 | ||||
-rw-r--r-- | textproc/peco/distinfo | 5 |
2 files changed, 27 insertions, 11 deletions
diff --git a/textproc/peco/Makefile b/textproc/peco/Makefile index 728a1ac17e71..4e389808174a 100644 --- a/textproc/peco/Makefile +++ b/textproc/peco/Makefile @@ -2,29 +2,44 @@ # $FreeBSD$ PORTNAME= peco -PORTVERSION= 0.3.5 +PORTVERSION= 0.4.4 DISTVERSIONPREFIX= v CATEGORIES= textproc +MASTER_SITES= LOCAL/knu MAINTAINER= knu@FreeBSD.org COMMENT= Simplistic interactive filtering tool LICENSE= MIT -BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/jessevdk/go-flags.a:devel/go-flags \ - ${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-runewidth.a:devel/go-runewidth \ - ${LOCALBASE}/${GO_LIBDIR}/github.com/nsf/termbox-go.a:devel/go-termbox \ - ${LOCALBASE}/${GO_LIBDIR}/github.com/google/btree.a:devel/go-btree - USES= go -USE_GITHUB= yes -WRKSRC_SUBDIR= cmd/peco -GO_PKGNAME= github.com/${PORTNAME}/${PORTNAME}/cmd/peco +WRKSRC_SUBDIR= ${GO_PKG_SUBDIR} +WRKSRC_GITDIR= ${WRKSRC:S|/${WRKSRC_SUBDIR}$$||} +GO_PKG_GITURL= https://github.com/${PORTNAME}/${PORTNAME} +GO_PKG_SUBDIR= cmd/peco +GO_PKGNAME= ${GO_PKG_GITURL:S|^https://||}/${GO_PKG_SUBDIR} PLIST_FILES= bin/peco +UPLOAD_FILE= ${_DISTDIR:S|/$||}/${DISTFILES:[1]} post-extract: @${MKDIR} ${GO_WRKSRC:H:H:H} @${LN} -sf ${WRKSRC:H:H} ${GO_WRKSRC:H:H} +maintainer-fetch: + @${MAKE} clean + @${MKDIR} ${WRKSRC_GITDIR} + @git clone ${GO_PKG_GITURL} \ + --branch v${DISTVERSION} --depth 1 ${WRKSRC_GITDIR} + @cd ${WRKSRC_GITDIR} && glide install + @${TAR} zcf ${UPLOAD_FILE} \ + -C ${WRKSRC_GITDIR}/.. --exclude .git ${DISTNAME} + @${MAKE} makesum + @${MAKE} clean + +${UPLOAD_FILE}: maintainer-fetch + +maintainer-distfile: ${UPLOAD_FILE} + @rsync -aP ${UPLOAD_FILE} freefall.freebsd.org:public_distfiles/ + .include <bsd.port.mk> diff --git a/textproc/peco/distinfo b/textproc/peco/distinfo index e8a5966983f8..1f1118ed8bb3 100644 --- a/textproc/peco/distinfo +++ b/textproc/peco/distinfo @@ -1,2 +1,3 @@ -SHA256 (peco-peco-v0.3.5_GH0.tar.gz) = 416d2547b639b11563d0bd910fa043e532f25fcc40de3ec0d7bec4943747fff1 -SIZE (peco-peco-v0.3.5_GH0.tar.gz) = 59443 +TIMESTAMP = 1477476482 +SHA256 (peco-v0.4.4.tar.gz) = 01f8ce6c4dbbe048da98a9809dbba99df64dac6823ddbe98fdc1b0b1955c00b3 +SIZE (peco-v0.4.4.tar.gz) = 1079119 |