1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Import bibview port. bibview allows to edit bibliographic databases

for use with BibTeX.

PR:		4133
Submitted by:	"David A. Bader" <dbader@umiacs.umd.edu>
This commit is contained in:
Thomas Gellekum 1997-09-12 08:11:56 +00:00
parent 74d94aba95
commit 1bc1187e0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7874
11 changed files with 172 additions and 0 deletions

19
print/bibview/Makefile Normal file
View File

@ -0,0 +1,19 @@
# New ports collection makefile for: bibview
# Version required: 1.5
# Date created: 21 July 1997
# Whom: dbader@umiacs.umd.edu
#
# $Id$
#
DISTNAME= bibview-2.2
CATEGORIES= databases print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= biblio/bibtex/utils/bibview-2.0
MAINTAINER= dbader@umiacs.umd.edu
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/bibview-2.2
.include <bsd.port.mk>

1
print/bibview/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (bibview-2.2.tar.gz) = dba28a7929f2961e9e93b3b6ad50107e

View File

@ -0,0 +1,11 @@
--- Imakefile.orig Mon Feb 27 14:41:19 1995
+++ Imakefile Thu Sep 11 13:08:27 1997
@@ -9,7 +9,7 @@
/* nothing needs to be modified below this point */
-CFLAGS = $(STD_CPP_DEFINES)
+CFLAGS = $(STD_CPP_DEFINES) -I/usr/X11R6/include
#ifdef NeXTArchitecture
SYS_LIBRARIES = XawClientLibs -lm -lsys_s

View File

@ -0,0 +1,14 @@
--- bibview.c.orig Fri Apr 21 18:49:15 1995
+++ bibview.c Thu Sep 11 13:08:28 1997
@@ -170,9 +170,9 @@
/* fallback resources */
static char *fallback_resources[] = {
#ifdef GERMAN
- #include "fb_ger.h"
+#include "fb_ger.h"
#else
- #include "fb_res.h"
+#include "fb_res.h"
#endif
NULL
};

View File

@ -0,0 +1,37 @@
--- FileNom.c.orig Thu May 4 18:15:11 1995
+++ FileNom.c Thu Sep 11 13:08:28 1997
@@ -822,20 +822,20 @@
Dimension height, internalHeight, rowSpacing;
int num, newNum, idx;
struct dirent **namelist;
- #ifndef HAVE_DIR
+#ifndef HAVE_DIR
DIR *dirp;
struct dirent *direntp;
int direntp_size;
- #else
+#else
extern int alphasort();
- #endif
+#endif
char buf[MAXPATHLEN], *bp;
String name;
struct stat fstats;
unsigned int namlen;
- #ifdef HAVE_DIR
+#ifdef HAVE_DIR
num = scandir(CurrentDir(fnw), &namelist, (int(*)())0, alphasort);
- #else
+#else
/* Read the directory `CurrentDir(fnw)'
and set the `dirent's in `namelist'. */
dirp = opendir( CurrentDir(fnw) );
@@ -860,7 +860,7 @@
/* Sort the directory entries in `namelist'. */
qsort( namelist, num, sizeof(struct dirent*), direntpcmp );
- #endif
+#endif
if (num <= 0)
{

View File

@ -0,0 +1,18 @@
--- gui_widg.c.orig Thu Nov 25 14:11:15 1993
+++ gui_widg.c Thu Sep 11 13:08:30 1997
@@ -330,12 +330,12 @@
XtNfromHoriz, warnIcon, NULL);
sprintf(textLabel, "msgText%d", abs((int)errcode));
if (errcode >= 200){
- #ifdef GERMAN
+#ifdef GERMAN
sprintf(warnLabel, "Karte unvollstaendig: kein %s",
glbFldToName(errcode-200));
- #else
+#else
sprintf(warnLabel, "Card incomplete: no %s", glbFldToName(errcode-200));
- #endif
+#endif
warnText = XtVaCreateManagedWidget(textLabel,
labelWidgetClass, warnForm,
XtNjustify, XtJustifyLeft,

View File

@ -0,0 +1,22 @@
--- gui_card.c.orig Mon May 8 18:24:55 1995
+++ gui_card.c Thu Sep 11 13:08:31 1997
@@ -370,15 +370,15 @@
CardWidgetsPtr cwp;
Dimension height;
- #ifdef ACTION_PROBLEM
+#ifdef ACTION_PROBLEM
if (first_in){
- #endif
+#endif
XtAppAddActions(XtWidgetToApplicationContext(topLevel), actions,
XtNumber(actions));
- #ifdef ACTION_PROBLEM
+#ifdef ACTION_PROBLEM
first_in = 0;
}
- #endif
+#endif
reqback = options.reqColor;
auth_ed_back = options.authedColor;

View File

@ -0,0 +1,22 @@
--- ctl_card.c.orig Mon May 8 18:25:53 1995
+++ ctl_card.c Thu Sep 11 13:08:32 1997
@@ -659,15 +659,15 @@
sprintf(aw->shellName, "%s: NEW", glbFldToName(nannote));
else
sprintf(aw->shellName, "%s: %s", glbFldToName(nannote), cp->cd->mainkey);
- #ifdef ACTION_PROBLEM
+#ifdef ACTION_PROBLEM
if (first_in){
- #endif
+#endif
XtAppAddActions(XtWidgetToApplicationContext(topLevel), annote_actions,
XtNumber(annote_actions));
- #ifdef ACTION_PROBLEM
+#ifdef ACTION_PROBLEM
first_in = 0;
}
- #endif
+#endif
aw->annoteShell = XtVaCreatePopupShell("AnnoteShell",
topLevelShellWidgetClass, topLevel,
XtNtitle, aw->shellName,

View File

@ -0,0 +1 @@
Graphical interface for manipulating BibTeX bibliography databases

23
print/bibview/pkg-descr Normal file
View File

@ -0,0 +1,23 @@
BIBVIEW
(graphical interface for BibTeX program)
by Holger Martin, Peter Urban, Armin Liebl
liebla@informatik.tu-muenchen.de
The program "bibview" is a graphical interface for manipulating
BibTeX databases. It supports the user in making new entries,
searching for entries and moving entries from one BiB to another.
It is possible to work with more than one BiB simultaneously.
bibview is implemented with Xt and Athena Widgets.
There are six types of windows in bibview:
The main window contains menus for customizing bibview and
for working with BiBs on the file level.
The bibliography window (one for every open BiB) contains commands
for manipulating the BiB.
The list window (at most one for every open BiB) shows a list of
entries. It displays the fields author, title, type and year.
The card window (at most one for every entry) helps editing an entry.
It contains boxes for each field of the entry (according to the type).
The fields can be edited by putting the mouse cursor into the field.
Macros in fields and the symbol for concatenation ('#') are marked
with a preceding '@'.

4
print/bibview/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/bibview
lib/X11/app-defaults/BibView
lib/X11/app-defaults/BibView-color
man/man1/bibview.1.gz