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 | PortGroup cmake 1.1 |
---|
5 | |
---|
6 | name scid |
---|
7 | version 5.0.2 |
---|
8 | categories games |
---|
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 0064d3d8b84119958ad5d4815cd02605f60e923a \ |
---|
17 | sha256 2741d01a80359e11c899ff894dffa055292f24f628793baf4134b5b75819cb7b \ |
---|
18 | size 15661705 |
---|
19 | |
---|
20 | distname ${name}_src_${version} |
---|
21 | use_zip yes |
---|
22 | worksrcdir ${name}-${version} |
---|
23 | depends_lib port:tcl \ |
---|
24 | port:tcl-tls \ |
---|
25 | port:tDOM \ |
---|
26 | port:tk |
---|
27 | |
---|
28 | cmake.install_prefix ${applications_dir}/Scid.app |
---|
29 | |
---|
30 | post-destroot { |
---|
31 | xinstall -m 755 -d ${destroot}${applications_dir}/Scid.app/Contents/Resources |
---|
32 | xinstall -m 644 {*}[glob ${worksrcpath}/resources/macos/*] \ |
---|
33 | ${destroot}${applications_dir}/Scid.app/Contents/Resources |
---|
34 | move ${destroot}${applications_dir}/Scid.app/Contents/Resources/Info.plist \ |
---|
35 | ${destroot}${applications_dir}/Scid.app/Contents/ |
---|
36 | move ${destroot}${applications_dir}/Scid.app/bin \ |
---|
37 | ${destroot}${applications_dir}/Scid.app/engines |
---|
38 | } |
---|
39 | |
---|
40 | livecheck.type regex |
---|
41 | livecheck.url https://sourceforge.net/projects/scid/rss?path=/ |
---|
42 | livecheck.regex scid-(\[0-9.\]+)\\.zip |
---|