diff options
author | tg <tg@FreeBSD.org> | 1998-04-09 08:13:33 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1998-04-09 08:13:33 +0000 |
commit | 8ded58502db4ddbd3f1857c2ddfb08923f65a076 (patch) | |
tree | 755eecd5060113620772339f4e01602b7f52756f /x11/libhelp | |
parent | fa3656322b9927ce27eebcf0967566be381b812a (diff) | |
download | FreeBSD-ports-8ded58502db4ddbd3f1857c2ddfb08923f65a076.zip FreeBSD-ports-8ded58502db4ddbd3f1857c2ddfb08923f65a076.tar.gz |
Import libhelp port. libhelp is a hypertext help system for Motif
applications. Call xmhelp for an example and introduction.
Submitted by: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
Diffstat (limited to 'x11/libhelp')
-rw-r--r-- | x11/libhelp/Makefile | 25 | ||||
-rw-r--r-- | x11/libhelp/distinfo | 1 | ||||
-rw-r--r-- | x11/libhelp/files/patch-aa | 48 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ab | 15 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ac | 13 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ad | 31 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ae | 16 | ||||
-rw-r--r-- | x11/libhelp/files/patch-af | 15 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ag | 15 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ah | 13 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ai | 23 | ||||
-rw-r--r-- | x11/libhelp/files/patch-aj | 20 | ||||
-rw-r--r-- | x11/libhelp/files/patch-ak | 41 | ||||
-rw-r--r-- | x11/libhelp/files/patch-al | 24 | ||||
-rw-r--r-- | x11/libhelp/files/patch-am | 22 | ||||
-rw-r--r-- | x11/libhelp/pkg-comment | 1 | ||||
-rw-r--r-- | x11/libhelp/pkg-descr | 13 | ||||
-rw-r--r-- | x11/libhelp/pkg-plist | 82 |
18 files changed, 418 insertions, 0 deletions
diff --git a/x11/libhelp/Makefile b/x11/libhelp/Makefile new file mode 100644 index 0000000..37630bb --- /dev/null +++ b/x11/libhelp/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: libhelp +# Version required: 1.8.1 +# Date created: 11 December 96 +# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de> +# +# $Id$ +# + +DISTNAME= libhelp-1.8.1 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/libhelp/ + +MAINTAINER= Lars.Koeller@Uni-Bielefeld.de + +REQUIRES_MOTIF= YES +USE_IMAKE= YES +NO_INSTALL_MANPAGES= YES + +post-install: + @${MKDIR} ${X11BASE}/lib/X11/xmhelp/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${X11BASE}/lib/X11/xmhelp/pixmaps + @${MKDIR} ${X11BASE}/lib/X11/xmhelp/help + ${INSTALL_DATA} ${WRKSRC}/help/* ${X11BASE}/lib/X11/xmhelp/help + +.include <bsd.port.mk> diff --git a/x11/libhelp/distinfo b/x11/libhelp/distinfo new file mode 100644 index 0000000..0a37398 --- /dev/null +++ b/x11/libhelp/distinfo @@ -0,0 +1 @@ +MD5 (libhelp-1.8.1.tar.gz) = a8a460484b8fdeb67bbf6213472265fc diff --git a/x11/libhelp/files/patch-aa b/x11/libhelp/files/patch-aa new file mode 100644 index 0000000..ae370ad --- /dev/null +++ b/x11/libhelp/files/patch-aa @@ -0,0 +1,48 @@ +*** ../../../libhelp-1.8.1/Imakefile Tue Apr 4 17:21:02 1995 +--- Imakefile Mon Oct 20 22:13:28 1997 +*************** +*** 27,33 **** + XCOMM remove libhtmlw from LIBDIRS + XCOMM -------------------------------------------------------------------- + +! LIBDIRS = libhelp libButtFace libhtmlw + + XCOMM -------------------------------------------------------------------- + XCOMM Additional Definitions +--- 27,33 ---- + XCOMM remove libhtmlw from LIBDIRS + XCOMM -------------------------------------------------------------------- + +! LIBDIRS = libhelp libButtFace libhtmlw libhlpclient + + XCOMM -------------------------------------------------------------------- + XCOMM Additional Definitions +*************** +*** 36,42 **** + CC = gcc -ansi + COPT = -O2 + INCS = +! DEFS = + LIBS = + + #define IHaveSubdirs +--- 36,42 ---- + CC = gcc -ansi + COPT = -O2 + INCS = +! DEFS = -DHELP_PATH=\"$(X11BASE)/lib/X11/xmhelp/help:$(X11BASE)/lib/X11/xmhelp/pixmaps\" + LIBS = + + #define IHaveSubdirs +*************** +*** 52,60 **** + MakeSubdirs($(SUBDIRS)) + DependSubdirs($(SUBDIRS)) + CleanSubdirs($(SUBDIRS)) +- +- +- +- +- +- +--- 52,54 ---- diff --git a/x11/libhelp/files/patch-ab b/x11/libhelp/files/patch-ab new file mode 100644 index 0000000..52cb4d5a --- /dev/null +++ b/x11/libhelp/files/patch-ab @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/Imakefile libhelp/Imakefile +*** ../../../libhelp-1.8.1/libhelp/Imakefile Wed Jun 28 14:59:58 1995 +--- libhelp/Imakefile Mon Oct 20 21:25:05 1997 +*************** +*** 99,104 **** +--- 99,107 ---- + XCOMM libhelp.a + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) ++ ++ InstallNonExecFile(help.h,$(INCDIR)) + + XCOMM thelp (only for testing, not distributed) + diff --git a/x11/libhelp/files/patch-ac b/x11/libhelp/files/patch-ac new file mode 100644 index 0000000..43548d6 --- /dev/null +++ b/x11/libhelp/files/patch-ac @@ -0,0 +1,13 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/Center.c libButtFace/Center.c +*** ../../../libhelp-1.8.1/libButtFace/Center.c Fri Feb 24 13:28:28 1995 +--- libButtFace/Center.c Mon Oct 20 19:00:11 1997 +*************** +*** 31,36 **** +--- 31,37 ---- + */ + #include <X11/IntrinsicP.h> + #include <X11/StringDefs.h> ++ #include <Xm/ManagerP.h> + #include "CenterP.h" + + diff --git a/x11/libhelp/files/patch-ad b/x11/libhelp/files/patch-ad new file mode 100644 index 0000000..1e3f304 --- /dev/null +++ b/x11/libhelp/files/patch-ad @@ -0,0 +1,31 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c libhtmlw/HTML-PSformat.c +*** ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c Mon Dec 26 12:15:57 1994 +--- libhtmlw/HTML-PSformat.c Mon Oct 20 19:00:12 1997 +*************** +*** 47,53 **** + #include <stdio.h> + #include <ctype.h> + #include <math.h> +! #include <malloc.h> + #include "HTMLP.h" + + /* Fix thanks to robm. */ +--- 47,57 ---- + #include <stdio.h> + #include <ctype.h> + #include <math.h> +! #ifdef __FreeBSD__ +! # include <stdlib.h> +! #else +! # include <malloc.h> +! #endif + #include "HTMLP.h" + + /* Fix thanks to robm. */ +*************** +*** 1507,1510 **** + + return( PS_string); + } +- +--- 1511,1513 ---- diff --git a/x11/libhelp/files/patch-ae b/x11/libhelp/files/patch-ae new file mode 100644 index 0000000..bfd79f8 --- /dev/null +++ b/x11/libhelp/files/patch-ae @@ -0,0 +1,16 @@ +diff -cb ../../../libhelp-1.8.1/libhlpclient/Imakefile libhlpclient/Imakefile +*** ../../../libhelp-1.8.1/libhlpclient/Imakefile Sat Jun 17 13:52:05 1995 +--- libhlpclient/Imakefile Mon Oct 20 21:18:41 1997 +*************** +*** 87,91 **** + SYSTEM_LIBS = $(SYSLIBS) $(ADDLIBS) + + NormalLibraryTarget($(LIBHELP),$(OBJS)) + NormalProgramTarget(chelp,$(TESTOBJ),$(HLIB),$(HELPLIBS),$(SYSTEM_LIBS)) +- +--- 87,91 ---- + SYSTEM_LIBS = $(SYSLIBS) $(ADDLIBS) + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) + NormalProgramTarget(chelp,$(TESTOBJ),$(HLIB),$(HELPLIBS),$(SYSTEM_LIBS)) diff --git a/x11/libhelp/files/patch-af b/x11/libhelp/files/patch-af new file mode 100644 index 0000000..6af616a --- /dev/null +++ b/x11/libhelp/files/patch-af @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/load.c libhelp/load.c +*** ../../../libhelp-1.8.1/libhelp/load.c Wed Jun 28 15:00:15 1995 +--- libhelp/load.c Mon Oct 20 19:00:11 1997 +*************** +*** 37,42 **** +--- 37,45 ---- + /*----------------------------------------------------------------------* + *g include section + **----------------------------------------------------------------------*/ ++ #ifdef __FreeBSD__ ++ #include <sys/types.h> ++ #endif __FreeBSD__ + #include <dirent.h> + #include <sys/stat.h> + #include <unistd.h> diff --git a/x11/libhelp/files/patch-ag b/x11/libhelp/files/patch-ag new file mode 100644 index 0000000..c300567 --- /dev/null +++ b/x11/libhelp/files/patch-ag @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/util.c libhelp/util.c +*** ../../../libhelp-1.8.1/libhelp/util.c Wed Jun 28 15:00:19 1995 +--- libhelp/util.c Mon Oct 20 19:00:11 1997 +*************** +*** 45,50 **** +--- 45,53 ---- + ** -------------------------------------------------------------------- */ + #include <sys/stat.h> + #include <ctype.h> ++ #ifdef __FreeBSD__ ++ #include <sys/types.h> ++ #endif __FreeBSD__ + #include <dirent.h> + + #include "helpp.h" diff --git a/x11/libhelp/files/patch-ah b/x11/libhelp/files/patch-ah new file mode 100644 index 0000000..0352c65 --- /dev/null +++ b/x11/libhelp/files/patch-ah @@ -0,0 +1,13 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/Imakefile libButtFace/Imakefile +*** ../../../libhelp-1.8.1/libButtFace/Imakefile Sat May 27 13:07:41 1995 +--- libButtFace/Imakefile Mon Oct 20 21:17:29 1997 +*************** +*** 77,80 **** +--- 77,82 ---- + XCOMM -------------------------------------------------------------------- + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) ++ + DependTarget() + diff --git a/x11/libhelp/files/patch-ai b/x11/libhelp/files/patch-ai new file mode 100644 index 0000000..a2b2cb6 --- /dev/null +++ b/x11/libhelp/files/patch-ai @@ -0,0 +1,23 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/resource.c libButtFace/resource.c +*** ../../../libhelp-1.8.1/libButtFace/resource.c Fri Feb 24 13:28:28 1995 +--- libButtFace/resource.c Mon Oct 20 19:00:11 1997 +*************** +*** 27,33 **** + */ + + #include <string.h> +! #include <malloc.h> + #include <ctype.h> + #include <X11/StringDefs.h> + +--- 27,37 ---- + */ + + #include <string.h> +! #ifdef __FreeBSD__ +! # include <stdlib.h> +! #else +! # include <malloc.h> +! #endif + #include <ctype.h> + #include <X11/StringDefs.h> diff --git a/x11/libhelp/files/patch-aj b/x11/libhelp/files/patch-aj new file mode 100644 index 0000000..6412fa7 --- /dev/null +++ b/x11/libhelp/files/patch-aj @@ -0,0 +1,20 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML.c libhtmlw/HTML.c +*** ../../../libhelp-1.8.1/libhtmlw/HTML.c Mon Dec 26 12:15:57 1994 +--- libhtmlw/HTML.c Mon Oct 20 19:00:12 1997 +*************** +*** 57,62 **** +--- 57,63 ---- + #ifdef MOTIF + #include <Xm/DrawingA.h> + #include <Xm/ScrollBar.h> ++ #include <Xm/ManagerP.h> + #else + #include "DrawingArea.h" + #include <X11/Xaw/Scrollbar.h> +*************** +*** 6109,6112 **** + return(-1); + } + } +- +--- 6112,6114 ---- diff --git a/x11/libhelp/files/patch-ak b/x11/libhelp/files/patch-ak new file mode 100644 index 0000000..d76b9ad --- /dev/null +++ b/x11/libhelp/files/patch-ak @@ -0,0 +1,41 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML.h libhtmlw/HTML.h +*** ../../../libhelp-1.8.1/libhtmlw/HTML.h Mon Dec 26 12:15:58 1994 +--- libhtmlw/HTML.h Mon Oct 20 19:00:12 1997 +*************** +*** 56,68 **** + #define HTML_H + + #ifdef MOTIF +! #include <Xm/Xm.h> +! #if (XmVERSION == 1)&&(XmREVISION >= 2) +! #define MOTIF1_2 +! #endif + #else +! #include <X11/Intrinsic.h> +! #include <X11/Constraint.h> + #endif /* MOTIF */ + #include <X11/StringDefs.h> + +--- 56,70 ---- + #define HTML_H + + #ifdef MOTIF +! # include <Xm/Xm.h> +! # if (XmVERSION == 1)&&(XmREVISION >= 2) +! # define MOTIF1_2 +! # elif (XmVERSION == 2) +! # define MOTIF2 +! # endif + #else +! # include <X11/Intrinsic.h> +! # include <X11/Constraint.h> + #endif /* MOTIF */ + #include <X11/StringDefs.h> + +*************** +*** 483,486 **** + + + #endif /* HTML_H */ +- +--- 485,487 ---- diff --git a/x11/libhelp/files/patch-al b/x11/libhelp/files/patch-al new file mode 100644 index 0000000..de4f3b7 --- /dev/null +++ b/x11/libhelp/files/patch-al @@ -0,0 +1,24 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTMLP.h libhtmlw/HTMLP.h +*** ../../../libhelp-1.8.1/libhtmlw/HTMLP.h Mon Dec 26 12:15:58 1994 +--- libhtmlw/HTMLP.h Mon Oct 20 19:00:12 1997 +*************** +*** 59,67 **** + + #ifdef MOTIF + #include <Xm/XmP.h> +! # ifdef MOTIF1_2 + # include <Xm/ManagerP.h> +! # endif /* MOTIF1_2 */ + #else + #include <X11/IntrinsicP.h> + #include <X11/ConstrainP.h> +--- 59,67 ---- + + #ifdef MOTIF + #include <Xm/XmP.h> +! # if defined(MOTIF1_2) || defined(MOTIF2) + # include <Xm/ManagerP.h> +! # endif /* MOTIF1_2 || MOTIF2*/ + #else + #include <X11/IntrinsicP.h> + #include <X11/ConstrainP.h> diff --git a/x11/libhelp/files/patch-am b/x11/libhelp/files/patch-am new file mode 100644 index 0000000..e2088e4 --- /dev/null +++ b/x11/libhelp/files/patch-am @@ -0,0 +1,22 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/Imakefile libhtmlw/Imakefile +*** ../../../libhelp-1.8.1/libhtmlw/Imakefile Sat May 27 13:06:58 1995 +--- libhtmlw/Imakefile Mon Oct 20 21:18:03 1997 +*************** +*** 35,44 **** + HTMLlists.o HTMLparse.o HTMLwidgets.o + + NormalLibraryTarget(htmlw,$(OBJS)) +! DependTarget() +! +! +! +! +! + +--- 35,40 ---- + HTMLlists.o HTMLparse.o HTMLwidgets.o + + NormalLibraryTarget(htmlw,$(OBJS)) +! InstallLibrary(htmlw,$(USRLIBDIR)) + ++ DependTarget() diff --git a/x11/libhelp/pkg-comment b/x11/libhelp/pkg-comment new file mode 100644 index 0000000..c821c63 --- /dev/null +++ b/x11/libhelp/pkg-comment @@ -0,0 +1 @@ +A html based help system for osf/motif applications diff --git a/x11/libhelp/pkg-descr b/x11/libhelp/pkg-descr new file mode 100644 index 0000000..f01cfca --- /dev/null +++ b/x11/libhelp/pkg-descr @@ -0,0 +1,13 @@ +Libhelp is a comprehensive hypertext-help-system for OSF/Motif(tm) +applications which uses the html widget from NCSA Mosaic(tm) +version 2.4. The help browser provides hypertext links, different +fonts, inlined images and a lot of more elements known from www +(world wide web) browsers. It has a document history and +implements buffer and image cache methods. + +Libhelp provides two interface functions for getting help and +setting resources. It eases the task of writing the application +help. Menu and context sensitive help are supported. Lowlevel +Motif and X stuff is hidden from the application developer (and of +course the user too). Libhelp works with (at least) ansi-c and c++ +applications. diff --git a/x11/libhelp/pkg-plist b/x11/libhelp/pkg-plist new file mode 100644 index 0000000..7ecfa93 --- /dev/null +++ b/x11/libhelp/pkg-plist @@ -0,0 +1,82 @@ +lib/libhelp.a +include/help.h +lib/libButtFace.a +lib/libhtmlw.a +lib/libhlpclient.a +bin/xmhelp +lib/X11/xmhelp/pixmaps/backD.xpm +lib/X11/xmhelp/pixmaps/backU.xpm +lib/X11/xmhelp/pixmaps/dismissD.xpm +lib/X11/xmhelp/pixmaps/dismissU.xpm +lib/X11/xmhelp/pixmaps/downD.xpm +lib/X11/xmhelp/pixmaps/downU.xpm +lib/X11/xmhelp/pixmaps/historyD.xpm +lib/X11/xmhelp/pixmaps/historyU.xpm +lib/X11/xmhelp/pixmaps/indexD.xpm +lib/X11/xmhelp/pixmaps/indexU.xpm +lib/X11/xmhelp/pixmaps/libhelp_icon.xpm +lib/X11/xmhelp/pixmaps/upD.xpm +lib/X11/xmhelp/pixmaps/upU.xpm +@dirrm lib/X11/xmhelp/pixmaps +lib/X11/xmhelp/help/button-back.gif +lib/X11/xmhelp/help/button-dismiss.gif +lib/X11/xmhelp/help/button-down.gif +lib/X11/xmhelp/help/button-history.gif +lib/X11/xmhelp/help/button-index.gif +lib/X11/xmhelp/help/button-up.gif +lib/X11/xmhelp/help/gnu-copying.html +lib/X11/xmhelp/help/html-primer.html +lib/X11/xmhelp/help/html-reference.html +lib/X11/xmhelp/help/htmlwidget-func.html +lib/X11/xmhelp/help/htmlwidget-res.html +lib/X11/xmhelp/help/htmlwidget-tags.html +lib/X11/xmhelp/help/htmlwidget-types.html +lib/X11/xmhelp/help/htmlwidget.html +lib/X11/xmhelp/help/icon-dir.gif +lib/X11/xmhelp/help/icon-executable.gif +lib/X11/xmhelp/help/icon-gif.gif +lib/X11/xmhelp/help/icon-history.gif +lib/X11/xmhelp/help/icon-html.gif +lib/X11/xmhelp/help/icon-index.gif +lib/X11/xmhelp/help/icon-other.gif +lib/X11/xmhelp/help/icon-plain.gif +lib/X11/xmhelp/help/icon-subindex.gif +lib/X11/xmhelp/help/icon-warning.gif +lib/X11/xmhelp/help/libButtFace-copyright.html +lib/X11/xmhelp/help/libXpm-copyright.html +lib/X11/xmhelp/help/libhelp-about.html +lib/X11/xmhelp/help/libhelp-address.html +lib/X11/xmhelp/help/libhelp-atwork.gif +lib/X11/xmhelp/help/libhelp-bar.gif +lib/X11/xmhelp/help/libhelp-browser.html +lib/X11/xmhelp/help/libhelp-buttons.gif +lib/X11/xmhelp/help/libhelp-buttons.html +lib/X11/xmhelp/help/libhelp-context_example.html +lib/X11/xmhelp/help/libhelp-copyright.html +lib/X11/xmhelp/help/libhelp-example.html +lib/X11/xmhelp/help/libhelp-full_index.html +lib/X11/xmhelp/help/libhelp-html.html +lib/X11/xmhelp/help/libhelp-html_mode.html +lib/X11/xmhelp/help/libhelp-icon.gif +lib/X11/xmhelp/help/libhelp-index.html +lib/X11/xmhelp/help/libhelp-insensitive.gif +lib/X11/xmhelp/help/libhelp-install.html +lib/X11/xmhelp/help/libhelp-ipvr.gif +lib/X11/xmhelp/help/libhelp-ipvr.html +lib/X11/xmhelp/help/libhelp-iso-chars.html +lib/X11/xmhelp/help/libhelp-keys.html +lib/X11/xmhelp/help/libhelp-libhlpclient.html +lib/X11/xmhelp/help/libhelp-library.html +lib/X11/xmhelp/help/libhelp-link.gif +lib/X11/xmhelp/help/libhelp-resources.html +lib/X11/xmhelp/help/libhelp-search_path.html +lib/X11/xmhelp/help/libhelp-smiley.gif +lib/X11/xmhelp/help/libhelp-tharrer.html +lib/X11/xmhelp/help/libhelp-urls.html +lib/X11/xmhelp/help/libhelp-window.gif +lib/X11/xmhelp/help/libhelp-xmhelp.html +lib/X11/xmhelp/help/libhtmlw-copyright.html +lib/X11/xmhelp/help/url-primer.html +lib/X11/xmhelp/help/welcome.html +@dirrm lib/X11/xmhelp/help +@dirrm lib/X11/xmhelp |