Date: Tue, 5 Dec 2000 00:24:06 +0900 (JST) From: sada@bsdclub.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/23267: New port submittion: devel/lxr (lxr-0.3) Message-ID: <200012041524.AAA55461@home.bsdclub.org> Resent-Message-ID: <200012041530.eB4FU3k21288@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 23267 >Category: ports >Synopsis: New port submittion: devel/lxr (lxr-0.3) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 04 07:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: SADA Kenji >Release: FreeBSD 4.2-STABLE i386 >Organization: private >Environment: 4.2-STABLE + APACHE-1.3 >Description: This is LXR, Linux Cross Reference. LXR is one of source code cross reference query gateways via http, just like devel/global except: * Could trace data definitions and declaretions in addition to function call. * Works as CGI and support demand string search. * Could handle only C and C++ code. WWW: http://lxr.linux.no This skeleton could need more brushup, suggestions are welcome. >How-To-Repeat: For example I added below patch to my httpd.conf of apache-1.3: + # + # Alias for LXR. + # + + Alias /lxr/ "/usr/local/share/lxr/http/" + <Directory "/usr/local/share/lxr/"> + Options ExecCGI + <Files ~ (search|source|ident|diff|find)$> + SetHandler cgi-script + </Files> + AllowOverride None + Order allow,deny + Allow from all + </Directory> >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lxr # lxr/Makefile # lxr/distinfo # lxr/pkg-comment # lxr/pkg-descr # lxr/pkg-plist # echo c - lxr mkdir -p lxr > /dev/null 2>&1 echo x - lxr/Makefile sed 's/^X//' >lxr/Makefile << 'END-of-lxr/Makefile' X# New ports collection makefile for: lxr X# Date created: 4 December 2000 X# Whom: SADA Kenji <sada@FreeBSD.org> X# X# $FreeBSD$ X# X XPORTNAME= lxr XPORTVERSION= 0.3 XCATEGORIES= devel XMASTER_SITES= http://lxr.linux.no/ X XMAINTAINER= sada@FreeBSD.org X XUSE_GMAKE= yes XALL_TARGET= config XMAKE_ENV= INSTALLPREFIX=${PREFIX} XMAKEFILE= Makefile.FreeBSD X Xpre-configure: X ${SED} -e 's/install/install -c/' \ X -e 's/--directory/-d/' \ X -e 's/--mode/-m/' \ X -e 's/\/tmp\/lxr/$${PREFIX}\/share\/lxr/' \ X ${WRKSRC}/Makefile > ${WRKSRC}/${MAKEFILE} X X.include <bsd.port.mk> END-of-lxr/Makefile echo x - lxr/distinfo sed 's/^X//' >lxr/distinfo << 'END-of-lxr/distinfo' XMD5 (lxr-0.3.tar.gz) = 57417ee8fdafef8e04141690c7a8b6aa END-of-lxr/distinfo echo x - lxr/pkg-comment sed 's/^X//' >lxr/pkg-comment << 'END-of-lxr/pkg-comment' XYet anoter cvs query tool via http END-of-lxr/pkg-comment echo x - lxr/pkg-descr sed 's/^X//' >lxr/pkg-descr << 'END-of-lxr/pkg-descr' XThis is LXR, Linux Cross Reference. XLXR is one of source code cross reference query Xgateways via http, just like devel/global except: X X * Could trace data definitions and declaretions X in addition to function call. X * Works as CGI and support demand string search. X * Could handle only C and C++ code. X XWWW: http://lxr.linux.no END-of-lxr/pkg-descr echo x - lxr/pkg-plist sed 's/^X//' >lxr/pkg-plist << 'END-of-lxr/pkg-plist' Xshare/lxr/bin/genxref Xshare/lxr/http/blurb.html Xshare/lxr/http/diff Xshare/lxr/http/find Xshare/lxr/http/ident Xshare/lxr/http/lib/LXR/Common.pm Xshare/lxr/http/lib/LXR/Config.pm Xshare/lxr/http/lib/SimpleParse.pm Xshare/lxr/http/lxr.conf Xshare/lxr/http/search Xshare/lxr/http/search_help.html Xshare/lxr/http/source Xshare/lxr/http/template-dir Xshare/lxr/http/template-head Xshare/lxr/http/template-tail Xshare/lxr/http/valid_html3.2.gif X@unexec rmdir %D/share/lxr/source 2>/dev/null || true X@dirrm share/lxr/http/lib/LXR X@dirrm share/lxr/http/lib X@dirrm share/lxr/http X@dirrm share/lxr/bin X@dirrm share/lxr END-of-lxr/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012041524.AAA55461>