- Hack for better hier(7) conformance - install documentation into

${PREFIX}/share/doc;
- use USE_LIBTOOL.
This commit is contained in:
Maxim Sobolev 2002-04-30 23:17:59 +00:00
parent c60edb38f0
commit f03cdffe48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58385
5 changed files with 54 additions and 56 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= libxml PORTNAME= libxml
PORTVERSION= 1.8.17 PORTVERSION= 1.8.17
PORTREVISION= 1
CATEGORIES= textproc gnome CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libxml MASTER_SITE_SUBDIR= stable/sources/libxml
@ -17,7 +18,7 @@ BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_GMAKE= yes USE_GMAKE= yes
GNU_CONFIGURE= yes USE_LIBTOOL= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
pre-patch: pre-patch:

View file

@ -0,0 +1,13 @@
$FreeBSD$
--- configure 2002/04/30 21:56:31 1.1
+++ configure 2002/04/30 21:56:55
@@ -5263,6 +5263,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View file

@ -0,0 +1,14 @@
$FreeBSD$
--- doc/Makefile.in 2002/04/30 21:49:33 1.1
+++ doc/Makefile.in 2002/04/30 21:51:26
@@ -106,7 +106,7 @@
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR = ..
-HTML_DIR = $(datadir)/gnome-xml/html
+HTML_DIR = $(prefix)/share/doc
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs

View file

@ -1,28 +0,0 @@
$FreeBSD$
--- ltmain.sh 2001/08/27 09:51:26 1.1
+++ ltmain.sh 2001/08/27 09:51:42
@@ -2408,6 +2408,9 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
# Add libc to deplibs on all other systems if necessary.
if test "$build_libtool_need_lc" = "yes"; then
@@ -4175,10 +4178,12 @@
fi
# Install the pseudo-library for information purposes.
+ if /usr/bin/false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View file

@ -22,33 +22,31 @@ lib/libxml.a
lib/libxml.so lib/libxml.so
lib/libxml.so.5 lib/libxml.so.5
libdata/pkgconfig/libxml.pc libdata/pkgconfig/libxml.pc
share/gnome-xml/html/gnome-xml/DOM.gif share/doc/gnome-xml/DOM.gif
share/gnome-xml/html/gnome-xml/book1.html share/doc/gnome-xml/book1.html
share/gnome-xml/html/gnome-xml/gnome-xml-debugxml.html share/doc/gnome-xml/gnome-xml-debugxml.html
share/gnome-xml/html/gnome-xml/gnome-xml-encoding.html share/doc/gnome-xml/gnome-xml-encoding.html
share/gnome-xml/html/gnome-xml/gnome-xml-entities.html share/doc/gnome-xml/gnome-xml-entities.html
share/gnome-xml/html/gnome-xml/gnome-xml-error.html share/doc/gnome-xml/gnome-xml-error.html
share/gnome-xml/html/gnome-xml/gnome-xml-htmlparser.html share/doc/gnome-xml/gnome-xml-htmlparser.html
share/gnome-xml/html/gnome-xml/gnome-xml-htmltree.html share/doc/gnome-xml/gnome-xml-htmltree.html
share/gnome-xml/html/gnome-xml/gnome-xml-nanoftp.html share/doc/gnome-xml/gnome-xml-nanoftp.html
share/gnome-xml/html/gnome-xml/gnome-xml-nanohttp.html share/doc/gnome-xml/gnome-xml-nanohttp.html
share/gnome-xml/html/gnome-xml/gnome-xml-parser.html share/doc/gnome-xml/gnome-xml-parser.html
share/gnome-xml/html/gnome-xml/gnome-xml-parserinternals.html share/doc/gnome-xml/gnome-xml-parserinternals.html
share/gnome-xml/html/gnome-xml/gnome-xml-sax.html share/doc/gnome-xml/gnome-xml-sax.html
share/gnome-xml/html/gnome-xml/gnome-xml-tree.html share/doc/gnome-xml/gnome-xml-tree.html
share/gnome-xml/html/gnome-xml/gnome-xml-valid.html share/doc/gnome-xml/gnome-xml-valid.html
share/gnome-xml/html/gnome-xml/gnome-xml-xml-error.html share/doc/gnome-xml/gnome-xml-xml-error.html
share/gnome-xml/html/gnome-xml/gnome-xml-xmlio.html share/doc/gnome-xml/gnome-xml-xmlio.html
share/gnome-xml/html/gnome-xml/gnome-xml-xmlmemory.html share/doc/gnome-xml/gnome-xml-xmlmemory.html
share/gnome-xml/html/gnome-xml/gnome-xml-xpath.html share/doc/gnome-xml/gnome-xml-xpath.html
share/gnome-xml/html/gnome-xml/index.sgml share/doc/gnome-xml/index.sgml
share/gnome-xml/html/gnome-xml/libxml-lib.html share/doc/gnome-xml/libxml-lib.html
share/gnome-xml/html/gnome-xml/libxml-notes.html share/doc/gnome-xml/libxml-notes.html
share/gnome-xml/html/gnome-xml/structure.gif share/doc/gnome-xml/structure.gif
share/gnome-xml/html/gnome-xml/xml.html share/doc/gnome-xml/xml.html
@exec ln -sf . %D/include/gnome-xml/libxml @exec ln -sf . %D/include/gnome-xml/libxml
@unexec rm -f %D/include/gnome-xml/libxml @unexec rm -f %D/include/gnome-xml/libxml
@dirrm share/gnome-xml/html/gnome-xml @dirrm share/doc/gnome-xml
@dirrm share/gnome-xml/html
@dirrm share/gnome-xml
@dirrm include/gnome-xml @dirrm include/gnome-xml