summaryrefslogtreecommitdiffstats
path: root/textproc/rarian
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-02 13:50:17 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-02 13:50:17 +0800
commitfd1e4311886be516a7d743b096fbfd31c20bdd69 (patch)
tree999680bfd6d5968f9bb28ba36ea8bbc94671307d /textproc/rarian
parent2e98fa4dd599c4d5f5a8bdd32186c8cd289d3004 (diff)
downloadmarcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar.gz
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar.bz2
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar.lz
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar.xz
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.tar.zst
marcuscom-ports-fd1e4311886be516a7d743b096fbfd31c20bdd69.zip
Add rarian, a drop-in replacement for Scrollkeeper. I need to run some tests
on rarian before switching over to it. But it looks like SK will die in GNOME 2.20, so if anyone wants to join me in testing rarian, please do. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9332 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/rarian')
-rw-r--r--textproc/rarian/Makefile54
-rw-r--r--textproc/rarian/distinfo3
-rw-r--r--textproc/rarian/files/patch-docs_Makefile.in11
-rw-r--r--textproc/rarian/pkg-descr9
-rw-r--r--textproc/rarian/pkg-plist53
5 files changed, 130 insertions, 0 deletions
diff --git a/textproc/rarian/Makefile b/textproc/rarian/Makefile
new file mode 100644
index 000000000..7046b5e69
--- /dev/null
+++ b/textproc/rarian/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: rarian
+# Date created: 02 August 2007
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= rarian
+PORTVERSION= 0.5.6
+CATEGORIES= textproc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= An OMF help system based on the Freedesktop specification
+
+BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ ${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/catalog.xml:${PORTSDIR}/textproc/docbook-xml \
+ ${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-sk
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
+ ${LOCALBASE}/bin/getopt:${PORTSDIR}/misc/getopt \
+ ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ ${LOCALBASE}/share/xml/docbook/${DOCBOOK_VERSION}/catalog.xml:${PORTSDIR}/textproc/docbook-xml \
+ ${LOCALBASE}/share/xml/docbook/4.1.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-sk
+
+CONFLICTS= scrollkeeper-[0-9]*
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehier gnometarget gnomehack libxslt
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --with-convert-dir=${LOCALBASE}/share/omf \
+ --datadir=${PREFIX}/share \
+ --localstatedir=/var
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[[][[]|[|g ; \
+ s|]]|]|g ; \
+ s|/lib/rarian|/db/rarian|' \
+ ${WRKSRC}/util/Makefile.in
+ @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g ; \
+ s|@localstatedir@/lib/rarian|@localstatedir@/db/rarian|g ; \
+ s|getopt|${LOCALBASE}/bin/getopt|' \
+ ${WRKSRC}/util/rarian-sk-config.in \
+ ${WRKSRC}/util/rarian-sk-extract.in \
+ ${WRKSRC}/util/rarian-sk-rebuild.in \
+ ${WRKSRC}/util/rarian-sk-update.in
+
+.include <bsd.port.mk>
diff --git a/textproc/rarian/distinfo b/textproc/rarian/distinfo
new file mode 100644
index 000000000..485eba8f6
--- /dev/null
+++ b/textproc/rarian/distinfo
@@ -0,0 +1,3 @@
+MD5 (rarian-0.5.6.tar.bz2) = 3e4e8b28536462c8608855f142dc895e
+SHA256 (rarian-0.5.6.tar.bz2) = fea011b55ed4712f791dacebe04571ac6f4ce34f4579cfe8b961402409ceb6c9
+SIZE (rarian-0.5.6.tar.bz2) = 330425
diff --git a/textproc/rarian/files/patch-docs_Makefile.in b/textproc/rarian/files/patch-docs_Makefile.in
new file mode 100644
index 000000000..10e4783a7
--- /dev/null
+++ b/textproc/rarian/files/patch-docs_Makefile.in
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig 2007-08-02 01:37:06.000000000 -0400
++++ docs/Makefile.in 2007-08-02 01:37:22.000000000 -0400
+@@ -183,7 +183,7 @@ target_alias = @target_alias@
+ EXTRA_DIST = help-spec-0.2.xml index.xhtml rar-mdf.xhtml rar-lib.xhtml rar-skcompat.xhtml rarian.document.in
+ manualdir = $(datadir)/librarian/manual
+ manual_DATA = help-spec-0.2.xml index.xhtml rar-mdf.xhtml rar-lib.xhtml rar-skcompat.xhtml
+-metadatadir = $(datadir)/help
++metadatadir = $(datadir)/doc/rarian
+ metadata_DATA = rarian.document
+ all: all-am
+
diff --git a/textproc/rarian/pkg-descr b/textproc/rarian/pkg-descr
new file mode 100644
index 000000000..e60b1e98e
--- /dev/null
+++ b/textproc/rarian/pkg-descr
@@ -0,0 +1,9 @@
+Rarian is designed to be a replacement for scrollkeeper. It is
+currently undergoing heavy development. As of writing, rarian can be
+installed in place of scrollkeeper and everything will work okay.
+
+Rarian 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.
diff --git a/textproc/rarian/pkg-plist b/textproc/rarian/pkg-plist
new file mode 100644
index 000000000..1abb97833
--- /dev/null
+++ b/textproc/rarian/pkg-plist
@@ -0,0 +1,53 @@
+bin/rarian-example
+bin/rarian-sk-config
+bin/rarian-sk-extract
+bin/rarian-sk-gen-uuid
+bin/rarian-sk-get-cl
+bin/rarian-sk-get-content-list
+bin/rarian-sk-get-extended-content-list
+bin/rarian-sk-get-scripts
+bin/rarian-sk-install
+bin/rarian-sk-migrate
+bin/rarian-sk-preinstall
+bin/rarian-sk-rebuild
+bin/rarian-sk-update
+bin/scrollkeeper-config
+bin/scrollkeeper-extract
+bin/scrollkeeper-gen-seriesid
+bin/scrollkeeper-get-cl
+bin/scrollkeeper-get-content-list
+bin/scrollkeeper-get-extended-content-list
+bin/scrollkeeper-get-index-from-docpath
+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
+include/rarian/rarian-info.h
+include/rarian/rarian-man.h
+include/rarian/rarian-reg-utils.h
+include/rarian/rarian.h
+lib/librarian.a
+lib/librarian.la
+lib/librarian.so
+lib/librarian.so.0
+libdata/pkgconfig/rarian.pc
+share/doc/rarian/rarian.document
+share/librarian/Templates/C/scrollkeeper_cl.xml
+share/librarian/manual/help-spec-0.2.xml
+share/librarian/manual/index.xhtml
+share/librarian/manual/rar-lib.xhtml
+share/librarian/manual/rar-mdf.xhtml
+share/librarian/manual/rar-skcompat.xhtml
+share/librarian/rarian-sk-cl.xml
+@dirrm share/librarian/manual
+@dirrm share/librarian/Templates/C
+@dirrm share/librarian/Templates
+@dirrm share/librarian
+@dirrm share/doc/rarian
+@dirrm include/rarian
+@unexec rm -rf /var/db/scrollkeeper 2>/dev/null || true
+@exec mkdir -p /var/db/rarian
+@exec %%PREFIX%%/bin/rarian-sk-update || true