Initial import libxslt-0.7.0
--- libXSLT is a C language implementation of the XSLT Library, based on libxml.
This commit is contained in:
parent
b2e65e7ad1
commit
eac6b9fdec
26
textproc/libxslt/Makefile
Normal file
26
textproc/libxslt/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/18 18:25:33 shell Exp $
|
||||
|
||||
COMMENT= 'the XSLT C Library for GNOME'
|
||||
|
||||
DISTNAME= libxslt-0.7.0
|
||||
CATEGORIES= textproc
|
||||
NEED_VERSION= 1.399
|
||||
HOMEPAGE= http://xmlsoft.org/
|
||||
|
||||
MAINTAINER= Shell Hung <shell@openbsd.org>
|
||||
|
||||
LIB_DEPENDS= xml2.5::textproc/libxml
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://xmlsoft.org/
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/libxslt/files/md5
Normal file
3
textproc/libxslt/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libxslt-0.7.0.tar.gz) = ca00ae45feb65f3e17ddf670396ed4ba
|
||||
RMD160 (libxslt-0.7.0.tar.gz) = 4ebae187831f8072a66fd547a6ee974522beb339
|
||||
SHA1 (libxslt-0.7.0.tar.gz) = dee6fe287363861d9fcedec310f552f3b3d1fb96
|
37
textproc/libxslt/patches/patch-doc-Makefile_in
Normal file
37
textproc/libxslt/patches/patch-doc-Makefile_in
Normal file
@ -0,0 +1,37 @@
|
||||
--- doc/Makefile.in.orig Sat Mar 10 21:26:17 2001
|
||||
+++ doc/Makefile.in Thu Mar 22 16:28:56 2001
|
||||
@@ -24,7 +24,7 @@
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
-datadir = @datadir@
|
||||
+datadir = @datadir@/doc
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
@@ -84,7 +84,7 @@
|
||||
XSLT_LIBDIR = @XSLT_LIBDIR@
|
||||
XSLT_LIBS = @XSLT_LIBS@
|
||||
|
||||
-DOC_MODULE = libxslt-$(VERSION)
|
||||
+DOC_MODULE = libxslt
|
||||
|
||||
# The top-level SGML file.
|
||||
DOC_MAIN_SGML_FILE = libxslt.sgml
|
||||
@@ -92,7 +92,7 @@
|
||||
# The directory containing the source code (if it contains documentation).
|
||||
DOC_SOURCE_DIR = ..
|
||||
|
||||
-HTML_DIR = $(prefix)/doc
|
||||
+HTML_DIR = $(datadir)
|
||||
|
||||
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)/html
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
@@ -231,7 +231,6 @@
|
||||
-@INSTALL@ -m 0644 $(srcdir)/xml.html $(DESTDIR)$(TARGET_DIR)
|
||||
-@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)
|
||||
-@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)
|
||||
- -(cd $(DESTDIR); gtkdoc-fixxref --module=libxslt --html-dir=$(HTML_DIR))
|
||||
|
||||
dist-hook:
|
||||
(cd $(srcdir) ; tar cvf - *.html *.gif html/*.html html/*.sgml) | (cd $(distdir); tar xf -)
|
51
textproc/libxslt/patches/patch-ltconfig
Normal file
51
textproc/libxslt/patches/patch-ltconfig
Normal file
@ -0,0 +1,51 @@
|
||||
--- ltconfig.orig Sat Mar 10 21:22:00 2001
|
||||
+++ ltconfig Sat Mar 17 22:51:02 2001
|
||||
@@ -1105,6 +1105,9 @@
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
+openbsd*)
|
||||
+ with_gnu_ld=no
|
||||
+ ;;
|
||||
|
||||
esac
|
||||
|
||||
@@ -1396,10 +1399,21 @@
|
||||
;;
|
||||
|
||||
openbsd*)
|
||||
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
- hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
+ case "$host_os" in
|
||||
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='-R$libdir'
|
||||
+ ;;
|
||||
+ *)
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then
|
||||
+ export_dynamic_flag_spec='${wl}-E'
|
||||
+ fi
|
||||
+ ;;
|
||||
+ esac
|
||||
;;
|
||||
|
||||
os2*)
|
||||
@@ -1997,13 +2011,10 @@
|
||||
|
||||
openbsd*)
|
||||
version_type=sunos
|
||||
- if test "$with_gnu_ld" = yes; then
|
||||
- need_lib_prefix=no
|
||||
- need_version=no
|
||||
- fi
|
||||
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
||||
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
+ deplibs_check_method='pass_all'
|
||||
;;
|
||||
|
||||
os2*)
|
82
textproc/libxslt/patches/patch-ltmain.sh
Normal file
82
textproc/libxslt/patches/patch-ltmain.sh
Normal file
@ -0,0 +1,82 @@
|
||||
--- ltmain.sh.orig Sat Mar 10 21:22:00 2001
|
||||
+++ ltmain.sh Sat Mar 17 22:51:58 2001
|
||||
@@ -1079,6 +1079,17 @@
|
||||
# These systems don't actually have c library (as such)
|
||||
continue
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ elif test "$arg" = "-lc_r"; then
|
||||
+ case "$host" in
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc_r directly, use -pthread flag.
|
||||
+ continue
|
||||
+ ;;
|
||||
esac
|
||||
elif test "$arg" = "-lm"; then
|
||||
case "$host" in
|
||||
@@ -1091,6 +1102,10 @@
|
||||
deplibs="$deplibs $arg"
|
||||
;;
|
||||
|
||||
+ -?thread)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1795,6 +1810,9 @@
|
||||
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
|
||||
# these systems don't actually have a c library (as such)!
|
||||
;;
|
||||
+ *-*-openbsd*)
|
||||
+ # Do not include libc due to us having libc/libc_r.
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems.
|
||||
deplibs="$deplibs -lc"
|
||||
@@ -3555,40 +3573,6 @@
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
4
textproc/libxslt/pkg/DESCR
Normal file
4
textproc/libxslt/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
libXSLT is a C language implementation of the XSLT Library, based
|
||||
on libxml.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
textproc/libxslt/pkg/PFRAG.shared
Normal file
3
textproc/libxslt/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/04/18 18:25:33 shell Exp $
|
||||
lib/libxslt.so.0.0
|
||||
DYNLIBDIR(%B)
|
43
textproc/libxslt/pkg/PLIST
Normal file
43
textproc/libxslt/pkg/PLIST
Normal file
@ -0,0 +1,43 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/18 18:25:33 shell Exp $
|
||||
bin/xslt-config
|
||||
bin/xsltproc
|
||||
include/libxslt/attributes.h
|
||||
include/libxslt/documents.h
|
||||
include/libxslt/extensions.h
|
||||
include/libxslt/extra.h
|
||||
include/libxslt/functions.h
|
||||
include/libxslt/imports.h
|
||||
include/libxslt/keys.h
|
||||
include/libxslt/namespaces.h
|
||||
include/libxslt/numbersInternals.h
|
||||
include/libxslt/pattern.h
|
||||
include/libxslt/preproc.h
|
||||
include/libxslt/templates.h
|
||||
include/libxslt/transform.h
|
||||
include/libxslt/variables.h
|
||||
include/libxslt/xslt.h
|
||||
include/libxslt/xsltInternals.h
|
||||
include/libxslt/xsltutils.h
|
||||
lib/libxslt.a
|
||||
lib/libxslt.la
|
||||
lib/xsltConf.sh
|
||||
%%SHARED%%
|
||||
share/doc/libxslt/html/book1.html
|
||||
share/doc/libxslt/html/libxslt-attributes.html
|
||||
share/doc/libxslt/html/libxslt-functions.html
|
||||
share/doc/libxslt/html/libxslt-imports.html
|
||||
share/doc/libxslt/html/libxslt-keys.html
|
||||
share/doc/libxslt/html/libxslt-lib.html
|
||||
share/doc/libxslt/html/libxslt-namespaces.html
|
||||
share/doc/libxslt/html/libxslt-notes.html
|
||||
share/doc/libxslt/html/libxslt-numbersinternals.html
|
||||
share/doc/libxslt/html/libxslt-pattern.html
|
||||
share/doc/libxslt/html/libxslt-templates.html
|
||||
share/doc/libxslt/html/libxslt-transform.html
|
||||
share/doc/libxslt/html/libxslt-variables.html
|
||||
share/doc/libxslt/html/libxslt-xslt.html
|
||||
share/doc/libxslt/html/libxslt-xsltinternals.html
|
||||
share/doc/libxslt/html/libxslt-xsltutils.html
|
||||
@dirrm share/doc/libxslt/html
|
||||
@dirrm share/doc/libxslt
|
||||
@dirrm include/libxslt
|
Loading…
Reference in New Issue
Block a user