[96995] trunk/dports/x11/lablgtk2
mww at macports.org
mww at macports.org
Fri Aug 24 04:55:07 PDT 2012
Revision: 96995
https://trac.macports.org/changeset/96995
Author: mww at macports.org
Date: 2012-08-24 04:55:03 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
lablgtk2: version 2.16.0
Modified Paths:
--------------
trunk/dports/x11/lablgtk2/Portfile
Removed Paths:
-------------
trunk/dports/x11/lablgtk2/files/
Modified: trunk/dports/x11/lablgtk2/Portfile
===================================================================
--- trunk/dports/x11/lablgtk2/Portfile 2012-08-24 10:37:30 UTC (rev 96994)
+++ trunk/dports/x11/lablgtk2/Portfile 2012-08-24 11:55:03 UTC (rev 96995)
@@ -2,11 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup ocaml 1.0
+PortGroup ocaml 1.0
name lablgtk2
-version 2.14.2
-revision 2
+version 2.16.0
categories x11 ml
platforms darwin
maintainers nomaintainer
@@ -22,11 +21,11 @@
taken by gtk+.
homepage http://lablgtk.forge.ocamlcore.org/
-master_sites http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
+master_sites https://forge.ocamlcore.org/frs/download.php/979/
distname lablgtk-${version}
-checksums sha1 fd184418ccbc542825748ca63fba75138d2ea561 \
- rmd160 aa463705398eb60712187ef6a252849fb59cbff2
+checksums rmd160 47d89ce62e02dc4143f340e92adfdde6bbdef89a \
+ sha256 a0ea9752eb257dadcfc2914408fff339d4c34357802f02c63329dd41b777de2f
depends_build port:pkgconfig
depends_lib port:ocaml \
@@ -37,10 +36,8 @@
port:libgnomecanvas \
port:libgnomeui
-patchfiles patch-META \
- patch-ocaml-4.diff
-
-configure.args --without-gl \
+configure.args --with-libdir=${prefix}/lib/ocaml/site-libs \
+ --without-gl \
--without-rsvg \
--with-glade \
--with-gnomecanvas \
@@ -52,6 +49,17 @@
build.target world doc
use_parallel_build no
+pre-destroot { xinstall -m 755 -d "${destroot}${prefix}/lib/ocaml/site-libs/stublibs" }
+
+destroot.target old-install
+
+post-destroot {
+ xinstall -m 755 -d ${ocamlfind_destdir}/lablgtk2 \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/META ${ocamlfind_destdir}/lablgtk2
+ file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}/
+}
+
variant rsvg description "enable rsvg support" {
configure.args-delete --without-rsvg
configure.args-append --with-rsvg
@@ -64,12 +72,5 @@
depends_lib-append port:gtksourceview
}
-post-destroot {
- xinstall -m 755 -d ${ocamlfind_destdir}/lablgtk2 \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/META ${ocamlfind_destdir}/lablgtk2
- file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}/
-}
-
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/20120824/c0b45d14/attachment.html>
More information about the macports-changes
mailing list