Ticket #67752: Portfile

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