aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lxr
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-02 20:45:01 +0800
committerbapt <bapt@FreeBSD.org>2014-09-02 20:45:01 +0800
commit5d8fa1985f0a3c993d2ac8be51d77e13a7069c46 (patch)
tree4ce2268d46a283b4974f1c882246ad99f965bc1a /devel/lxr
parentfc1b42c314a150088d58def02e0a068a571fb2a3 (diff)
downloadfreebsd-ports-gnome-5d8fa1985f0a3c993d2ac8be51d77e13a7069c46.tar.gz
freebsd-ports-gnome-5d8fa1985f0a3c993d2ac8be51d77e13a7069c46.tar.zst
freebsd-ports-gnome-5d8fa1985f0a3c993d2ac8be51d77e13a7069c46.zip
Second run at cleaning out non staged ports without pending PR
Diffstat (limited to 'devel/lxr')
-rw-r--r--devel/lxr/Makefile131
-rw-r--r--devel/lxr/distinfo2
-rw-r--r--devel/lxr/files/patch-use-strict-syntax23
-rw-r--r--devel/lxr/files/pkg_message.in36
-rw-r--r--devel/lxr/files/pkg_message.mysql.in16
-rw-r--r--devel/lxr/files/pkg_message.postgresql.in20
-rw-r--r--devel/lxr/files/upgrade-0.9.10-mysql.in4
-rw-r--r--devel/lxr/files/upgrade-0.9.10-postgres.in1
-rw-r--r--devel/lxr/pkg-descr7
-rw-r--r--devel/lxr/pkg-plist62
10 files changed, 0 insertions, 302 deletions
diff --git a/devel/lxr/Makefile b/devel/lxr/Makefile
deleted file mode 100644
index a15acfe4cd8e..000000000000
--- a/devel/lxr/Makefile
+++ /dev/null
@@ -1,131 +0,0 @@
-# Created by: Eygene Ryabinkin
-# $FreeBSD$
-
-PORTNAME= lxr
-PORTVERSION= 0.10.2
-CATEGORIES= devel
-MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Source code indexer and cross-referencer
-
-BUILD_DEPENDS= exctags:${PORTSDIR}/devel/ctags \
- swish-e:${PORTSDIR}/www/swish-e \
- p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic
-
-PATCH_STRIP= -p1
-
-USES= perl5 tar:tgz
-NO_BUILD= yes
-
-OPTIONS_DEFINE= DOCS
-OPTIONS_SINGLE= DB
-OPTIONS_SINGLE_DB= PGSQL MYSQL
-OPTIONS_DEFAULT= PGSQL
-
-# Name prefix for database tables, indexes, sequences and other stuff.
-DB_PREFIX= lxr
-
-# Installation directory
-.if !defined(LXRDIR)
-.if defined(APACHE_DATADIR)
-LXRTOPDIR= ${APACHE_DATADIR}/data
-.else
-LXRTOPDIR= ${PREFIX}/www/data
-.endif # defined(APACHE_DATADIR)
-LXRDIR= ${LXRTOPDIR}/lxr
-.endif # !defined(LXRDIR)
-
-PLIST_SUB+= LXRDIR=${LXRDIR:S!^${PREFIX}/!!}
-PLIST_SUB+= LXRTOPDIR=${LXRTOPDIR:S!^${PREFIX}/!!}
-SUB_LIST+= LXRDIR=${LXRDIR}
-SUB_FILES+= upgrade-0.9.10-postgres upgrade-0.9.10-mysql
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPGSQL}
-BUILD_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
-MSG_FILES+= pkg_message.postgresql
-DB_DRIVER= Pg
-.endif # ${PORT_OPTIONS:MPGSQL}
-
-.if ${PORT_OPTIONS:MMYSQL}
-BUILD_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
-MSG_FILES+= pkg_message.mysql
-DB_DRIVER= mysql
-.endif # ${PORT_OPTIONS:MMYSQL}
-
-MSG_FILES+= pkg_message
-
-SUB_FILES+= ${MSG_FILES}
-
-LXR_SCRIPTS= diff \
- genxref \
- ident \
- search \
- source
-
-LXR_CONF= swish-e.conf \
- initdb-postgres \
- initdb-mysql
-
-LXR_DOCS= BUGS \
- CREDITS.txt \
- ChangeLog \
- HACKING \
- INSTALL \
- LICENSE \
- RELEASING
-
-post-patch:
- @${REINPLACE_CMD} \
- -e"s|'glimpsebin'|# 'glimpsebin'|" \
- -e"s|'glimpseindex'|# 'glimpseindex'|" \
- -e"s|'/usr/local/bin/swish-e'|'${LOCALBASE}/bin/swish-e'|" \
- -e"s|'/usr/bin/ctags'|'${LOCALBASE}/bin/exctags'|" \
- -e"s|'/path/to/lib/LXR/Lang/generic.conf'|'${SITE_PERL}/LXR/Lang/generic.conf'|" \
- -e"s|'/path/to/lib/LXR/Lang/ectags.conf'|'${SITE_PERL}/LXR/Lang/ectags.conf'|" \
- -e"s|'dbi:mysql:|'dbi:${DB_DRIVER}:|" \
- -e's|'lxr_'|'${DB_PREFIX}_'|g' \
- ${WRKSRC}/templates/lxr.conf && \
- ${RM} -f ${WRKSRC}/templates/lxr.conf.bak
- @${REINPLACE_CMD} \
- -e's|lxr_|${DB_PREFIX}_|g' \
- ${WRKSRC}/initdb-postgres
- @${REINPLACE_CMD} \
- -e's|lxr|${DB_PREFIX}|g' \
- ${WRKSRC}/initdb-mysql
-
-do-install:
- ${MKDIR} ${LXRDIR}
-.for f in ${LXR_SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${LXRDIR}
-.endfor # ${LXR_SCRIPTS}
-.for f in ${LXR_CONF}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${LXRDIR}
-.endfor # ${LXR_CONF}
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${LXR_DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor # ${LXR_DOCS}
-.endif # ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${PREFIX}/${SITE_PERL_REL}
- ${INSTALL_DATA} ${WRKSRC}/Local.pm ${PREFIX}/${SITE_PERL_REL}
- ${INSTALL_DATA} ${WRKSRC}/LXRversion.pm ${PREFIX}/${SITE_PERL_REL}
- ${TAR} -C ${WRKSRC}/lib -cf - --exclude '*.orig' LXR | ${TAR} -C ${PREFIX}/${SITE_PERL_REL} -xf -
- ${TAR} -C ${WRKSRC} -cf - --exclude '*.orig' templates | ${TAR} -C ${LXRDIR} -xf -
- ${CHMOD} 640 ${LXRDIR}/templates/lxr.conf
- ${INSTALL_DATA} ${WRKDIR}/upgrade-0.9.10-postgres ${LXRDIR}
- ${INSTALL_DATA} ${WRKDIR}/upgrade-0.9.10-mysql ${LXRDIR}
-
-post-install:
- @${ECHO}
- @${ECHO} "******************** Installation tips ********************"
- @${ECHO}
-.for f in ${MSG_FILES}
- @${CAT} ${WRKDIR}/${f}
-.endfor # ${MSG_FILES}
-
-.include <bsd.port.mk>
diff --git a/devel/lxr/distinfo b/devel/lxr/distinfo
deleted file mode 100644
index 31553234f789..000000000000
--- a/devel/lxr/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (lxr-0.10.2.tgz) = 109b8d21f804cd18b27f9cd304b0bd45af8d492650800b83dcbca6d949d97ee6
-SIZE (lxr-0.10.2.tgz) = 138193
diff --git a/devel/lxr/files/patch-use-strict-syntax b/devel/lxr/files/patch-use-strict-syntax
deleted file mode 100644
index e5e74e21c31a..000000000000
--- a/devel/lxr/files/patch-use-strict-syntax
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/lib/LXR/Common.pm.orig 2012-03-10 22:34:11.000000000 +0400
-+++ b/lib/LXR/Common.pm 2012-03-10 22:33:21.000000000 +0400
-@@ -62,9 +62,9 @@
- our $identifier;
- our $HTTP;
-
--$wwwdebug = 0;
-+my $wwwdebug = 0;
-
--$tmpcounter = 23;
-+my $tmpcounter = 23;
-
- sub warning {
- my $msg = shift;
-@@ -111,7 +111,7 @@
- sub nonvarargs {
- my @args;
-
-- foreach my $param (%{keys $HTTP->{'param'}}) {
-+ foreach my $param (keys %{$HTTP->{'param'}}) {
- next unless $param =~ m!^_!;
- my $val = $HTTP->{'param'}->{$param};
- if (length($val)) {
diff --git a/devel/lxr/files/pkg_message.in b/devel/lxr/files/pkg_message.in
deleted file mode 100644
index edf20e8bdf2d..000000000000
--- a/devel/lxr/files/pkg_message.in
+++ /dev/null
@@ -1,36 +0,0 @@
-Configuring LXR
-===============
-
-First-time installation
------------------------
-
-For the first-time installations you should copy the template files
-for LXR to your installation
-
- cp %%LXRDIR%%/templates/* %%LXRDIR%%/
-
-Then you should glance over configuration file at
- %%LXRDIR%%/lxr.conf
-
-It has some reasonable values for the helper programs, but you should
-customize variables like 'baseurl', 'virtroot' and others.
-
-Upgrades
---------
-
-You should look at the contents of the directory
- %%LXRDIR%%/templates/
-and possibly merge new stuff from it to the corresponding files in
- %%LXRDIR%%/
-
-0.9.x -> 0.10.x
-===============
-
-Search templates were changed, be sure to look at the files
- %%LXRDIR%%/templates/html-ident.html
- %%LXRDIR%%/templates/html-search-swish.html
- %%LXRDIR%%/templates/html-search-glimpse.html
-
-
-Happy cross-referencing and code mining!
-
diff --git a/devel/lxr/files/pkg_message.mysql.in b/devel/lxr/files/pkg_message.mysql.in
deleted file mode 100644
index d4696d1f3051..000000000000
--- a/devel/lxr/files/pkg_message.mysql.in
+++ /dev/null
@@ -1,16 +0,0 @@
-MySQL setup
-===========
-
-Run 'mysql' and then read in the initdb-mysql file using
-'\. %%LXRDIR%%/initdb-mysql'.
-
-This will create the database and a user called lxr with access
-rights to the database.
-
-
-Database upgrade between releases
-=================================
-
-0.9.6 -> 0.9.10: run 'mysql' and then execute upgrade sequence:
-'\. %%LXRDIR%%/upgrade-0.9.10-mysql'.
-
diff --git a/devel/lxr/files/pkg_message.postgresql.in b/devel/lxr/files/pkg_message.postgresql.in
deleted file mode 100644
index dcc2286d010f..000000000000
--- a/devel/lxr/files/pkg_message.postgresql.in
+++ /dev/null
@@ -1,20 +0,0 @@
-PostgreSQL setup
-================
-
-Create a user for lxr and give the user permission to create databases:
- createuser -P lxr
-Create a database for lxr:
- createdb -O lxr lxr
-Initialise the database:
- psql -U lxr lxr
- \i %%LXRDIR%%/initdb-postgres
-Just ignore the errors about unimplemented functions.
-
-
-Database upgrade between releases
-=================================
-
-0.9.6 -> 0.9.10:
- psql -U lxrr lxr
- \i %%LXRDIR%%/upgrade-0.9.10-postgres
-
diff --git a/devel/lxr/files/upgrade-0.9.10-mysql.in b/devel/lxr/files/upgrade-0.9.10-mysql.in
deleted file mode 100644
index cd91c3364633..000000000000
--- a/devel/lxr/files/upgrade-0.9.10-mysql.in
+++ /dev/null
@@ -1,4 +0,0 @@
-ALTER TABLE lxr_releases CHANGE rel releaseid char(255) binary not null;
-DROP INDEX lxr_useageindex on lxr_useage;
-RENAME TABLE lxr_useage TO lxr_usage;
-CREATE INDEX lxr_usageindex ON lxr_usage (symid);
diff --git a/devel/lxr/files/upgrade-0.9.10-postgres.in b/devel/lxr/files/upgrade-0.9.10-postgres.in
deleted file mode 100644
index e533add57292..000000000000
--- a/devel/lxr/files/upgrade-0.9.10-postgres.in
+++ /dev/null
@@ -1 +0,0 @@
-ALTER TABLE lxr_releases RENAME COLUMN release TO releaseid;
diff --git a/devel/lxr/pkg-descr b/devel/lxr/pkg-descr
deleted file mode 100644
index c1152c64863e..000000000000
--- a/devel/lxr/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-LXR -- Linux Cross-Reference
-
-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.
-
-WWW: http://sourceforge.net/projects/lxr/
diff --git a/devel/lxr/pkg-plist b/devel/lxr/pkg-plist
deleted file mode 100644
index 4e7b09488d32..000000000000
--- a/devel/lxr/pkg-plist
+++ /dev/null
@@ -1,62 +0,0 @@
-%%LXRDIR%%/diff
-%%LXRDIR%%/genxref
-%%LXRDIR%%/ident
-%%LXRDIR%%/search
-%%LXRDIR%%/source
-%%LXRDIR%%/swish-e.conf
-%%LXRDIR%%/initdb-postgres
-%%LXRDIR%%/initdb-mysql
-%%LXRDIR%%/upgrade-0.9.10-postgres
-%%LXRDIR%%/upgrade-0.9.10-mysql
-%%LXRDIR%%/templates/valid-html401.png
-%%LXRDIR%%/templates/vcss
-%%LXRDIR%%/templates/html-head-btn.html
-%%LXRDIR%%/templates/html-fatal.html
-%%LXRDIR%%/templates/html-dir.html
-%%LXRDIR%%/templates/html-head.html
-%%LXRDIR%%/templates/html-ident.html
-%%LXRDIR%%/templates/html-search-glimpse.html
-%%LXRDIR%%/templates/html-search-swish.html
-%%LXRDIR%%/templates/html-tail.html
-%%LXRDIR%%/templates/lxr.conf
-%%LXRDIR%%/templates/lxr.css
-%%PORTDOCS%%%%DOCSDIR%%/BUGS
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/HACKING
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/RELEASING
-%%SITE_PERL%%/Local.pm
-%%SITE_PERL%%/LXRversion.pm
-%%SITE_PERL%%/LXR/Files/Plain.pm
-%%SITE_PERL%%/LXR/Files/BK.pm
-%%SITE_PERL%%/LXR/Files/CVS.pm
-%%SITE_PERL%%/LXR/Files/GIT.pm
-%%SITE_PERL%%/LXR/Common.pm
-%%SITE_PERL%%/LXR/Config.pm
-%%SITE_PERL%%/LXR/Files.pm
-%%SITE_PERL%%/LXR/Index.pm
-%%SITE_PERL%%/LXR/Lang.pm
-%%SITE_PERL%%/LXR/Markup.pm
-%%SITE_PERL%%/LXR/SimpleParse.pm
-%%SITE_PERL%%/LXR/Tagger.pm
-%%SITE_PERL%%/LXR/Template.pm
-%%SITE_PERL%%/LXR/Index/Mysql.pm
-%%SITE_PERL%%/LXR/Index/DBI.pm
-%%SITE_PERL%%/LXR/Index/Oracle.pm
-%%SITE_PERL%%/LXR/Index/Postgres.pm
-%%SITE_PERL%%/LXR/Lang/Cobol.pm
-%%SITE_PERL%%/LXR/Lang/Generic.pm
-%%SITE_PERL%%/LXR/Lang/Java.pm
-%%SITE_PERL%%/LXR/Lang/ectags.conf
-%%SITE_PERL%%/LXR/Lang/ectags.conf.documentation
-%%SITE_PERL%%/LXR/Lang/generic.conf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%SITE_PERL%%/LXR/Files
-@dirrm %%SITE_PERL%%/LXR/Lang
-@dirrm %%SITE_PERL%%/LXR/Index
-@dirrm %%SITE_PERL%%/LXR
-@dirrm %%LXRDIR%%/templates
-@dirrmtry %%LXRDIR%%
-@dirrmtry %%LXRTOPDIR%%