[93108] trunk/dports/x11/lablgtk2/Portfile
mww at macports.org
mww at macports.org
Tue May 15 03:55:35 PDT 2012
Revision: 93108
https://trac.macports.org/changeset/93108
Author: mww at macports.org
Date: 2012-05-15 03:55:31 -0700 (Tue, 15 May 2012)
Log Message:
-----------
lablgtk2: use ocaml port group; install docs; inc revision
Modified Paths:
--------------
trunk/dports/x11/lablgtk2/Portfile
Modified: trunk/dports/x11/lablgtk2/Portfile
===================================================================
--- trunk/dports/x11/lablgtk2/Portfile 2012-05-15 10:12:57 UTC (rev 93107)
+++ trunk/dports/x11/lablgtk2/Portfile 2012-05-15 10:55:31 UTC (rev 93108)
@@ -2,10 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
name lablgtk2
version 2.14.2
-revision 1
+revision 2
categories x11 ml
platforms darwin
maintainers nomaintainer
@@ -36,9 +37,6 @@
port:libgnomecanvas \
port:libgnomeui
-# ocaml is not universal
-universal_variant no
-
patchfiles patch-META
configure.args --without-gl \
@@ -50,7 +48,7 @@
--without-gtkspell \
--without-gtksourceview
-build.target world
+build.target world doc
use_parallel_build no
variant rsvg description "enable rsvg support" {
@@ -66,9 +64,10 @@
}
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
+ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120515/2684a607/attachment.html>
More information about the macports-changes
mailing list