Initial bep and patch files for gtk-doc, from michaelvoliveira.

This commit is contained in:
Scott McCreary
2010-10-01 04:01:20 +00:00
parent eb2bb7ee85
commit 227a7e03ad
2 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DESCRIPTION="gtk-doc"
HOMEPAGE="http://www.gtk.org/gtk-doc/"
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.15/gtk-doc-1.15.tar.bz2"
CHECKSUM_MD5="c022788b1fbbec30d55df4ccb34eeb90"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="pkgconfig >= 0.23
dev-libs/libxslt >= 1.1.26"
BUILD {
cd gtk-doc-1.15
./configure --prefix=/boot/common
make
}
INSTALL {
cd gtk-doc-1.15
make install
}
LICENSE="GNU GPL v2
GNU FDL v1.1"
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"

View File

@@ -0,0 +1,124 @@
diff -Naur gtk-doc-1.15/configure gtk-doc-1.15-haiku/configure
--- gtk-doc-1.15/configure 2010-05-21 05:10:43.057671680 -0300
+++ gtk-doc-1.15-haiku/configure 2010-09-03 22:31:41.759431168 -0300
@@ -12900,120 +12900,6 @@
fi
- # check for the presence of the XML catalog
-
-# Check whether --with-xml-catalog was given.
-if test "${with_xml_catalog+set}" = set; then
- withval=$with_xml_catalog;
-else
- with_xml_catalog=/etc/xml/catalog
-fi
-
- jh_found_xmlcatalog=true
- XML_CATALOG_FILE="$with_xml_catalog"
-
- { $as_echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
-$as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
- if test -f "$XML_CATALOG_FILE"; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- jh_found_xmlcatalog=false
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- fi
-
- # check for the xmlcatalog program
- # Extract the first word of "xmlcatalog", so it can be a program name with args.
-set dummy xmlcatalog; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XMLCATALOG+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- case $XMLCATALOG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
- ;;
-esac
-fi
-XMLCATALOG=$ac_cv_path_XMLCATALOG
-if test -n "$XMLCATALOG"; then
- { $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
-$as_echo "$XMLCATALOG" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "x$XMLCATALOG" = xno; then
- jh_found_xmlcatalog=false
- fi
-
- if $jh_found_xmlcatalog; then
- :
- else
- :
- fi
-
-
- { $as_echo "$as_me:$LINENO: checking for DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo_n "checking for DocBook XML DTD V4.3 in XML catalog... " >&6; }
- if $jh_found_xmlcatalog && \
- { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.3//EN\" >&2") >&5
- ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" >&2) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- { { $as_echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XML DTD V4.3 in XML catalog" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-
- { $as_echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
- if $jh_found_xmlcatalog && \
- { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5
- ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- { { $as_echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-
HIGHLIGHT_OPTIONS=""
# Extract the first word of "source-highlight", so it can be a program name with args.
set dummy source-highlight; ac_word=$2