diff options
-rw-r--r-- | www-apps/lxr/ChangeLog | 29 | ||||
-rw-r--r-- | www-apps/lxr/Manifest | 4 | ||||
-rw-r--r-- | www-apps/lxr/files/digest-lxr-0.3.1 | 1 | ||||
-rw-r--r-- | www-apps/lxr/lxr-0.3.1.ebuild | 67 | ||||
-rw-r--r-- | www-apps/lxr/metadata.xml | 8 |
5 files changed, 109 insertions, 0 deletions
diff --git a/www-apps/lxr/ChangeLog b/www-apps/lxr/ChangeLog new file mode 100644 index 000000000000..521c16810981 --- /dev/null +++ b/www-apps/lxr/ChangeLog @@ -0,0 +1,29 @@ +# ChangeLog for net-www/lxr +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/ChangeLog,v 1.1 2004/08/15 15:08:21 stuart Exp $ + +*lxr-0.3.1 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +lxr-0.3.1.ebuild: + Moved from net-www/lxr to www-apps/lxr. + + 31 Jul 2004; Josh Glover <jmglov@gentoo.org> lxr-0.3.1.ebuild: + added >=dev-perl/DB_File-1.807 to RDEPEND; submitted by Robert Zaleski in bug + #58894 + + 25 Apr 2004; David Holm <dholm@gentoo.org> lxr-0.3.1.ebuild: + Added to ~ppc. + + 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> lxr-0.3.1.ebuild: + Updated to be compatible with webapp-config-1.4 + + 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> lxr-0.3.1.ebuild: + Removed unneeded SLOT; that's handled by the webapp eclass + +*lxr-0.3.1 (23 Apr 2004) + + 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> lxr-0.3.1.ebuild, + metadata.xml: + Initial import; thanks to Josh Glover <gentoo@jmglov.net>; see bug #48459 + diff --git a/www-apps/lxr/Manifest b/www-apps/lxr/Manifest new file mode 100644 index 000000000000..bc11573ea137 --- /dev/null +++ b/www-apps/lxr/Manifest @@ -0,0 +1,4 @@ +MD5 d596f9e7835d453dfd0fefea7236fdd4 ChangeLog 867 +MD5 87364697d231e305b56a5bb245f8bb77 lxr-0.3.1.ebuild 1737 +MD5 3d182d43f7f0341a9a42f96694f04e72 metadata.xml 224 +MD5 8ce5e2b6e0ab9fcc6a3a116347a24204 files/digest-lxr-0.3.1 60 diff --git a/www-apps/lxr/files/digest-lxr-0.3.1 b/www-apps/lxr/files/digest-lxr-0.3.1 new file mode 100644 index 000000000000..b5c437f7a03c --- /dev/null +++ b/www-apps/lxr/files/digest-lxr-0.3.1 @@ -0,0 +1 @@ +MD5 ac3b152986849db4888a8b829cccefda lxr-0.3.1.tar.gz 29396 diff --git a/www-apps/lxr/lxr-0.3.1.ebuild b/www-apps/lxr/lxr-0.3.1.ebuild new file mode 100644 index 000000000000..dddba821e1e9 --- /dev/null +++ b/www-apps/lxr/lxr-0.3.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/lxr/lxr-0.3.1.ebuild,v 1.1 2004/08/15 15:08:21 stuart Exp $ + +inherit webapp + +S=${WORKDIR}/${P%.?} + +DESCRIPTION="A general purpose source code indexer and cross-referencer that provides web-based browsing of source code with links to the definition and usage of any identifier." +HOMEPAGE="http://sourceforge.net/projects/lxr" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" + +RESTRICT="nomirror" +IUSE="" + +# Glimpse is actually optional, but since there is no USE flag, require it +RDEPEND="app-misc/glimpse + dev-lang/perl + >=dev-perl/DB_File-1.807" +DEPEND=${RDEPEND} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + # prepare ${D} for our arrival + webapp_src_preinst + + # Install documentation + dodoc COPYING INSTALL README + + # Makefile macros + PERLBIN=`which perl` + INSTALLPREFIX=${D}/usr + + # Install + # + # first we do it LXR's way ... + make install INSTALLPREFIX=${INSTALLPREFIX} PERLBIN=${PERLBIN} + + # and now we do it our way + cp -R ${INSTALLPREFIX}/http/* ${D}${MY_HTDOCSDIR} + rm -rf ${INSTALLPREFIX}/http + rm -rf ${INSTALLPREFIX}/source + + # Identify the configuration files that this app uses + webapp_configfile ${MY_HTDOCSDIR}/lxr.conf + + # Identify any script files that need #! headers adding to run under + # a CGI script (such as PHP/CGI) + for x in find ident search diff source; do + webapp_runbycgibin perl ${MY_HTDOCSDIR}/$x + done + + # Add the post-installation instructions + webapp_postinst_txt en INSTALL + + # Fix perms on genxref + fperms o+rx /usr/bin/genxref + + # Let webapp.eclass do the rest + webapp_src_install +} diff --git a/www-apps/lxr/metadata.xml b/www-apps/lxr/metadata.xml new file mode 100644 index 000000000000..0d59c319c3eb --- /dev/null +++ b/www-apps/lxr/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>webapps</herd> +<maintainer> + <email>web-apps@gentoo.org</email> +</maintainer> +</pkgmetadata> |