[55756] trunk/dports/devel/orbit2
nox at macports.org
nox at macports.org
Tue Aug 18 05:51:12 PDT 2009
Revision: 55756
http://trac.macports.org/changeset/55756
Author: nox at macports.org
Date: 2009-08-18 05:51:11 -0700 (Tue, 18 Aug 2009)
Log Message:
-----------
orbit2: Patch gtkdoc-rebase test instead of depending on gtk-doc, as in gtk2.
Modified Paths:
--------------
trunk/dports/devel/orbit2/Portfile
Added Paths:
-----------
trunk/dports/devel/orbit2/files/patch-which-gtkdoc-rebase.diff
Modified: trunk/dports/devel/orbit2/Portfile
===================================================================
--- trunk/dports/devel/orbit2/Portfile 2009-08-18 12:08:45 UTC (rev 55755)
+++ trunk/dports/devel/orbit2/Portfile 2009-08-18 12:51:11 UTC (rev 55756)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -25,9 +26,10 @@
sha1 d1f38e9df5efc219f3a5cfb4d0a0cbc1b381fe1c \
rmd160 7e76fe543163fe9763e4a7e293640c7c87a160e8
-depends_build port:pkgconfig \
- port:gtk-doc
+patchfiles patch-which-gtkdoc-rebase.diff
+depends_build port:pkgconfig
+
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:libidl
@@ -64,7 +66,7 @@
}
# During configure phase, idl compiler on run_arch will not exist yet, so disable the check for existence.
- patchfiles patch-configure.diff
+ patchfiles-append patch-configure.diff
foreach arch ${cross_archs} {
lappend merger_configure_args(${arch}) \
Added: trunk/dports/devel/orbit2/files/patch-which-gtkdoc-rebase.diff
===================================================================
--- trunk/dports/devel/orbit2/files/patch-which-gtkdoc-rebase.diff (rev 0)
+++ trunk/dports/devel/orbit2/files/patch-which-gtkdoc-rebase.diff 2009-08-18 12:51:11 UTC (rev 55756)
@@ -0,0 +1,40 @@
+--- docs/api/Makefile.in.orig 2009-08-18 14:45:13.000000000 +0200
++++ docs/api/Makefile.in 2009-08-18 14:45:50.000000000 +0200
+@@ -577,7 +577,7 @@
+ mv -f $${installdir}/$(DOC_MODULE).devhelp \
+ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
+ fi; \
+- ! which gtkdoc-rebase >/dev/null 2>&1 || \
++ ! test -x "`which gtkdoc-rebase`" || \
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
+ fi
+
+@@ -607,7 +607,7 @@
+ -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
+ -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
+ cd $(distdir) && rm -f $(DISTCLEANFILES)
+- ! which gtkdoc-rebase >/dev/null 2>&1 || \
++ ! test -x "`which gtkdoc-rebase`" || \
+ gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
+
+ .PHONY : dist-hook-local docs
+--- gtk-doc.make.orig 2009-08-18 14:45:21.000000000 +0200
++++ gtk-doc.make 2009-08-18 14:46:10.000000000 +0200
+@@ -157,7 +157,7 @@
+ mv -f $${installdir}/$(DOC_MODULE).devhelp \
+ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
+ fi; \
+- ! which gtkdoc-rebase >/dev/null 2>&1 || \
++ ! test -x "`which gtkdoc-rebase`" || \
+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
+ fi
+
+@@ -190,7 +190,7 @@
+ -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
+ -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
+ cd $(distdir) && rm -f $(DISTCLEANFILES)
+- ! which gtkdoc-rebase >/dev/null 2>&1 || \
++ ! test -x "`which gtkdoc-rebase`" || \
+ gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
+
+ .PHONY : dist-hook-local docs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090818/2b1e0490/attachment.html>
More information about the macports-changes
mailing list