Commits

Clemens Lang authored 478f558d2d6
fribidi: Move to GitHub

Did not change dist_subdir because the filename changes from .bz2 to .gz. Closes: https://trac.macports.org/ticket/55353
No tags

textproc/fribidi/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4
5 -name fribidi
6 -version 0.19.7
5 +PortGroup github 1.0
6 +github.setup fribidi fribidi 0.19.7
7 +revision 1
8 +
7 9 categories textproc
8 10 license LGPL-2.1+
9 11 maintainers cal openmaintainer
10 12 platforms darwin
11 13 description Free Implementation of the Unicode BiDi algorithm
12 14
13 15 long_description \
14 16 The FriBidi library implements the algorithm described in the \"Unicode \
15 17 Standard Annex #9, The Bidirectional Algorithm\", available at \
16 18 http://www.unicode.org/unicode/reports/tr9/.
17 19
18 20 homepage http://fribidi.org/
19 -master_sites ${homepage}download/
20 -use_bzip2 yes
21 21
22 -checksums sha256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e \
23 - rmd160 031cd7a160717bca78cbee93cfc92c6c86f373a3
22 +checksums sha256 281298e666b2ba2a42931686a6dcc3b7dbfa2187e4c9b8c40ce9eab61ad0c387 \
23 + rmd160 49a000ea0ca7f93328f063ff26488a45a59e897a
24 24
25 25 depends_build port:pkgconfig
26 26
27 27 depends_lib port:gettext \
28 28 path:lib/pkgconfig/glib-2.0.pc:glib2
29 29
30 -# Fix build failure seein on Leopard
31 30 use_autoreconf yes
32 31 autoreconf.args -fvi
33 32
33 +patch {
34 + # git.mk seems to trigger a ./config.status --recheck, which is unnecessary
35 + # and additionally fails due to quoting
36 + delete ${worksrcpath}/git.mk
37 +}
38 +
39 +# Parallel builds fail because gen.tab/packtab.o is built multiple times:
40 +# /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -I../charset -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pipe -Os -arch x86_64 -Wall -ansi -MT packtab.o -MD -MP -MF .deps/packtab.Tpo -c -o packtab.o packtab.c
41 +# /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -I../charset -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pipe -Os -arch x86_64 -Wall -ansi -MT packtab.o -MD -MP -MF .deps/packtab.Tpo -c -o packtab.o packtab.c
42 +# /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -I../charset -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pipe -Os -arch x86_64 -Wall -ansi -MT packtab.o -MD -MP -MF .deps/packtab.Tpo -c -o packtab.o packtab.c
43 +# [...]
44 +# mv -f .deps/packtab.Tpo .deps/packtab.Po
45 +# mv -f .deps/packtab.Tpo .deps/packtab.Po
46 +# mv -f .deps/packtab.Tpo .deps/packtab.Po
47 +# [...]
48 +# mv: rename .deps/packtab.Tpo to .deps/packtab.Po: No such file or directory
49 +use_parallel_build no
50 +
34 51 post-destroot {
35 52 set docdir ${prefix}/share/doc/${name}
36 53 xinstall -d ${destroot}${docdir}
37 - xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog \
38 - NEWS README THANKS TODO ${destroot}${docdir}
54 + xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog.old \
55 + HISTORY NEWS README THANKS TODO ${destroot}${docdir}
39 56 }
40 -
41 -livecheck.type regex
42 -livecheck.url [lindex ${master_sites} 0]
43 -livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)*)

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut