Ticket #39117: Portfile

File Portfile, 1.0 KB (added by cooljeanius (Eric Gallager), 11 years ago)

new portfile for macportsscripts

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# $Id: Portfile 104208 2013-03-20 17:08:02Z macsforever2000@macports.org $
3
4PortSystem      1.0
5PortGroup       github 1.0
6
7epoch           2
8github.setup    cooljeanius macportsscripts 0.3.0 v
9categories      sysutils macports
10platforms       darwin
11maintainers     phw gwmail.gwu.edu:egall openmaintainer
12license         BSD
13supported_archs noarch
14
15description     Various scripts to work with MacPorts
16
17long_description ${description}
18
19checksums       rmd160  bfa65ac2a6da30474d76e6c89e1ad8425695173b \
20                sha256  b067846c2d4e5c122c51647a59ff9b1f93f2c9d4b3e32173e6d9a933cabbe4ea
21
22use_configure   no
23build {}
24
25destroot {
26    eval xinstall -m 755 [glob ${worksrcpath}/*.sh] ${destroot}${prefix}/bin
27    eval xinstall -m 755 [glob ${worksrcpath}/*.pl] ${destroot}${prefix}/bin
28    xinstall -d ${destroot}${prefix}/share/doc/${name}
29    eval xinstall -m 644 [glob ${worksrcpath}/*.md] ${destroot}${prefix}/share/doc/${name}
30}