summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-12-04 23:02:59 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-12-04 23:02:59 +0800
commitf4616d39b05072e02561b244cde30d847acbc769 (patch)
treec8f3c73c9e60cde92f75982f612f2b80ae0b4943 /textproc
parent53c7ce6d1153153265f1d378cbb514076d0aca70 (diff)
downloadmarcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar.gz
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar.bz2
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar.lz
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar.xz
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.tar.zst
marcuscom-ports-f4616d39b05072e02561b244cde30d847acbc769.zip
Update to 0.7.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9959 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rarian/Makefile58
-rw-r--r--textproc/rarian/distinfo3
-rw-r--r--textproc/rarian/files/patch-docs_Makefile.in11
-rw-r--r--textproc/rarian/files/patch-librarian_rarian-main.c11
-rw-r--r--textproc/rarian/files/patch-util_rarian-sk-config.in11
-rw-r--r--textproc/rarian/pkg-descr9
-rw-r--r--textproc/rarian/pkg-plist54
7 files changed, 157 insertions, 0 deletions
diff --git a/textproc/rarian/Makefile b/textproc/rarian/Makefile
new file mode 100644
index 000000000..48bd25ada
--- /dev/null
+++ b/textproc/rarian/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: rarian
+# Date created: 02 August 2007
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= rarian
+PORTVERSION= 0.7.0
+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 \
+ bash:${PORTSDIR}/shells/bash
+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
+
+DOCBOOK_VERSION=4.2
+
+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|/lib/rarian|/db/rarian|' \
+ ${WRKSRC}/util/Makefile.in
+ @${REINPLACE_CMD} -e '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
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/librarian/rarian-main.c \
+ ${WRKSRC}/librarian/rarian-man.c \
+ ${WRKSRC}/librarian/rarian-info.c
+
+.include <bsd.port.mk>
diff --git a/textproc/rarian/distinfo b/textproc/rarian/distinfo
new file mode 100644
index 000000000..64b858bd8
--- /dev/null
+++ b/textproc/rarian/distinfo
@@ -0,0 +1,3 @@
+MD5 (rarian-0.7.0.tar.bz2) = 8811c2db80671cb6b9f7eef73edcb66d
+SHA256 (rarian-0.7.0.tar.bz2) = 5607ff16611e8502c56ee4871b0e20f2a2ac1e9a3f0f66e87cfee3aa535d2203
+SIZE (rarian-0.7.0.tar.bz2) = 338437
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/files/patch-librarian_rarian-main.c b/textproc/rarian/files/patch-librarian_rarian-main.c
new file mode 100644
index 000000000..549390150
--- /dev/null
+++ b/textproc/rarian/files/patch-librarian_rarian-main.c
@@ -0,0 +1,11 @@
+--- librarian/rarian-main.c.orig 2007-08-02 16:04:45.000000000 -0400
++++ librarian/rarian-main.c 2007-08-02 16:12:58.000000000 -0400
+@@ -212,7 +212,7 @@ past:
+ path = getenv ("XDG_DATA_DIRS");
+
+ if (!path || !strcmp (path, "")) {
+- path = "/usr/local/share/:/usr/share/";
++ path = "/usr/local/share/";
+ }
+ cur_path = path;
+ do {
diff --git a/textproc/rarian/files/patch-util_rarian-sk-config.in b/textproc/rarian/files/patch-util_rarian-sk-config.in
new file mode 100644
index 000000000..c97a07c77
--- /dev/null
+++ b/textproc/rarian/files/patch-util_rarian-sk-config.in
@@ -0,0 +1,11 @@
+--- util/rarian-sk-config.in.orig 2007-10-10 23:00:03.000000000 -0500
++++ util/rarian-sk-config.in 2007-10-10 23:00:30.000000000 -0500
+@@ -47,7 +47,7 @@
+ print_help
+ ;;
+ --version )
+- echo $package_version \(Rarian replacement for scrollkeeper-config\)
++ echo $package_version
+ ;;
+ --prefix )
+ echo $prefix
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..696a22b6e
--- /dev/null
+++ b/textproc/rarian/pkg-plist
@@ -0,0 +1,54 @@
+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-main.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