PortSystem              1.0
PortGroup               xcode 1.0

name                    fscript-cli
version                 2.2
categories              lang sysutils
license                 GPL-2
maintainers             {puffin.lb.shuttle.de:michael.klein @mklein-de} openmaintainer

description             Command-line interface to the F-Script interpreter

long_description        fscript is a program that allows F-Script scripts to \
                        be run from the command line, and to can also present \
                        an interpreter prompt in a shell, rather than \
                        requiring a GUI program. fscript also provides some \
                        useful classes and methods that make the language more \
                        appropriate for general scripting tasks, such as \
                        line-oriented input/output, regular expressions, and a \
                        library importing system.
                        
homepage                http://pages.cs.wisc.edu/~weinrich/projects/fscript/
master_sites            ${homepage}

depends_lib             port:FScript

distname                fscript-source
dist_subdir             ${name}/${version}
use_dmg                 yes
set extract.asroot      yes

checksums               md5     18020a44bef3323a6e5469554f3bbaab \
                        sha1    cebd68adc2c3e039cc883d38671940616d1794d1 \
                        rmd160  63f06655713fbface9ad131d4e989bbdb69fa989

xcode.configuration     Release
xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${frameworks_dir}

destroot {
        xinstall ${worksrcpath}/build/Release/fscript ${destroot}${prefix}/bin
        xinstall ${worksrcpath}/fscript.1 ${destroot}${prefix}/share/man/man1
}

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         "Current Version (.*?),"
