diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-11 10:02:52 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-11 10:02:52 +0000 |
commit | a55aa0ba39a8c64d5b9a8993f5a56a8874d3d6fc (patch) | |
tree | c1cb45dfb370ddfe279bc80384adaa7dd05e1f71 /print/bibcard | |
parent | Changed informational Echo's to a pkg/MESSAGE file so package users (diff) |
BiBCard is provides Xview/X11 interface for entring bibilographies in
a natural format, while outputing BibTeX formatted files.
Notes
Notes:
svn path=/head/; revision=6185
Diffstat (limited to 'print/bibcard')
-rw-r--r-- | print/bibcard/Makefile | 31 | ||||
-rw-r--r-- | print/bibcard/distinfo | 1 | ||||
-rw-r--r-- | print/bibcard/files/patch-02 | 50 | ||||
-rw-r--r-- | print/bibcard/files/patch-03 | 20 | ||||
-rw-r--r-- | print/bibcard/pkg-comment | 1 | ||||
-rw-r--r-- | print/bibcard/pkg-descr | 2 | ||||
-rw-r--r-- | print/bibcard/pkg-plist | 3 |
7 files changed, 108 insertions, 0 deletions
diff --git a/print/bibcard/Makefile b/print/bibcard/Makefile new file mode 100644 index 000000000000..30428f472efc --- /dev/null +++ b/print/bibcard/Makefile @@ -0,0 +1,31 @@ +# ex:ts=8 +# Ports collection makefile for: bibcard +# Version required: 0.6.4 +# Date created: Mon Feb 03, 1997 +# Whom: David O'Brien (obrien@FreeBSD.org) +# +# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $ +# + +DISTNAME= bibcard.6.4 +PKGNAME= bibcard-0.6.4 +CATEGORIES= print +MASTER_SITES= ftp://crl.nmsu.edu/pub/misc/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= obrien@NUXI.com + +LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib + +NO_WRKSUBDIR= yes +USE_IMAKE= yes + +pre-configure: + ${ECHO} "OPENWINHOME=${PREFIX}" \ + >> ${WRKSRC}/Imakefile + ${ECHO} "EXTRA_DEFINES= -DHAVE_STRCASECMP -DHAVE_STRSTR" \ + >> ${WRKSRC}/Imakefile + /bin/ln -f ${WRKSRC}/bibcard.1 ${WRKSRC}/bibcard.man + +.include <bsd.port.mk> + diff --git a/print/bibcard/distinfo b/print/bibcard/distinfo new file mode 100644 index 000000000000..6aa15174799d --- /dev/null +++ b/print/bibcard/distinfo @@ -0,0 +1 @@ +MD5 (bibcard.6.4.tar.Z) = e1dd2a687377d49ab426f8d1a80f4edc diff --git a/print/bibcard/files/patch-02 b/print/bibcard/files/patch-02 new file mode 100644 index 000000000000..c0d6a8188cf0 --- /dev/null +++ b/print/bibcard/files/patch-02 @@ -0,0 +1,50 @@ +--- bt_ex.c.orig Thu May 14 09:10:37 1992 ++++ bt_ex.c Tue Apr 8 15:26:22 1997 +@@ -212,7 +212,8 @@ + + + #define TOLOWER(c) (isupper(c)?tolower(c):(c)) +- ++ ++#ifndef HAVE_STRCASECMP + int + strcasecmp(s1,s2) + char *s1, *s2; +@@ -252,6 +253,8 @@ + return(0); + } + ++#endif ++ + /* strstr - find first occurrence of wanted in s + Copyright (C) 1989, Free Software Foundation. + +@@ -261,6 +264,7 @@ + #define CONST + #define SIZET int + ++#ifndef HAVE_STRSTR + #define NULL 0 + + char * /* found string, or NULL if none */ +@@ -286,7 +290,7 @@ + return(NULL); + return(scan); + } +- ++#endif + + char * /*A case insensitive version */ + strcasestr(s, wanted) +@@ -640,9 +644,11 @@ + /* limit for ATTR_LIST including a pad */ + #define MAX_XVIEW_ATTRIBUTES (255 - 20) + ++#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__bsdi__)) + extern char *malloc(); + extern int free(); + extern int strcmp(); ++#endif + + void + ReassignListEntries(list, entries) diff --git a/print/bibcard/files/patch-03 b/print/bibcard/files/patch-03 new file mode 100644 index 000000000000..4ba5cd5b86de --- /dev/null +++ b/print/bibcard/files/patch-03 @@ -0,0 +1,20 @@ +--- bt_my_stubs.c.orig Thu May 14 09:10:09 1992 ++++ bt_my_stubs.c Tue Apr 8 15:27:47 1997 +@@ -62,7 +62,7 @@ + update_item(); + if(confirm_overwrite() == 0){ + if (xv_destroy_safe(bt_window1->window1) == XV_OK) +- exit(); ++ exit(0); + } + else + +@@ -459,7 +459,7 @@ + case MENU_NOTIFY: + if(confirm_overwrite() == 0){ + if (xv_destroy_safe(bt_window1->window1) == XV_OK) +- exit(); ++ exit(0); + } + break; + diff --git a/print/bibcard/pkg-comment b/print/bibcard/pkg-comment new file mode 100644 index 000000000000..d60351c4b664 --- /dev/null +++ b/print/bibcard/pkg-comment @@ -0,0 +1 @@ +X11 interface for ediing BibTeX files. diff --git a/print/bibcard/pkg-descr b/print/bibcard/pkg-descr new file mode 100644 index 000000000000..e005f4a55108 --- /dev/null +++ b/print/bibcard/pkg-descr @@ -0,0 +1,2 @@ +BiBCard is provides Xview/X11 interface for entring bibilographies in +a natural format, while outputing BibTeX formatted files. diff --git a/print/bibcard/pkg-plist b/print/bibcard/pkg-plist new file mode 100644 index 000000000000..5ac5681549d3 --- /dev/null +++ b/print/bibcard/pkg-plist @@ -0,0 +1,3 @@ +bin/bibcard +man/man1/bibcard.1.gz +lib/help/bt.info |