[78210] trunk/dports/x11
ryandesign at macports.org
ryandesign at macports.org
Thu Apr 28 08:32:54 PDT 2011
Revision: 78210
http://trac.macports.org/changeset/78210
Author: ryandesign at macports.org
Date: 2011-04-28 08:32:54 -0700 (Thu, 28 Apr 2011)
Log Message:
-----------
lablgtk, lablgtk2: whitespace and formatting changes; add modeline
Modified Paths:
--------------
trunk/dports/x11/lablgtk/Portfile
trunk/dports/x11/lablgtk2/Portfile
Modified: trunk/dports/x11/lablgtk/Portfile
===================================================================
--- trunk/dports/x11/lablgtk/Portfile 2011-04-28 15:28:32 UTC (rev 78209)
+++ trunk/dports/x11/lablgtk/Portfile 2011-04-28 15:32:54 UTC (rev 78210)
@@ -1,43 +1,51 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name lablgtk
-version 1.2.7
-revision 1
-categories x11
-maintainers nomaintainer
-description Objective Caml interface to gtk+
-long_description LablGTK is is an Objective Caml interface to gtk+. \
- 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+.
-platforms darwin
+name lablgtk
+version 1.2.7
+revision 1
+categories x11
+platforms darwin
+maintainers nomaintainer
-homepage http://lablgtk.forge.ocamlcore.org/
-master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
-checksums md5 73a797e3a459190fdcaa8288935f6fb9 \
- sha1 fe43512efdc7ab4e0dafb7dc8254a784857a1ade \
- rmd160 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
-depends_lib port:ocaml port:gtk1
+description Objective Caml interface to gtk+
+long_description LablGTK is is an Objective Caml interface to gtk+. \
+ 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://lablgtk.forge.ocamlcore.org/
+master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
+
+checksums md5 73a797e3a459190fdcaa8288935f6fb9 \
+ sha1 fe43512efdc7ab4e0dafb7dc8254a784857a1ade \
+ rmd160 27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
+
+depends_lib port:ocaml \
+ port:gtk1
+
# ocaml is not universal
-universal_variant no
+universal_variant no
configure {
- system "cd ${worksrcpath} && make configure \
- USE_DOTOPT=1 \
- INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk \
- BINDIR=${destroot}${prefix}/bin \
- DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs && make"
+ system "cd ${worksrcpath} && make configure \
+ USE_DOTOPT=1 \
+ INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk \
+ BINDIR=${destroot}${prefix}/bin \
+ DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs && make"
}
-build.target opt
+
+build.target opt
+
post-destroot {
- system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/lablgtk.a"
- system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/liblablgtk.a"
- reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/bin/${name}
+ system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/lablgtk.a"
+ system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/liblablgtk.a"
+ reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/bin/${name}
}
-livecheck.type regex
+livecheck.type regex
livecheck.regex {lablgtk-(1(\.[0-9]+)+)\.}
Modified: trunk/dports/x11/lablgtk2/Portfile
===================================================================
--- trunk/dports/x11/lablgtk2/Portfile 2011-04-28 15:28:32 UTC (rev 78209)
+++ trunk/dports/x11/lablgtk2/Portfile 2011-04-28 15:32:54 UTC (rev 78210)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -6,14 +7,16 @@
version 2.14.2
revision 1
categories x11 ml
+platforms darwin
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+.
-platforms darwin
homepage http://lablgtk.forge.ocamlcore.org/
master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
@@ -29,24 +32,33 @@
port:libglade2 \
port:libgnomecanvas \
port:libgnomeui
-configure.args --without-gl --without-rsvg --with-glade \
- --with-gnomecanvas --with-gnomeui --without-panel \
- --without-gtkspell --without-gtksourceview
+
+universal_variant no
+
+patchfiles patch-META
+
+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
-universal_variant no
variant rsvg description "enable rsvg support" {
- configure.args-delete --without-rsvg
- configure.args-append --with-rsvg
- depends_lib-append port:librsvg
+ configure.args-delete --without-rsvg
+ configure.args-append --with-rsvg
+ depends_lib-append port: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
}
post-destroot {
@@ -55,5 +67,5 @@
file copy ${worksrcpath}/META ${destroot}${ocaml_site_path}/lablgtk2
}
-livecheck.type regex
-livecheck.regex {lablgtk-([0-9]+(\.[0-9]+)+)\.}
+livecheck.type regex
+livecheck.regex {lablgtk-([0-9]+(\.[0-9]+)+)\.}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110428/03fa322e/attachment.html>
More information about the macports-changes
mailing list