Ticket #57552: Portfile

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