[102045] trunk/dports/devel/jubatus-msgpack-rpc/Portfile

hum at macports.org hum at macports.org
Sat Jan 26 04:33:49 PST 2013


Revision: 102045
          https://trac.macports.org/changeset/102045
Author:   hum at macports.org
Date:     2013-01-26 04:33:49 -0800 (Sat, 26 Jan 2013)
Log Message:
-----------
jubatus-msgpack-rpc: set worksrcdir in the global part and add workaround to use github.setup; https://lists.macosforge.org/pipermail/macports-dev/2013-January/021728.html.

Modified Paths:
--------------
    trunk/dports/devel/jubatus-msgpack-rpc/Portfile

Modified: trunk/dports/devel/jubatus-msgpack-rpc/Portfile
===================================================================
--- trunk/dports/devel/jubatus-msgpack-rpc/Portfile	2013-01-26 12:07:37 UTC (rev 102044)
+++ trunk/dports/devel/jubatus-msgpack-rpc/Portfile	2013-01-26 12:33:49 UTC (rev 102045)
@@ -26,8 +26,14 @@
 depends_lib         port:msgpack \
                     port:jubatus-mpio
 
+worksrcdir          ${distname}/cpp
+
+# workaround to specify a valid directory at which the distribution will be placed.
+# a regular worksrcpath (worksrcdir) is used in post-extract defined in github.setup.
+pre-extract  { worksrcdir ${distname} }
+post-extract { worksrcdir ${distname}/cpp }
+
 pre-configure {
-    worksrcdir      ${distname}/cpp
     system -W ${worksrcpath} "./bootstrap"
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130126/91fba180/attachment.html>


More information about the macports-changes mailing list