source: trunk/dports/erlang/mochiweb/Portfile @ 88953

Last change on this file since 88953 was 88953, checked in by ryandesign@…, 9 years ago

mochiweb: update to 2.3.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
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 88953 2012-01-15 08:13:58Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       github 1.0
6
7github.setup    mochi mochiweb 2.3.0 v
8epoch           20111014
9categories      erlang www
10platforms       darwin
11maintainers     nomaintainer
12supported_archs noarch
13
14description     MochiWeb is an Erlang library for building lightweight HTTP servers.
15
16long_description \
17    ${description}
18
19depends_lib     port:erlang
20
21checksums       rmd160  e32301af433948d0752e515187d56b3f6fed67b3 \
22                sha256  7bde6ab0fb9e202b3f55dda12409c2f300b87f8ded424853dd362bd925802a89
23
24use_configure no
25build.target-append edoc
26
27set libdir ${prefix}/lib/erlang/lib/${name}
28
29destroot {
30    xinstall -d ${destroot}${libdir}
31    copy ${worksrcpath}/ebin ${destroot}${libdir}/ebin
32    copy ${worksrcpath}/scripts ${destroot}${libdir}/scripts
33    copy ${worksrcpath}/src ${destroot}${libdir}/src
34
35    set docdir ${prefix}/share/doc/${name}
36    xinstall -d ${destroot}${docdir}
37    xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${docdir}
38    copy ${worksrcpath}/doc ${destroot}${docdir}/html
39    xinstall -m 644 ${filespath}/README.MacPorts ${destroot}${docdir}
40    reinplace s:@PREFIX@:${prefix}: ${destroot}${docdir}/README.MacPorts
41}
42
43test.run yes
Note: See TracBrowser for help on using the repository browser.