[60064] trunk/dports/x11/lablgtk2
avsm at macports.org
avsm at macports.org
Sat Oct 31 06:24:40 PDT 2009
Revision: 60064
http://trac.macports.org/changeset/60064
Author: avsm at macports.org
Date: 2009-10-31 06:24:37 -0700 (Sat, 31 Oct 2009)
Log Message:
-----------
upgrade to 2.14.0 and install META file for ocamlfind, disable parallel build. based on diff in #22314
Modified Paths:
--------------
trunk/dports/x11/lablgtk2/Portfile
Added Paths:
-----------
trunk/dports/x11/lablgtk2/files/
trunk/dports/x11/lablgtk2/files/patch-META
Modified: trunk/dports/x11/lablgtk2/Portfile
===================================================================
--- trunk/dports/x11/lablgtk2/Portfile 2009-10-31 01:54:06 UTC (rev 60063)
+++ trunk/dports/x11/lablgtk2/Portfile 2009-10-31 13:24:37 UTC (rev 60064)
@@ -1,45 +1,53 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name lablgtk2
-version 2.10.1
-categories x11
-maintainers nomaintainer
-description Objective Caml interface to gtk+ 2.x
-long_description LablGTK2 is is an Objective Caml interface to gtk+ 2.x. \
- It uses the rich type system of Objective Caml 3 to provide a \
- strongly typed, yet very comfortable, object-oriented interface to \
- gtk+. This is not that easy if you know the dynamic typing approach \
- taken by gtk+.
-homepage http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
-platforms darwin
-master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
-distname lablgtk-${version}
-checksums md5 bd7073ca05e684e5d5a3d553371fd6e5 \
- sha1 6c6f273951059fc86b89337a5b10dfb866ca5f87 \
- rmd160 5dda1a7d5438ae57fb8c170b6459393c4af872a2
-depends_lib bin:camlp4:ocaml \
- lib:libgtk.2:gtk2 \
- lib:libglade-2:libglade2 \
- lib:libgnomecanvas:libgnomecanvas \
- lib:libgnomeui:libgnomeui
-configure.args --without-gl --without-rsvg --with-glade \
- --with-gnomecanvas --with-gnomeui --without-panel \
- --without-gtkspell --without-gtksourceview
-build.target world
+name lablgtk2
+version 2.14.0
+categories x11 ml
+maintainers nomaintainer
+description Objective Caml interface to gtk+ 2.x
+long_description LablGTK2 is is an Objective Caml interface to gtk+ 2.x. \
+ It uses the rich type system of Objective Caml 3 to provide a \
+ strongly typed, yet very comfortable, object-oriented interface to \
+ gtk+. This is not that easy if you know the dynamic typing approach \
+ taken by gtk+.
+homepage http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
+platforms darwin
+master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
+distname lablgtk-${version}
+checksums md5 8a26ab3b749ea86d06b2868112332c33 \
+ sha1 4454747e6056181730e68ec253a1ec0f0a644867 \
+ rmd160 fa72ad547b3a169710f137c7fc1e7f841af437f0
+depends_lib bin:camlp4:ocaml \
+ lib:libgtk.2:gtk2 \
+ lib:libglade-2:libglade2 \
+ lib:libgnomecanvas:libgnomecanvas \
+ lib:libgnomeui:libgnomeui
+configure.args --without-gl --without-rsvg --with-glade \
+ --with-gnomecanvas --with-gnomeui --without-panel \
+ --without-gtkspell --without-gtksourceview
+build.target world
+patchfiles patch-META
+use_parallel_build no
variant rsvg description "enable rsvg support" {
- configure.args-delete --without-rsvg
- configure.args-append --with-rsvg
- depends_lib-append lib:librsvg-2:librsvg
+ configure.args-delete --without-rsvg
+ configure.args-append --with-rsvg
+ depends_lib-append lib:librsvg-2:librsvg
}
variant gtksourceview description "enable gtksourceview support" {
- configure.args-delete --without-gtksourceview
- configure.args-append --with-gtksourceview
- depends_lib-append port:gtksourceview
+ configure.args-delete --without-gtksourceview
+ configure.args-append --with-gtksourceview
+ depends_lib-append port:gtksourceview
}
-livecheck.type regex
-livecheck.regex {<DT> <a href="dist/lablgtk-(2.*?).tar.gz">lablgtk-\1.tar.gz</a>}
+post-destroot {
+ set ocaml_site_path [exec ocamlfind printconf destdir]
+ file mkdir ${destroot}/${ocaml_site_path}/lablgtk2
+ file copy ${worksrcpath}/META ${destroot}/${ocaml_site_path}/lablgtk2
+}
+
+livecheck.type regex
+livecheck.regex {<DT> <a href="dist/lablgtk-(2.*?).tar.gz">lablgtk-\1.tar.gz</a>}
Added: trunk/dports/x11/lablgtk2/files/patch-META
===================================================================
--- trunk/dports/x11/lablgtk2/files/patch-META (rev 0)
+++ trunk/dports/x11/lablgtk2/files/patch-META 2009-10-31 13:24:37 UTC (rev 60064)
@@ -0,0 +1,21 @@
+--- META.orig Fri Feb 13 03:39:14 2009
++++ META Wed Oct 21 17:30:00 2009
+@@ -1,8 +1,12 @@
+ requires=""
+-version="2.12.0"
+-archive(byte)="lablgtk.cma"
+-archive(byte,init)="lablgtk.cma gtkInit.cmo"
+-archive(native)="lablgtk.cmxa"
+-archive(native,init)="lablgtk.cmxa gtkInit.cmx"
+-linkopts=""
++version="2.14.0"
+ directory="+lablgtk2"
++archive(byte)="lablgtk.cma lablgnomecanvas.cma gtkInit.cmo"
++archive(native)="lablgtk.cmxa lablgnomecanvas.cmxa gtkInit.cmx"
++archive(byte,lablGL)="lablgtk.cma lablgtkgl.cma lablgnomecanvas.cma gtkInit.cmo"
++archive(native,lablGL)="lablgtk.cmxa lablgtkgl.cmxa lablgnomecanvas.cmxa gtkInit.cmx"
++archive(byte,mt) += "gtkThread.cmo"
++archive(native,mt) += "gtkThread.cmx"
++archive(byte,lablGL,mt) += "gtkThread.cmo"
++archive(native,lablGL,mt) += "gtkThread.cmx"
++archive(toploop,mt) += "gtkThInit.cmo"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091031/070b37ce/attachment-0001.html>
More information about the macports-changes
mailing list