the Scrollkeeper Open Documentation Cataloging System

This commit is contained in:
todd 2001-09-13 20:40:56 +00:00
parent b1301a9231
commit 71899a3294
8 changed files with 457 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/13 20:40:56 todd Exp $
COMMENT= "the Scrollkeeper Open Documentation Cataloging System"
V= 0.2
DISTNAME= scrollkeeper-${V}
CATEGORIES= textproc
NEED_VERSION= 1.384
HOMEPAGE= http://scrollkeeper.sourceforge.net
MAINTAINER= Nils Nordman <nino@nforced.com>
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/scrollkeeper
LIB_DEPENDS= xml.9::textproc/libxml1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
post-extract:
@find ${WRKSRC}/cl/templates -name Makefile.in | xargs \
perl -pi -e 's|data_link_dir = \$$\(datadir\)/scrollkeeper/Templates/|data_link_dir = |g; \
s|\$$\(LN_S\) -f -n \$$\(DESTDIR\)|\$$\(LN_S\) -f |g'
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (scrollkeeper-0.2.tar.gz) = a10cb1fae040525e50b1b05dc06dc9a7
RMD160 (scrollkeeper-0.2.tar.gz) = 424645a1c63ac32621aaf90f33a076bac33b71c5
SHA1 (scrollkeeper-0.2.tar.gz) = 2f1f7ce884d64d3f7e6222a373372635cdf8508e

View File

@ -0,0 +1,51 @@
--- ltconfig.orig Sun Oct 3 15:17:34 1999
+++ ltconfig Tue Feb 20 17:11:31 2001
@@ -1105,6 +1105,9 @@ cygwin* | mingw*)
with_gnu_ld=no
fi
;;
+openbsd*)
+ with_gnu_ld=no
+ ;;
esac
@@ -1391,10 +1394,21 @@ else
;;
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*)
@@ -1955,13 +1969,10 @@ netbsd*)
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*)

View File

@ -0,0 +1,83 @@
--- ltmain.sh.orig Sun Oct 3 15:17:34 1999
+++ ltmain.sh Tue Feb 20 17:12:45 2001
@@ -1073,7 +1073,18 @@ compiler."
# 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
*-*-cygwin* | *-*-beos*)
@@ -1085,6 +1096,10 @@ compiler."
deplibs="$deplibs $arg"
;;
+ -?thread)
+ deplibs="$deplibs $arg"
+ ;;
+
-module)
module=yes
continue
@@ -1789,6 +1804,9 @@ compiler."
*-*-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"
@@ -3522,40 +3540,6 @@ libdir='$install_libdir'\
# 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
;;

View File

@ -0,0 +1,9 @@
ScrollKeeper is a cataloging system for documentation on open systems.
It manages documentation metadata (as specified by the Open Source Metadata
Framework(OMF)) and provides a simple API to allow help browsers to find,
sort, and search the document catalog.
It will also be able to communicate with catalog servers on the Net to search
for documents which are not on the local system.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,28 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.1.1.1 2001/09/13 20:40:56 todd Exp $
#
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
# localstatedir
install -d /var/lib/scrollkeeper
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/09/13 20:40:56 todd Exp $
lib/libscrollkeeper.so.0.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,247 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/13 20:40:56 todd Exp $
bin/scrollkeeper-config
bin/scrollkeeper-get-cl
bin/scrollkeeper-get-content-list
bin/scrollkeeper-get-extended-content-list
bin/scrollkeeper-get-toc-from-docpath
bin/scrollkeeper-get-toc-from-id
bin/scrollkeeper-install
bin/scrollkeeper-preinstall
bin/scrollkeeper-rebuilddb
bin/scrollkeeper-uninstall
bin/scrollkeeper-update
bin/scrollkeeper_toc
lib/libscrollkeeper.a
lib/libscrollkeeper.la
man/man8/scrollkeeper-config.8
man/man8/scrollkeeper-preinstall.8
man/man8/scrollkeeper-rebuilddb.8
man/man8/scrollkeeper-update.8
share/doc/scrollkeeper-0.2/COPYING-DOCS
share/locale/da/LC_MESSAGES/scrollkeeper.mo
share/locale/de/LC_MESSAGES/scrollkeeper.mo
share/locale/el/LC_MESSAGES/scrollkeeper.mo
share/locale/es/LC_MESSAGES/scrollkeeper.mo
share/locale/fr/LC_MESSAGES/scrollkeeper.mo
share/locale/hu/LC_MESSAGES/scrollkeeper.mo
share/locale/ja/LC_MESSAGES/scrollkeeper.mo
share/locale/ko/LC_MESSAGES/scrollkeeper.mo
share/locale/nl/LC_MESSAGES/scrollkeeper.mo
share/locale/no/LC_MESSAGES/scrollkeeper.mo
share/locale/pt_BR/LC_MESSAGES/scrollkeeper.mo
share/locale/ru/LC_MESSAGES/scrollkeeper.mo
share/locale/sk/LC_MESSAGES/scrollkeeper.mo
share/locale/sl/LC_MESSAGES/scrollkeeper.mo
share/locale/sv/LC_MESSAGES/scrollkeeper.mo
share/locale/tr/LC_MESSAGES/scrollkeeper.mo
share/locale/uk/LC_MESSAGES/scrollkeeper.mo
share/omf/scrollkeeper/scrollkeeper_manual-C.omf
share/scrollkeeper/Templates/C/scrollkeeper_cl.xml
share/scrollkeeper/Templates/af/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ar/scrollkeeper_cl.xml
share/scrollkeeper/Templates/az/scrollkeeper_cl.xml
share/scrollkeeper/Templates/bg/scrollkeeper_cl.xml
share/scrollkeeper/Templates/bg_BG
share/scrollkeeper/Templates/bg_BG.cp1251
share/scrollkeeper/Templates/bo/scrollkeeper_cl.xml
share/scrollkeeper/Templates/br/scrollkeeper_cl.xml
share/scrollkeeper/Templates/bs/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ca/scrollkeeper_cl.xml
share/scrollkeeper/Templates/cs/scrollkeeper_cl.xml
share/scrollkeeper/Templates/cy/scrollkeeper_cl.xml
share/scrollkeeper/Templates/da/scrollkeeper_cl.xml
share/scrollkeeper/Templates/de/scrollkeeper_cl.xml
share/scrollkeeper/Templates/de_AT
share/scrollkeeper/Templates/el/scrollkeeper_cl.xml
share/scrollkeeper/Templates/en
share/scrollkeeper/Templates/en_AU
share/scrollkeeper/Templates/en_GB
share/scrollkeeper/Templates/en_SE
share/scrollkeeper/Templates/en_UK
share/scrollkeeper/Templates/en_US
share/scrollkeeper/Templates/eo/scrollkeeper_cl.xml
share/scrollkeeper/Templates/es/scrollkeeper_cl.xml
share/scrollkeeper/Templates/es_DO
share/scrollkeeper/Templates/es_ES
share/scrollkeeper/Templates/es_GT
share/scrollkeeper/Templates/es_HN
share/scrollkeeper/Templates/es_MX
share/scrollkeeper/Templates/es_PA
share/scrollkeeper/Templates/es_PE
share/scrollkeeper/Templates/es_SV
share/scrollkeeper/Templates/et/scrollkeeper_cl.xml
share/scrollkeeper/Templates/eu/scrollkeeper_cl.xml
share/scrollkeeper/Templates/fi/scrollkeeper_cl.xml
share/scrollkeeper/Templates/fr/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ga/scrollkeeper_cl.xml
share/scrollkeeper/Templates/gd/scrollkeeper_cl.xml
share/scrollkeeper/Templates/gl/scrollkeeper_cl.xml
share/scrollkeeper/Templates/gu/scrollkeeper_cl.xml
share/scrollkeeper/Templates/gv/scrollkeeper_cl.xml
share/scrollkeeper/Templates/he/scrollkeeper_cl.xml
share/scrollkeeper/Templates/hi/scrollkeeper_cl.xml
share/scrollkeeper/Templates/hr/scrollkeeper_cl.xml
share/scrollkeeper/Templates/hs/scrollkeeper_cl.xml
share/scrollkeeper/Templates/hu/scrollkeeper_cl.xml
share/scrollkeeper/Templates/id/scrollkeeper_cl.xml
share/scrollkeeper/Templates/is/scrollkeeper_cl.xml
share/scrollkeeper/Templates/it/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ja/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ja_JP.eucJP
share/scrollkeeper/Templates/km/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ko/scrollkeeper_cl.xml
share/scrollkeeper/Templates/kw/scrollkeeper_cl.xml
share/scrollkeeper/Templates/li/scrollkeeper_cl.xml
share/scrollkeeper/Templates/lt/scrollkeeper_cl.xml
share/scrollkeeper/Templates/mi/scrollkeeper_cl.xml
share/scrollkeeper/Templates/mk/scrollkeeper_cl.xml
share/scrollkeeper/Templates/mr/scrollkeeper_cl.xml
share/scrollkeeper/Templates/nb/scrollkeeper_cl.xml
share/scrollkeeper/Templates/nl/scrollkeeper_cl.xml
share/scrollkeeper/Templates/nn/scrollkeeper_cl.xml
share/scrollkeeper/Templates/no
share/scrollkeeper/Templates/no_NY
share/scrollkeeper/Templates/oc/scrollkeeper_cl.xml
share/scrollkeeper/Templates/pl/scrollkeeper_cl.xml
share/scrollkeeper/Templates/pt/scrollkeeper_cl.xml
share/scrollkeeper/Templates/pt_BR/scrollkeeper_cl.xml
share/scrollkeeper/Templates/pt_PT
share/scrollkeeper/Templates/ro/scrollkeeper_cl.xml
share/scrollkeeper/Templates/ru/scrollkeeper_cl.xml
share/scrollkeeper/Templates/se/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sk/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sl/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sp/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sr/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sr_YU
share/scrollkeeper/Templates/sv/scrollkeeper_cl.xml
share/scrollkeeper/Templates/sv_SE
share/scrollkeeper/Templates/ta/scrollkeeper_cl.xml
share/scrollkeeper/Templates/th/scrollkeeper_cl.xml
share/scrollkeeper/Templates/tr/scrollkeeper_cl.xml
share/scrollkeeper/Templates/uk/scrollkeeper_cl.xml
share/scrollkeeper/Templates/wa/scrollkeeper_cl.xml
share/scrollkeeper/Templates/zh/scrollkeeper_cl.xml
share/scrollkeeper/Templates/zh_CN
share/scrollkeeper/Templates/zh_CN.GB2312
share/scrollkeeper/Templates/zh_TW
share/scrollkeeper/Templates/zh_TW.Big5
share/scrollkeeper/doc/scrollkeeper_manual/C/aboutthisdoc.html
share/scrollkeeper/doc/scrollkeeper_manual/C/administration.html
share/scrollkeeper/doc/scrollkeeper_manual/C/authors.html
share/scrollkeeper/doc/scrollkeeper_manual/C/contents-tree.html
share/scrollkeeper/doc/scrollkeeper_manual/C/docbook.css
share/scrollkeeper/doc/scrollkeeper_manual/C/exampleomffiles.html
share/scrollkeeper/doc/scrollkeeper_manual/C/fdl.html
share/scrollkeeper/doc/scrollkeeper_manual/C/glossary.html
share/scrollkeeper/doc/scrollkeeper_manual/C/index.html
share/scrollkeeper/doc/scrollkeeper_manual/C/indexapi.html
share/scrollkeeper/doc/scrollkeeper_manual/C/installbyhand.html
share/scrollkeeper/doc/scrollkeeper_manual/C/installingdocsandomf.html
share/scrollkeeper/doc/scrollkeeper_manual/C/intro.html
share/scrollkeeper/doc/scrollkeeper_manual/C/ln15.html
share/scrollkeeper/doc/scrollkeeper_manual/C/makingthingseasier.html
share/scrollkeeper/doc/scrollkeeper_manual/C/packaging.html
share/scrollkeeper/doc/scrollkeeper_manual/C/packagingdeb.html
share/scrollkeeper/doc/scrollkeeper_manual/C/packagingrpm.html
share/scrollkeeper/doc/scrollkeeper_manual/C/postinstallationscript.html
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeper-contents-list.html
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeper-docs.html
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeper_manual.sgml
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeperapi.html
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeperfiles.html
share/scrollkeeper/doc/scrollkeeper_manual/C/scrollkeeperlicense.html
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/caution.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/home.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/important.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/next.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/note.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/prev.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/tip.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/toc-blank.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/toc-minus.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/toc-plus.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/up.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images/warning.gif
share/scrollkeeper/doc/scrollkeeper_manual/C/tableofcontentsapi.html
share/scrollkeeper/doc/scrollkeeper_manual/C/theomf.html
share/scrollkeeper/doc/scrollkeeper_manual/C/theomfspecification.html
share/scrollkeeper/doc/scrollkeeper_manual/C/toc-file.html
share/scrollkeeper/doc/scrollkeeper_manual/C/uninstallbyhand.html
share/scrollkeeper/doc/scrollkeeper_manual/C/uninstalling.html
share/scrollkeeper/doc/scrollkeeper_manual/C/writingomffiles.html
%%SHARED%%
@dirrm share/scrollkeeper/doc/scrollkeeper_manual/C/stylesheet-images
@exec mkdir -p %D/share/scrollkeeper/doc/scrollkeeper_manual/C/figures
@dirrm share/scrollkeeper/doc/scrollkeeper_manual/C/figures
@dirrm share/scrollkeeper/doc/scrollkeeper_manual/C
@dirrm share/scrollkeeper/doc/scrollkeeper_manual
@dirrm share/scrollkeeper/doc
@dirrm share/scrollkeeper/Templates/zh
@dirrm share/scrollkeeper/Templates/wa
@dirrm share/scrollkeeper/Templates/uk
@dirrm share/scrollkeeper/Templates/tr
@dirrm share/scrollkeeper/Templates/th
@dirrm share/scrollkeeper/Templates/ta
@dirrm share/scrollkeeper/Templates/sv
@dirrm share/scrollkeeper/Templates/sr
@dirrm share/scrollkeeper/Templates/sp
@dirrm share/scrollkeeper/Templates/sl
@dirrm share/scrollkeeper/Templates/sk
@dirrm share/scrollkeeper/Templates/se
@dirrm share/scrollkeeper/Templates/ru
@dirrm share/scrollkeeper/Templates/ro
@dirrm share/scrollkeeper/Templates/pt_BR
@dirrm share/scrollkeeper/Templates/pt
@dirrm share/scrollkeeper/Templates/pl
@dirrm share/scrollkeeper/Templates/oc
@dirrm share/scrollkeeper/Templates/nn
@dirrm share/scrollkeeper/Templates/nl
@dirrm share/scrollkeeper/Templates/nb
@dirrm share/scrollkeeper/Templates/mr
@dirrm share/scrollkeeper/Templates/mk
@dirrm share/scrollkeeper/Templates/mi
@dirrm share/scrollkeeper/Templates/lt
@dirrm share/scrollkeeper/Templates/li
@dirrm share/scrollkeeper/Templates/kw
@dirrm share/scrollkeeper/Templates/ko
@dirrm share/scrollkeeper/Templates/km
@dirrm share/scrollkeeper/Templates/ja
@dirrm share/scrollkeeper/Templates/it
@dirrm share/scrollkeeper/Templates/is
@dirrm share/scrollkeeper/Templates/id
@dirrm share/scrollkeeper/Templates/hu
@dirrm share/scrollkeeper/Templates/hs
@dirrm share/scrollkeeper/Templates/hr
@dirrm share/scrollkeeper/Templates/hi
@dirrm share/scrollkeeper/Templates/he
@dirrm share/scrollkeeper/Templates/gv
@dirrm share/scrollkeeper/Templates/gu
@dirrm share/scrollkeeper/Templates/gl
@dirrm share/scrollkeeper/Templates/gd
@dirrm share/scrollkeeper/Templates/ga
@dirrm share/scrollkeeper/Templates/fr
@dirrm share/scrollkeeper/Templates/fi
@dirrm share/scrollkeeper/Templates/eu
@dirrm share/scrollkeeper/Templates/et
@dirrm share/scrollkeeper/Templates/es
@dirrm share/scrollkeeper/Templates/eo
@dirrm share/scrollkeeper/Templates/el
@dirrm share/scrollkeeper/Templates/de
@dirrm share/scrollkeeper/Templates/da
@dirrm share/scrollkeeper/Templates/cy
@dirrm share/scrollkeeper/Templates/cs
@dirrm share/scrollkeeper/Templates/ca
@dirrm share/scrollkeeper/Templates/bs
@dirrm share/scrollkeeper/Templates/br
@dirrm share/scrollkeeper/Templates/bo
@dirrm share/scrollkeeper/Templates/bg
@dirrm share/scrollkeeper/Templates/az
@dirrm share/scrollkeeper/Templates/ar
@dirrm share/scrollkeeper/Templates/af
@dirrm share/scrollkeeper/Templates/C
@dirrm share/scrollkeeper/Templates
@dirrm share/scrollkeeper
@dirrm share/omf/scrollkeeper
@unexec rmdir %D/share/omf || true
@dirrm share/doc/scrollkeeper-0.2