Changeset 40483 for trunk/dports/erlang


Ignore:
Timestamp:
Oct 3, 2008, 1:56:18 PM (10 years ago)
Author:
febeling@…
Message:

upgrade to r87, install priv/skel contents as well, add a
README.MacPorts for first instructions.

Location:
trunk/dports/erlang/mochiweb
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/erlang/mochiweb/Portfile

    r39839 r40483  
    55name             mochiweb
    66
    7 version          0.0 ; # project hasn't assigned a version yet
     7set svnrev 87
     8
     9version          r${svnrev} ; # project hasn't assigned a version yet
     10epoch            20081003
    811
    912categories       erlang devel
     
    1720fetch.type       svn
    1821svn.url          http://mochiweb.googlecode.com/svn/trunk/
    19 svn.tag          84
     22svn.tag          ${svnrev}
    2023worksrcdir       trunk
    2124build.target     all
     25set libdir ${destroot}${prefix}/lib/erlang/lib/${name}
     26set privdir ${libdir}/priv
     27set ebindir ${libdir}/ebin
     28destroot.keepdirs ${privdir}/skel/ebin ${privdir}/skel/include ${privdir}/skel/docs ${privdir}/skel/deps
    2229destroot {
    23         set libdir ${destroot}${prefix}/lib/erlang/lib/${name}
    24 
    25         set ebindir ${libdir}/ebin
    2630        xinstall -d -m 0755 ${ebindir}
    2731        eval xinstall -m 0644 [glob ${worksrcpath}/ebin/*.beam] ${ebindir}
     32
     33        xinstall -d -m 0755 ${privdir}/skel/priv/www
     34        xinstall -d -m 0755 ${privdir}/skel/deps
     35        xinstall -d -m 0755 ${privdir}/skel/docs
     36        xinstall -d -m 0755 ${privdir}/skel/ebin
     37        xinstall -d -m 0755 ${privdir}/skel/include
     38        xinstall -d -m 0755 ${privdir}/skel/src
     39        xinstall -d -m 0755 ${privdir}/skel/support
     40        xinstall -m 0644 ${worksrcpath}/priv/skel/Makefile \
     41                ${privdir}/skel
     42        eval xinstall -m 0644 [glob ${worksrcpath}/priv/skel/start*.sh] \
     43                ${privdir}/skel
     44        eval xinstall -m 0644 ${worksrcpath}/priv/skel/priv/www/index.html \
     45                ${privdir}/skel/priv/www
     46        eval xinstall -m 0644 [glob ${worksrcpath}/priv/skel/src/{Makefile,*.html,*.erl,*.hrl,*.app}] \
     47                ${privdir}/skel/src
     48        xinstall -m 0644 ${worksrcpath}/priv/skel/support/include.mk \
     49                ${privdir}/skel/support
    2850
    2951        set docdir ${destroot}${prefix}/share/doc/${name}
     
    3557                ${docdir}
    3658
     59        xinstall -m 0644 ${filespath}/README.MacPorts ${docdir}
     60
    3761        set scriptsdir ${destroot}${prefix}/share/scripts
    3862        xinstall -d -m 0755 ${scriptsdir}
Note: See TracChangeset for help on using the changeset viewer.