From dfae701fd4ad1ab03f3b4d7850cb9867bbd9aaef Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Tue, 26 Jun 2007 14:40:04 +0000 Subject: [PATCH] * added lxr (0.3.1) - A versatile cross-referencing tool for relatively large code repositories git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21447 10447126-35f2-4685-b0cf-6dd780d3921f --- www/lxr/lxr.conf | 34 ++++++++++++++++++++++++++++++++++ www/lxr/lxr.desc | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 www/lxr/lxr.conf create mode 100644 www/lxr/lxr.desc diff --git a/www/lxr/lxr.conf b/www/lxr/lxr.conf new file mode 100644 index 000000000..8f7b48ff8 --- /dev/null +++ b/www/lxr/lxr.conf @@ -0,0 +1,34 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lxr/lxr.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + + +makeopt='' + +prefix=opt/lxr +set_confopt + +# Perl is mandatory, so check for existence. +pkgprefix -t perl + +patch_makefile() { + # Make sure to find perl, so inject perl's bindir. + sed -i 's,^PERLBIN=.*$,PERLBIN=${pkgprefix bindir perl}/perl,' \ + Makefile + + # Also make sure the installatin directory is + # properly injected. + sed -i 's,^INSTALLPREFIX=.*$,INSTALLPREFIX=${prefix},' Makefile +} + +hook_add postpatch 5 'patch_makefile' diff --git a/www/lxr/lxr.desc b/www/lxr/lxr.desc new file mode 100644 index 000000000..e9da0119b --- /dev/null +++ b/www/lxr/lxr.desc @@ -0,0 +1,40 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lxr/lxr.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A versatile cross-referencing tool for relatively large code repositories + +[T] The Linux Cross-Reference project is the testbed application of a general +[T] hypertext cross-referencing tool. Its main goal is to create a versatile +[T] cross-referencing tool for relatively large code repositories. The main +[T] feature of the indexer is the ability to jump easily to the declaration +[T] of any global identifier. Quick access to function declarations, data +[T] (type) definitions and preprocessor macros makes code browsing more +[T] convenient. At-a-glance overview of which code areas will be affected +[T] by changing a function or type definition should also come in useful +[T] during development and debugging. + +[U] http://sourceforge.net/projects/lxr + +[A] Malcolm Box +[A] Per Kristian Gjermshus +[M] The OpenSDE Community + +[C] extra/tool + +[L] GPL +[S] Stable +[V] 0.3.1 +[P] X -----5---9 800.000 + +[D] 12952139 lxr-0.3.1.tar.gz http://dl.sourceforge.net/sourceforge/lxr/