# -*- 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

PortSystem      1.0
PortGroup       github 1.0

epoch           2
github.setup    cooljeanius macportsscripts 0.4.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

categories      sysutils macports
platforms       any
supported_archs noarch
license         BSD
maintainers     nomaintainer

description     Various scripts to work with MacPorts
long_description {*}${description}

checksums       rmd160  d1a89de5a5f32edd8d2bfdc8573930dc4e69f3c1 \
                sha256  e39123ad1de2545782a3c3c259cf2083458f10d57660e7e0c7da1eb9953501d3

use_configure   no
build {}

destroot {
    xinstall -m 755 {*}[glob ${worksrcpath}/*.sh] ${destroot}${prefix}/bin
    xinstall -m 755 {*}[glob ${worksrcpath}/*.pl] ${destroot}${prefix}/bin
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 {*}[glob ${worksrcpath}/*.md] ${destroot}${prefix}/share/doc/${name}
}
