diff options
author | drochner <drochner@pkgsrc.org> | 2007-10-11 18:43:48 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-10-11 18:43:48 +0000 |
commit | 83ab50b09f3457663291abe5d99746069cb8bf19 (patch) | |
tree | c8262af4c35aa6283477a7eab15e4a5dc4e2d1aa /textproc | |
parent | 3c2c0ffdd8c388c690c107b728a4be7a87dce042 (diff) | |
download | pkgsrc-83ab50b09f3457663291abe5d99746069cb8bf19.tar.gz |
Import rarian-0.6 which will replace "scrollkeeper" as the documentation
installer in gnome-2.20.
(For now, nothing depends on it; I want to make sure that it does
at least compile on all relevant platforms.)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/rarian/DESCR | 2 | ||||
-rw-r--r-- | textproc/rarian/Makefile | 31 | ||||
-rw-r--r-- | textproc/rarian/PLIST | 49 | ||||
-rw-r--r-- | textproc/rarian/buildlink3.mk | 19 | ||||
-rw-r--r-- | textproc/rarian/distinfo | 6 | ||||
-rw-r--r-- | textproc/rarian/patches/patch-aa | 20 |
6 files changed, 127 insertions, 0 deletions
diff --git a/textproc/rarian/DESCR b/textproc/rarian/DESCR new file mode 100644 index 00000000000..10305a2f473 --- /dev/null +++ b/textproc/rarian/DESCR @@ -0,0 +1,2 @@ +Rarian is a documentation metadata library based on the proposed +Freedesktop.org spec. diff --git a/textproc/rarian/Makefile b/textproc/rarian/Makefile new file mode 100644 index 00000000000..9138f09bcb8 --- /dev/null +++ b/textproc/rarian/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/10/11 18:43:48 drochner Exp $ +# + +DISTNAME= rarian-0.6.0 +CATEGORIES= textproc +MASTER_SITES= http://rarian.freedesktop.org/Releases/ +MASTER_SITES+= ${MASTER_SITE_GNOME:=sources/rarian/0.6/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://rarian.freedesktop.org/ +COMMENT= Documentation metadata library + +CONFLICTS+= scrollkeeper-[0-9]* + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ + +PKGCONFIG_OVERRIDE+= rarian.pc.in + +DEPENDS+= getopt-[0-9]*:../../misc/getopt +DEPENDS+= bash-[0-9]*:../../shells/bash + +# we don't install anything here, but dependent pkgs do, +# so we are the only instance which can reasonably own that dir +post-install: + ${MKDIR} ${PREFIX}/share/omf + +.include "../../textproc/libxslt/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/rarian/PLIST b/textproc/rarian/PLIST new file mode 100644 index 00000000000..e34f90a2750 --- /dev/null +++ b/textproc/rarian/PLIST @@ -0,0 +1,49 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/11 18:43:48 drochner Exp $ +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.la +lib/pkgconfig/rarian.pc +share/help/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 +@exec ${MKDIR} %D/share/omf +@dirrm share/omf +@dirrm share/librarian/manual +@dirrm share/librarian/Templates/C +@dirrm share/librarian/Templates +@dirrm share/librarian +@dirrm include/rarian diff --git a/textproc/rarian/buildlink3.mk b/textproc/rarian/buildlink3.mk new file mode 100644 index 00000000000..49ffec3fb7c --- /dev/null +++ b/textproc/rarian/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/10/11 18:43:48 drochner Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +RARIAN_BUILDLINK3_MK:= ${RARIAN_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= rarian +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrarian} +BUILDLINK_PACKAGES+= rarian +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rarian + +.if ${RARIAN_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.rarian+= rarian>=0.6.0 +BUILDLINK_PKGSRCDIR.rarian?= ../../textproc/rarian +.endif # RARIAN_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/textproc/rarian/distinfo b/textproc/rarian/distinfo new file mode 100644 index 00000000000..1a0440807c4 --- /dev/null +++ b/textproc/rarian/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/10/11 18:43:48 drochner Exp $ + +SHA1 (rarian-0.6.0.tar.bz2) = 7bf1fce5cc2bfd4584fb776d20d3a379e888b81a +RMD160 (rarian-0.6.0.tar.bz2) = 167c02f58e493c624d0eedb1137928c7a7cc452a +Size (rarian-0.6.0.tar.bz2) = 312258 bytes +SHA1 (patch-aa) = 3b1d8601672cb52ccee9deb240c3cf5e64721b38 diff --git a/textproc/rarian/patches/patch-aa b/textproc/rarian/patches/patch-aa new file mode 100644 index 00000000000..04f881601fc --- /dev/null +++ b/textproc/rarian/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/10/11 18:43:48 drochner Exp $ + +--- util/rarian-sk-update.in.orig 2007-09-29 18:16:44.000000000 +0200 ++++ util/rarian-sk-update.in +@@ -258,7 +258,7 @@ process_directory () + # They are inherited from scrollkeeper :( + + # We use TEMP as set -- seems to nuke the return value of getopt +-TEMP=`getopt -u -n$(basename $0) -o "o:r:p:vqnhV" \ ++TEMP=`${prefix}/bin/getopt -u -n$(basename $0) -o "o:r:p:vqnhV" \ + --longoptions="clean-index,omf-dir:,resulting-dir:,help,version" -- "$@"` \ + || print_usage + +@@ -416,4 +416,4 @@ then + fi + rm -rf $tmpdir + +-fi # ENABLE_OMF_READ +\ No newline at end of file ++fi # ENABLE_OMF_READ |