[139209] trunk/dports/lang/qore-devel/Portfile

davidnichols at macports.org davidnichols at macports.org
Thu Aug 6 22:52:05 PDT 2015


Revision: 139209
          https://trac.macports.org/changeset/139209
Author:   davidnichols at macports.org
Date:     2015-08-06 22:52:05 -0700 (Thu, 06 Aug 2015)
Log Message:
-----------
qore-devel: updated to use github.com sources

Modified Paths:
--------------
    trunk/dports/lang/qore-devel/Portfile

Modified: trunk/dports/lang/qore-devel/Portfile
===================================================================
--- trunk/dports/lang/qore-devel/Portfile	2015-08-07 05:07:22 UTC (rev 139208)
+++ trunk/dports/lang/qore-devel/Portfile	2015-08-07 05:52:05 UTC (rev 139209)
@@ -4,16 +4,15 @@
 PortSystem          1.0
 
 name                qore-devel
-svn.revision        7392
-version             0.8.11.0.99-${svn.revision}
+version             0.8.11.0.99
 revision            0
 categories          lang
 license             {LGPL-2.1 MIT}
 maintainers         davidnichols pvanek
 
-description         dynamically-typed programming language - a SVN trunk version
+description         dynamically-typed programming language - development version from git master
 long_description    Qore is a multithreaded, embeddabble programming language designed for SMP scalability. \
-                    This package uses SVN trunk. Use the qore package for the latest stable release.
+                    This package uses git master. Use the qore package for the latest stable release.
 homepage            http://qore.org
 platforms           darwin
 master_sites        sourceforge
@@ -22,8 +21,10 @@
 livecheck.type      none
 worksrcdir          trunk
 
+# git fetches are not working for me with SSL errors from github, 
+# but only from macports; see https://trac.macports.org/ticket/42063
 fetch.type          svn
-svn.url             http://svn.code.sf.net/p/qore/code/qore/trunk/
+svn.url             https://github.com/qorelanguage/qore/trunk/
 
 depends_build       port:flex \
                     port:bison \
@@ -39,8 +40,8 @@
                     port:mpfr
 
 pre-configure {
-    # reconf.sh is mandatory for svn builds. svn-revision.h is not created when in an exported directory, which is what MacPorts creates unless you request a working copy by setting "svn.method checkout".
-    system -W ${worksrcpath} "./reconf.sh && echo \"#define BUILD 0\" > ${worksrcpath}/include/qore/intern/svn-revision.h"
+    # reconf.sh is mandatory for git builds. git-revision.h is not created when in an exported directory.
+    system -W ${worksrcpath} "./reconf.sh && echo \"#define BUILD \\\"git_master\\\"\" > ${worksrcpath}/include/qore/intern/git-revision.h"
 }
 
 # --disable-dependency-tracking is safe here. The build is always done in one run.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150806/98febba9/attachment.html>


More information about the macports-changes mailing list