[68866] trunk/dports/ruby/rb19-unicorn/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Wed Jun 16 07:58:58 PDT 2010


Revision: 68866
          http://trac.macports.org/changeset/68866
Author:   singingwolfboy at macports.org
Date:     2010-06-16 07:58:54 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
Updated unicorn to 0.991.0, installed man files into mandir

Modified Paths:
--------------
    trunk/dports/ruby/rb19-unicorn/Portfile

Modified: trunk/dports/ruby/rb19-unicorn/Portfile
===================================================================
--- trunk/dports/ruby/rb19-unicorn/Portfile	2010-06-16 14:26:25 UTC (rev 68865)
+++ trunk/dports/ruby/rb19-unicorn/Portfile	2010-06-16 14:58:54 UTC (rev 68866)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 PortGroup           ruby 1.0
 
-ruby.setup          unicorn 0.99.0 gem {} rubygems ruby19
+ruby.setup          unicorn 0.991.0 gem {} rubygems ruby19
 description         HTTP server for Rack applications designed for Unix
 long_description    \
     Unicorn is an HTTP server for Rack applications designed to only serve \
@@ -16,6 +16,19 @@
 homepage            http://unicorn.bogomips.org/
 categories-append   www
 platforms           darwin
-checksums           md5     3f8a064f6d7d881a28f4eeccef96b173 \
-                    sha1    09d25625a2861dfb2237bdfda1eb3ed3aca2e813 \
-                    rmd160  8b78b2d3802be2e260a3e7bfa2abecde9a897e0d
+checksums           md5     6a1a9c84d867ff9eb3495d70615db02e \
+                    sha1    4bbd295429500bfdda9af471bf2873eb0b8845b1 \
+                    rmd160  dcb3575e68ef7ca0c331c118a357efce1c269456
+
+post-destroot {
+    set gemdir ${destroot}${prefix}/lib/ruby${ruby.prog_suffix}/gems/${ruby.version}/gems/${worksrcdir}
+    set mandir ${destroot}${prefix}/share/man/
+    set docdir ${destroot}${prefix}/share/doc/${ruby.module}
+    xinstall -d ${docdir}
+
+    xinstall ${gemdir}/man/man1/${ruby.module}.1 \
+             ${gemdir}/man/man1/${ruby.module}_rails.1 \
+             ${mandir}/man1/
+    xinstall -W ${gemdir} CONTRIBUTORS COPYING ChangeLog DESIGN FAQ HACKING ISSUES KNOWN_ISSUES NEWS PHILOSOPHY README SIGNALS TODO TUNING ${docdir}
+    eval xinstall [glob  ${gemdir}/Documentation/*.txt] ${docdir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100616/a12a0e7a/attachment.html>


More information about the macports-changes mailing list