# -*- 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
# $Id: Portfile 106132 2013-05-15 21:09:15Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       github 1.0

epoch           2
github.setup    cooljeanius macportsscripts 0.3.0 v
categories      sysutils macports
platforms       darwin
maintainers     phw gwmail.gwu.edu:egall openmaintainer
license         BSD
supported_archs noarch

description     Various scripts to work with MacPorts

long_description ${description}

checksums       rmd160  bfa65ac2a6da30474d76e6c89e1ad8425695173b \
                sha256  b067846c2d4e5c122c51647a59ff9b1f93f2c9d4b3e32173e6d9a933cabbe4ea

use_configure   no
build {}

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