Skip to content
Permalink
Browse files

port lua-luasocket: added docs (LICENSE, README, NEWS) and examples (…

…samples, test, etc)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77688 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Apr 9, 2011
1 parent f45e8dc commit 7f17491f0ca341b76f133c8c10ba2d1e4fc0c103
Showing with 11 additions and 0 deletions.
  1. +11 −0 devel/lua-luasocket/Portfile
@@ -4,6 +4,7 @@ PortSystem 1.0

name lua-luasocket
version 2.0.2
revision 1
categories devel
platforms darwin
maintainers gmail.com:emmett.shear
@@ -35,3 +36,13 @@ use_configure no
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/config
}

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW /
${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test /
${destroot}${prefix}/share/examples/${name}
}

0 comments on commit 7f17491

Please sign in to comment.
You can’t perform that action at this time.