[129579] trunk/dports/lang
dports at macports.org
dports at macports.org
Mon Dec 15 20:32:07 PST 2014
Revision: 129579
https://trac.macports.org/changeset/129579
Author: dports at macports.org
Date: 2014-12-15 20:32:06 -0800 (Mon, 15 Dec 2014)
Log Message:
-----------
guile18: add port in preparation for (eventual) update of guile to
guile 2.0; see #29307
Modified Paths:
--------------
trunk/dports/lang/guile18/Portfile
Added Paths:
-----------
trunk/dports/lang/guile18/
Property changes on: trunk/dports/lang/guile18
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/mld-qt-481/dports/lang/guile:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
Modified: trunk/dports/lang/guile18/Portfile
===================================================================
--- trunk/dports/lang/guile/Portfile 2014-09-06 19:15:12 UTC (rev 125115)
+++ trunk/dports/lang/guile18/Portfile 2014-12-16 04:32:06 UTC (rev 129579)
@@ -4,9 +4,8 @@
PortSystem 1.0
PortGroup muniversal 1.0
-name guile
+name guile18
version 1.8.8
-revision 1
categories lang
maintainers nomaintainer
platforms darwin
@@ -37,7 +36,7 @@
distname guile-${version}
homepage http://www.gnu.org/software/guile/guile.html
-master_sites gnu
+master_sites gnu:guile
checksums md5 18661a8fdfef13e2fcb7651720aa53f3 \
sha1 548d6927aeda332b117f8fc5e4e82c39a05704f9 \
@@ -115,10 +114,50 @@
set merger_dont_diff "${prefix}/include/libguile/scmconfig.h"
-#post-destroot {
-# file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
-# }
+post-destroot {
+ file delete ${destroot}${prefix}/share/${name}/1.6/ice-9/and-let\*.scm
+ file delete ${destroot}${prefix}/share/info/goops.info
+ file delete ${destroot}${prefix}/share/info/guile-tut.info
+ file delete ${destroot}${prefix}/share/info/guile.info
+ file delete ${destroot}${prefix}/share/info/guile.info-1
+ file delete ${destroot}${prefix}/share/info/guile.info-2
+ file delete ${destroot}${prefix}/share/info/guile.info-3
+ file delete ${destroot}${prefix}/share/info/guile.info-4
+ file delete ${destroot}${prefix}/share/info/guile.info-5
+ file delete ${destroot}${prefix}/share/info/guile.info-6
+ file delete ${destroot}${prefix}/share/info/guile.info-7
+ file delete ${destroot}${prefix}/share/info/r5rs.info
+
+ file rename ${destroot}${prefix}/bin/guile ${destroot}${prefix}/bin/${name}
+ file rename ${destroot}${prefix}/bin/guile-config ${destroot}${prefix}/bin/${name}-config
+ file rename ${destroot}${prefix}/bin/guile-snarf ${destroot}${prefix}/bin/${name}-snarf
+ file rename ${destroot}${prefix}/bin/guile-tools ${destroot}${prefix}/bin/${name}-tools
+ file rename ${destroot}${prefix}/include/guile ${destroot}${prefix}/include/guile18
+
+ file rename ${destroot}${prefix}/include/libguile ${destroot}${prefix}/include/libguile18
+ file rename ${destroot}${prefix}/include/libguile.h ${destroot}${prefix}/include/libguile18.h
+
+ file rename ${destroot}${prefix}/share/aclocal/guile.m4 ${destroot}${prefix}/share/aclocal/guile18.m4
+
+ file rename ${destroot}${prefix}/lib/libguile.a ${destroot}${prefix}/lib/libguile18.a
+ file rename ${destroot}${prefix}/lib/libguile.la ${destroot}${prefix}/lib/libguile18.la
+ file rename ${destroot}${prefix}/lib/libguile.dylib ${destroot}${prefix}/lib/libguile18.dylib
+
+ file rename ${destroot}${prefix}/share/man/man1/guile.1 ${destroot}${prefix}/share/man/man1/guile18.1
+
+ reinplace "s|-lguile |-lguile18 |g" ${destroot}${prefix}/bin/guile18-config
+ reinplace "s|${prefix}/bin/guile|${prefix}/bin/guile18|g" ${destroot}${prefix}/bin/guile18-config
+
+ fs-traverse src_file ${destroot}${prefix}/include/ {
+ if { [ file isfile ${src_file} ] } {
+ reinplace "s|\\<guile\\/|\\<guile18\\/|g" $src_file
+ reinplace "s|libguile\\.h|libguile18\\.h|g" $src_file
+ reinplace "s|libguile/|libguile18/|g" $src_file
+ }
+ }
+}
+
livecheck.type regex
livecheck.url "http://ftp.gnu.org/pub/gnu/guile/?C=N;O=D"
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.regex {guile-(1\.8(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141215/027156ca/attachment.html>
More information about the macports-changes
mailing list