mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
update go
This commit is contained in:
@@ -43,7 +43,7 @@ ICONV_LIB_PATH= /usr/lib/libc.so
|
|||||||
|
|
||||||
.if exists(${LOCALBASE}/include/iconv.h)
|
.if exists(${LOCALBASE}/include/iconv.h)
|
||||||
# Check that libiconv iconv.h is recent enough for LIBICONV_PLUG to work.
|
# Check that libiconv iconv.h is recent enough for LIBICONV_PLUG to work.
|
||||||
BUILD_DEPENDS+= libiconv>=1.14_11:text/libiconv
|
BUILD_DEPENDS+= libiconv>=1.14:text/libiconv
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# LIBICONV_PLUG makes libiconv iconv.h act like libc iconv.h.
|
# LIBICONV_PLUG makes libiconv iconv.h act like libc iconv.h.
|
||||||
|
|||||||
47
devel/git-filter-repo/Makefile
Normal file
47
devel/git-filter-repo/Makefile
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
PORTNAME= git-filter-repo
|
||||||
|
DISTVERSIONPREFIX= v
|
||||||
|
DISTVERSION= 2.34.0
|
||||||
|
CATEGORIES= devel
|
||||||
|
|
||||||
|
MAINTAINER= cy@FreeBSD.org
|
||||||
|
COMMENT= git filter-repo is a versatile tool for rewriting history
|
||||||
|
|
||||||
|
RUN_DEPENDS= git:devel/git
|
||||||
|
|
||||||
|
USES= python shebangfix
|
||||||
|
|
||||||
|
SHEBANG_FILES= git-filter-repo
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= newren
|
||||||
|
|
||||||
|
NO_BUILD= yes
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
#
|
||||||
|
# XXX: The man page only exists in the upstream docs branch. Unfortunately
|
||||||
|
# there is no clean way to extract just one file from a different
|
||||||
|
# upstream branch. Therefore we include it in files. To discover
|
||||||
|
# which version of the git-filter-repo.1 file in the docs branch
|
||||||
|
# corresponds with the extracted tag,
|
||||||
|
#
|
||||||
|
# - git clone https://github.com/newren/git-filter-repo.git
|
||||||
|
# - git log, looking for the current tag's hash.
|
||||||
|
# - git switch docs
|
||||||
|
# - git log and look for the matching hash in the commit log.
|
||||||
|
# - git checkout HASH
|
||||||
|
# - copy the file to the files subdirectory of this port
|
||||||
|
#
|
||||||
|
# Until a better approach can be discovered.
|
||||||
|
#
|
||||||
|
post-extract:
|
||||||
|
${MKDIR} ${WRKSRC}/Documentation/man1;
|
||||||
|
${CP} ${FILESDIR}/git-filter-repo.1.in ${WRKSRC}/Documentation/man1/git-filter-repo.1
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
cd ${WRKSRC}; \
|
||||||
|
${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/git-core; \
|
||||||
|
${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}; \
|
||||||
|
${MAKE} prefix=${STAGEDIR}/${PREFIX} pythondir=${STAGEDIR}/${PYTHON_SITELIBDIR} install
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
3
devel/git-filter-repo/distinfo
Normal file
3
devel/git-filter-repo/distinfo
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
TIMESTAMP = 1637507583
|
||||||
|
SHA256 (newren-git-filter-repo-v2.34.0_GH0.tar.gz) = 2d89932fdaed0d6263dbf6aab3dcebbb5084f8787c42adee424081637feffe0e
|
||||||
|
SIZE (newren-git-filter-repo-v2.34.0_GH0.tar.gz) = 160017
|
||||||
2335
devel/git-filter-repo/files/git-filter-repo.1.in
Normal file
2335
devel/git-filter-repo/files/git-filter-repo.1.in
Normal file
File diff suppressed because it is too large
Load Diff
34
devel/git-filter-repo/files/patch-Makefile
Normal file
34
devel/git-filter-repo/files/patch-Makefile
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
--- Makefile.orig 2021-06-07 09:23:45.000000000 -0700
|
||||||
|
+++ Makefile 2021-06-14 16:03:09.610176000 -0700
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
prefix = $(HOME)
|
||||||
|
bindir = $(prefix)/libexec/git-core
|
||||||
|
localedir = $(prefix)/share/locale
|
||||||
|
-mandir = $(prefix)/share/man
|
||||||
|
+mandir = $(prefix)/man
|
||||||
|
htmldir = $(prefix)/share/doc/git-doc
|
||||||
|
pythondir = $(prefix)/lib64/python3.6/site-packages
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
# html/git-filter-repo.html. But let's support people installing from a git
|
||||||
|
# clone too; for them, just cheat and snag a copy of the built docs that I
|
||||||
|
# record in a different branch.
|
||||||
|
-snag_docs: Documentation/man1/git-filter-repo.1 Documentation/html/git-filter-repo.html
|
||||||
|
+snag_docs: Documentation/man1/git-filter-repo.1
|
||||||
|
|
||||||
|
Documentation/man1/git-filter-repo.1:
|
||||||
|
mkdir -p Documentation/man1
|
||||||
|
@@ -33,11 +33,10 @@
|
||||||
|
mkdir -p Documentation/html
|
||||||
|
git show origin/docs:html/git-filter-repo.html >Documentation/html/git-filter-repo.html
|
||||||
|
|
||||||
|
-install: snag_docs #fixup_locale
|
||||||
|
+install:
|
||||||
|
cp -a git-filter-repo "$(bindir)/"
|
||||||
|
- ln -sf "$(bindir)/git-filter-repo" "$(pythondir)/git_filter_repo.py"
|
||||||
|
+ ( cd "$(pythondir)" && ln -sf ../../../libexec/git-core/git-filter-repo git_filter_repo.py )
|
||||||
|
cp -a Documentation/man1/git-filter-repo.1 "$(mandir)/man1/git-filter-repo.1"
|
||||||
|
- cp -a Documentation/html/git-filter-repo.html "$(htmldir)/git-filter-repo.html"
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
9
devel/git-filter-repo/pkg-descr
Normal file
9
devel/git-filter-repo/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
git filter-repo is a versatile tool for rewriting history, which
|
||||||
|
includes capabilities I have not found anywhere else. It roughly falls
|
||||||
|
into the same space of tool as git filter-branch but without the
|
||||||
|
capitulation-inducing poor performance, with far more capabilities,
|
||||||
|
and with a design that scales usability-wise beyond trivial rewriting
|
||||||
|
cases. git filter-repo is now recommended by the git project instead of
|
||||||
|
git filter-branch.
|
||||||
|
|
||||||
|
WWW: https://github.com/newren/git-filter-repo
|
||||||
3
devel/git-filter-repo/pkg-plist
Normal file
3
devel/git-filter-repo/pkg-plist
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
%%PYTHON_SITELIBDIR%%/git_filter_repo.py
|
||||||
|
libexec/git-core/git-filter-repo
|
||||||
|
man/man1/git-filter-repo.1.gz
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# $FreeBSD: head/lang/go/Makefile 470619 2018-05-22 14:32:09Z jlaffaye $
|
# $FreeBSD: head/lang/go/Makefile 470619 2018-05-22 14:32:09Z jlaffaye $
|
||||||
|
|
||||||
PORTNAME= go
|
PORTNAME= go
|
||||||
PORTVERSION= 1.17.5 #1.16.6
|
PORTVERSION= 1.17.6
|
||||||
CATEGORIES= lang
|
CATEGORIES= lang
|
||||||
MASTER_SITES= https://golang.org/dl/
|
MASTER_SITES= https://golang.org/dl/
|
||||||
DISTNAME= go${PORTVERSION}.src
|
DISTNAME= go${PORTVERSION}.src
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1639789813
|
TIMESTAMP = 1641756228
|
||||||
SHA256 (go1.17.5.src.tar.gz) = 3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d
|
SHA256 (go1.17.6.src.tar.gz) = 4dc1bbf3ff61f0c1ff2b19355e6d88151a70126268a47c761477686ef94748c8
|
||||||
SIZE (go1.17.5.src.tar.gz) = 22186577
|
SIZE (go1.17.6.src.tar.gz) = 22191372
|
||||||
|
|||||||
@@ -10026,6 +10026,7 @@ lib/go/test/fixedbugs/issue4909a.go
|
|||||||
lib/go/test/fixedbugs/issue4909b.go
|
lib/go/test/fixedbugs/issue4909b.go
|
||||||
lib/go/test/fixedbugs/issue49122.go
|
lib/go/test/fixedbugs/issue49122.go
|
||||||
lib/go/test/fixedbugs/issue49249.go
|
lib/go/test/fixedbugs/issue49249.go
|
||||||
|
lib/go/test/fixedbugs/issue49282.go
|
||||||
lib/go/test/fixedbugs/issue4932.dir/foo.go
|
lib/go/test/fixedbugs/issue4932.dir/foo.go
|
||||||
lib/go/test/fixedbugs/issue4932.dir/state.go
|
lib/go/test/fixedbugs/issue4932.dir/state.go
|
||||||
lib/go/test/fixedbugs/issue4932.dir/state2.go
|
lib/go/test/fixedbugs/issue4932.dir/state2.go
|
||||||
|
|||||||
@@ -2357,46 +2357,11 @@ share/octave/m/web/weboptions.m
|
|||||||
share/octave/m/web/webread.m
|
share/octave/m/web/webread.m
|
||||||
share/octave/m/web/webwrite.m
|
share/octave/m/web/webwrite.m
|
||||||
share/octave/site/m/startup/octaverc
|
share/octave/site/m/startup/octaverc
|
||||||
@dir bin
|
|
||||||
@dir include/octave
|
@dir include/octave
|
||||||
@dir include
|
|
||||||
@dir lib/octave/6.3.0/oct/amd64-portbld-freebsd12.2
|
@dir lib/octave/6.3.0/oct/amd64-portbld-freebsd12.2
|
||||||
@dir lib/octave/6.3.0/oct
|
@dir lib/octave/6.3.0/oct
|
||||||
@dir lib/octave/6.3.0
|
@dir lib/octave/6.3.0
|
||||||
@dir lib/octave
|
@dir lib/octave
|
||||||
@dir lib/pkgconfig
|
|
||||||
@dir lib
|
|
||||||
@dir libdata/ldconfig
|
|
||||||
@dir libdata
|
|
||||||
@dir man/man1
|
|
||||||
@dir man
|
|
||||||
@dir share/applications
|
|
||||||
@dir share/icons/hicolor/1024x1024/apps
|
|
||||||
@dir share/icons/hicolor/1024x1024
|
|
||||||
@dir share/icons/hicolor/128x128/apps
|
|
||||||
@dir share/icons/hicolor/128x128
|
|
||||||
@dir share/icons/hicolor/16x16/apps
|
|
||||||
@dir share/icons/hicolor/16x16
|
|
||||||
@dir share/icons/hicolor/22x22/apps
|
|
||||||
@dir share/icons/hicolor/22x22
|
|
||||||
@dir share/icons/hicolor/24x24/apps
|
|
||||||
@dir share/icons/hicolor/24x24
|
|
||||||
@dir share/icons/hicolor/256x256/apps
|
|
||||||
@dir share/icons/hicolor/256x256
|
|
||||||
@dir share/icons/hicolor/32x32/apps
|
|
||||||
@dir share/icons/hicolor/32x32
|
|
||||||
@dir share/icons/hicolor/48x48/apps
|
|
||||||
@dir share/icons/hicolor/48x48
|
|
||||||
@dir share/icons/hicolor/512x512/apps
|
|
||||||
@dir share/icons/hicolor/512x512
|
|
||||||
@dir share/icons/hicolor/64x64/apps
|
|
||||||
@dir share/icons/hicolor/64x64
|
|
||||||
@dir share/icons/hicolor/scalable/apps
|
|
||||||
@dir share/icons/hicolor/scalable
|
|
||||||
@dir share/icons/hicolor
|
|
||||||
@dir share/icons
|
|
||||||
@dir share/info
|
|
||||||
@dir share/metainfo
|
|
||||||
@dir share/octave/data
|
@dir share/octave/data
|
||||||
@dir share/octave/doc
|
@dir share/octave/doc
|
||||||
@dir share/octave/etc/profiler
|
@dir share/octave/etc/profiler
|
||||||
@@ -2580,5 +2545,3 @@ share/octave/site/m/startup/octaverc
|
|||||||
@dir share/octave/site/m
|
@dir share/octave/site/m
|
||||||
@dir share/octave/site
|
@dir share/octave/site
|
||||||
@dir share/octave
|
@dir share/octave
|
||||||
@dir share
|
|
||||||
@dir .
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ bin/htmltree
|
|||||||
%%SITE_PERL%%/HTML/Tree/AboutTrees.pod
|
%%SITE_PERL%%/HTML/Tree/AboutTrees.pod
|
||||||
%%SITE_PERL%%/HTML/Tree/Scanning.pod
|
%%SITE_PERL%%/HTML/Tree/Scanning.pod
|
||||||
%%SITE_PERL%%/HTML/TreeBuilder.pm
|
%%SITE_PERL%%/HTML/TreeBuilder.pm
|
||||||
man/man1/htmltree.1.gz
|
|
||||||
%%PERL5_MAN3%%/HTML::AsSubs.3.gz
|
%%PERL5_MAN3%%/HTML::AsSubs.3.gz
|
||||||
%%PERL5_MAN3%%/HTML::Element.3.gz
|
%%PERL5_MAN3%%/HTML::Element.3.gz
|
||||||
%%PERL5_MAN3%%/HTML::Element::traverse.3.gz
|
%%PERL5_MAN3%%/HTML::Element::traverse.3.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user