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 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name scid |
---|
6 | version 4.6.4 |
---|
7 | categories games |
---|
8 | platforms darwin |
---|
9 | license GPL-2 |
---|
10 | maintainers {en.sent.com:macports @Raimondi} openmaintainer |
---|
11 | description Shane's Chess Information Database |
---|
12 | long_description Scid is an open source application to view, edit, and \ |
---|
13 | manage collections of chess games. |
---|
14 | homepage http://scid.sourceforge.net/ |
---|
15 | master_sites sourceforge |
---|
16 | checksums rmd160 7245036f6be164955c8fedf0dd22b5f67f37c2da \ |
---|
17 | sha256 4fde535051786c0f8b13e6a2a20b306e7ba29e7af7394f5e510aae4f87e223e6 \ |
---|
18 | size 12248886 |
---|
19 | |
---|
20 | use_zip yes |
---|
21 | depends_lib port:tcl port:tcllib port:zlib port:tDOM port:tk port:tklib |
---|
22 | |
---|
23 | patchfiles patch-Makefile.conf.diff |
---|
24 | |
---|
25 | configure.post_args BINDIR="${prefix}/bin" SHAREDIR="${prefix}/share/${name}" \ |
---|
26 | COMPILE="${configure.cxx}" LINK="${configure.cxx}" |
---|
27 | |
---|
28 | build.args-append CC=${configure.cc} \ |
---|
29 | CXX=${configure.cxx} \ |
---|
30 | CPP=${configure.cpp} |
---|
31 | |
---|
32 | destroot.target install_scid |
---|
33 | destroot.target-append install_engines |
---|
34 | destroot.target-append install_mac |
---|
35 | |
---|
36 | post-patch { |
---|
37 | reinplace "s|x\\.x|${version}|g" ${worksrcpath}/Info.plist |
---|
38 | } |
---|
39 | |
---|
40 | post-destroot { |
---|
41 | copy ${worksrcpath}/dist/Scid.app ${destroot}${applications_dir} |
---|
42 | } |
---|
43 | |
---|
44 | livecheck.type regex |
---|
45 | livecheck.url https://sourceforge.net/projects/scid/rss?path=/ |
---|
46 | livecheck.regex scid-(\[0-9.\]+)\\.zip |
---|