source: trunk/dports/devel/uthash/Portfile

Last change on this file was 117664, checked in by mww@…, 3 years ago

uthash: version 1.9.9

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 117664 2014-03-07 16:15:11Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                uthash
6version             1.9.9
7categories          devel
8platforms           darwin
9maintainers         mww
10license             BSD
11description         easy-to-use hash implementation for C programmers.
12long_description    ${description}
13
14homepage            http://uthash.sourceforge.net/
15master_sites        https://github.com/troydhanson/uthash/archive/
16distname            v${version}
17checksums           rmd160  031d5e7655238992595d9996c6c97d8796e79283 \
18                    sha256  f2f10115f4de03b98d8c2e860e241d165aa15019bd634ee0e3debe58341bbf0c
19
20worksrcdir          ${name}-${version}
21
22use_configure       no
23
24supported_archs     noarch
25
26build               {}
27
28destroot {
29    xinstall -d ${destroot}${prefix}/include/uthash/
30    xinstall -m 0444 -W ${worksrcpath}/src uthash.h utlist.h utarray.h utstring.h \
31        ${destroot}${prefix}/include/uthash/
32    xinstall -d ${destroot}${prefix}/share/doc/
33    copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
34    delete ${destroot}${prefix}/share/doc/${name}/Makefile
35    xinstall -m 644 -W ${worksrcpath} README.md LICENSE \
36        ${destroot}${prefix}/share/doc/${name}
37}
38
39livecheck.type      regex
40livecheck.url       https://github.com/troydhanson/uthash/releases
41livecheck.regex     v(\[0-9.\]+).tar.gz
42
Note: See TracBrowser for help on using the repository browser.