[80617] trunk/dports/devel/fossil

ciserlohn at macports.org ciserlohn at macports.org
Fri Jul 15 15:07:24 PDT 2011


Revision: 80617
          http://trac.macports.org/changeset/80617
Author:   ciserlohn at macports.org
Date:     2011-07-15 15:07:24 -0700 (Fri, 15 Jul 2011)
Log Message:
-----------
fossil: update to version 1.18

* fossil can now be build with the standard configure/make procedure, so the custom configure phase and the patch to 
  ensure UsingTheRightCompiler has been removed.

* the windows specific stuff has been moved to a separate directory thus the patch to remove it can be omitted.

* the versioning scheme now uses a sequential numbering, though the distfiles are still only labeled with a release date.
  Insert ${epoch} into the portfile to adapt to the new versionig scheme. Adjusted the livecheck and ${distname} accordingly.

Modified Paths:
--------------
    trunk/dports/devel/fossil/Portfile

Removed Paths:
-------------
    trunk/dports/devel/fossil/files/

Modified: trunk/dports/devel/fossil/Portfile
===================================================================
--- trunk/dports/devel/fossil/Portfile	2011-07-15 22:00:50 UTC (rev 80616)
+++ trunk/dports/devel/fossil/Portfile	2011-07-15 22:07:24 UTC (rev 80617)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 
 name                fossil
-version             20110528185122
+version             1.18
+epoch               20110713230341
 categories          devel
 platforms           darwin
 license             BSD
@@ -21,10 +22,10 @@
 homepage            http://www.fossil-scm.org/
 
 master_sites        ${homepage}download/
-distname            ${name}-src-${version}
+distname            ${name}-src-${epoch}
 
-checksums           sha1    3225080b4e9a8542fced48d8797a8eaef26ef17d \
-                    rmd160  3301f3e962c9b9a3304b135de03342ad0ba0da79
+checksums           sha1    41162f4db6711210bc19271414454e953e348c5e \
+                    rmd160  c0033a685457e032eea8ad9804be61121e8c8492
 
 test.run            yes
 
@@ -33,27 +34,6 @@
 depends_lib         port:zlib \
                     port:openssl
 
-patchfiles          patch-Makefile.diff \
-                    patch-src-makemake.tcl.diff
-
-post-extract {
-    reinplace s|\$\(INSTALLDIR\)|\$(DESTDIR)/${prefix}/bin|g ${worksrcpath}/src/makemake.tcl
-}
-
-configure {
-    system "cd ${worksrcpath}/src && tclsh ${worksrcpath}/src/makemake.tcl"
-}
-
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
-
-build.args-append   CC="${configure.cc} ${archflags}" \
-                    CFLAGS=${configure.cflags} \
-                    LDFLAGS=${configure.ldflags}
-
 post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdir}
@@ -107,5 +87,6 @@
 }
 
 livecheck.type      regex
+livecheck.version   ${epoch}
 livecheck.url       ${homepage}/download.html
 livecheck.regex     ${name}-src-(\\d{14})${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110715/bc163bea/attachment.html>


More information about the macports-changes mailing list