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