aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-11-25 18:00:33 +0800
committertg <tg@FreeBSD.org>1996-11-25 18:00:33 +0800
commitf1b468623d0025fceef3dad300b796da5c81959e (patch)
tree9cda029c683c71d1c2aef3dcf764eafb1bc0f806 /x11
parentf430fbb45cfe086089f68dbda1f51bd67fd61590 (diff)
downloadfreebsd-ports-graphics-f1b468623d0025fceef3dad300b796da5c81959e.tar.gz
freebsd-ports-graphics-f1b468623d0025fceef3dad300b796da5c81959e.tar.zst
freebsd-ports-graphics-f1b468623d0025fceef3dad300b796da5c81959e.zip
Import of bricons, a start up utility for applications on an X display.
Closes PR 1529. Submitted by: Andreas Kohout <shanee@rabbit.augusta.de>
Diffstat (limited to 'x11')
-rw-r--r--x11/bricons/Makefile32
-rw-r--r--x11/bricons/distinfo1
-rw-r--r--x11/bricons/files/DOTbriconsrc27
-rw-r--r--x11/bricons/files/patch-aa49
-rw-r--r--x11/bricons/files/patch-ab38
-rw-r--r--x11/bricons/files/patch-ac22
-rw-r--r--x11/bricons/pkg-comment1
-rw-r--r--x11/bricons/pkg-descr8
-rw-r--r--x11/bricons/pkg-plist11
9 files changed, 189 insertions, 0 deletions
diff --git a/x11/bricons/Makefile b/x11/bricons/Makefile
new file mode 100644
index 00000000000..9ce5c33da65
--- /dev/null
+++ b/x11/bricons/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: bricons
+# Version required: 3.0 with colour icons
+# Date created: 31 Jul 1996
+# Whom: shanee@rabbit.augusta.de
+#
+# $Id$
+#
+
+DISTNAME= bricons
+PKGNAME= bricons-3.0
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.uni-paderborn.de/unix/X11/ftp.x.org/R5contrib/ \
+ ftp://ftp.pasteur.fr/pub/computing/unix/X11/R5contrib/
+EXTRACT_SUFX= -athena-3.0.tar.gz
+
+MAINTAINER= shanee@rabbit.augusta.de
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+USE_IMAKE= yes
+
+post-install:
+ ${INSTALL_DATA} $(WRKDIR)/bricons/Xbricons $(PREFIX)/lib/X11/app-defaults/
+ ${INSTALL_DATA} $(WRKDIR)/bricons/bitmaps/* $(PREFIX)/include/X11/bitmaps/
+ ${INSTALL_DATA} $(WRKDIR)/bricons/*.xpm $(PREFIX)/include/X11/pixmaps/
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " Use ./files/DOTbriconsrc as an example. This file"
+ @${ECHO_MSG} " should be stored in the same directory as the"
+ @${ECHO_MSG} " program is executed from."
+ @${ECHO_MSG} ""
+
+.include <bsd.port.mk>
diff --git a/x11/bricons/distinfo b/x11/bricons/distinfo
new file mode 100644
index 00000000000..cd8639f643e
--- /dev/null
+++ b/x11/bricons/distinfo
@@ -0,0 +1 @@
+MD5 (bricons-athena-3.0.tar.gz) = bae89aa6efa06b177058c2db83b0ba99
diff --git a/x11/bricons/files/DOTbriconsrc b/x11/bricons/files/DOTbriconsrc
new file mode 100644
index 00000000000..3813d86f910
--- /dev/null
+++ b/x11/bricons/files/DOTbriconsrc
@@ -0,0 +1,27 @@
+# <-- a line starting with a '#' is a comment line
+#
+
+# first line must have keyword %icon or %text
+# to indicate if button is an icon
+%icon help.xbm
+xman
+%icon letters.xbm
+knews
+%pixmap /usr/X11R6/include/X11/pixmaps/mail.xpm
+exmh
+%icon calander.xbm
+xcalendar
+%text Sub-\nmenu
+%sub_menu
+ %text \n bitmap\n editor\n
+ %pixmap /usr/X11R6/include/X11/pixmaps/clock.xpm
+ xclock
+ %icon load.xbm
+ xload
+ %text+ \n Shell\n
+ xterm -n Shell &
+%end_sub_menu
+%pixmap+ /usr/X11R6/include/X11/pixmaps/xterm.xpm
+xterm &
+%pixmap+ /usr/X11R6/include/X11/pixmaps/editor.xpm
+xedit &
diff --git a/x11/bricons/files/patch-aa b/x11/bricons/files/patch-aa
new file mode 100644
index 00000000000..fe3ca6990f8
--- /dev/null
+++ b/x11/bricons/files/patch-aa
@@ -0,0 +1,49 @@
+*** Imakefile.orig Thu Jan 21 21:27:31 1993
+--- Imakefile Sat Aug 3 14:30:53 1996
+***************
+*** 7,28 ****
+ /**/# Here's what to change to customize the installation...
+ /**/# Where do you want this stuff (if the defaults aren't okay)?
+
+! BINDIR = /home/cur/bri/bin/mbins/${M}bin
+! LIBDIR = /home/cur/bri/lib
+! MANDIR = /home/cur/bri/Man
+
+ /**/# Where is the Xpm header and library files
+ /**/# This program needs the Xpm libraries written by Arnaud Le Hors.
+ /**/# it can be obtained by anonymous ftp to: export.lcs.mit.edu
+ /**/# and from many other sites.
+
+! XPM_DIR = /home/cur/bri/Xstuff/Progs/bricons/xpm
+ XPM_INCLUDE_DIR = $(XPM_DIR)
+! XPM_LIB_DIR = $(LIBDIR)
+
+ /**/# This is -g for debugging or -O for optimization (or nothing).
+
+! CDEBUGFLAGS = -g
+
+ /**/# Nothing to change below here
+
+--- 7,28 ----
+ /**/# Here's what to change to customize the installation...
+ /**/# Where do you want this stuff (if the defaults aren't okay)?
+
+! BINDIR = /usr/X11R6/bin
+! LIBDIR = /usr/X11R6/lib
+! MANDIR = /usr/X11R6/man/man1
+
+ /**/# Where is the Xpm header and library files
+ /**/# This program needs the Xpm libraries written by Arnaud Le Hors.
+ /**/# it can be obtained by anonymous ftp to: export.lcs.mit.edu
+ /**/# and from many other sites.
+
+! XPM_DIR = /usr/X11R6/include/X11
+ XPM_INCLUDE_DIR = $(XPM_DIR)
+! XPM_LIB_DIR = /usr/X11R6/lib
+
+ /**/# This is -g for debugging or -O for optimization (or nothing).
+
+! CDEBUGFLAGS = -O2
+
+ /**/# Nothing to change below here
+
diff --git a/x11/bricons/files/patch-ab b/x11/bricons/files/patch-ab
new file mode 100644
index 00000000000..3da195468e1
--- /dev/null
+++ b/x11/bricons/files/patch-ab
@@ -0,0 +1,38 @@
+*** gen.h.orig Thu Jan 21 21:27:33 1993
+--- gen.h Sat Aug 3 15:14:37 1996
+***************
+*** 11,18 ****
+ #include <X11/Xaw/MenuButton.h>
+ #include <X11/Shell.h>
+ #include <X11/Xaw/Cardinals.h>
+! /* #include <stdlib.h> */
+! #include <malloc.h>
+ #include <ctype.h>
+ #include <unistd.h>
+ #include "xpm.h"
+--- 11,18 ----
+ #include <X11/Xaw/MenuButton.h>
+ #include <X11/Shell.h>
+ #include <X11/Xaw/Cardinals.h>
+! #include <stdlib.h>
+! /* #include <malloc.h> */
+ #include <ctype.h>
+ #include <unistd.h>
+ #include "xpm.h"
+***************
+*** 32,38 ****
+ #define NO_OF_COLS 18 /* default number of columns */
+
+ #define EDITOR "xterm -e " /* editor used to edit icon file. */
+! #define FORMATTER "xterm -e vi " /* text formatter for help file */
+ #define HELP_VIEWER " " /* viewer for help file */
+
+ #define MAXPROCS 20
+--- 32,38 ----
+ #define NO_OF_COLS 18 /* default number of columns */
+
+ #define EDITOR "xterm -e " /* editor used to edit icon file. */
+! #define FORMATTER "xterm -e man " /* text formatter for help file */
+ #define HELP_VIEWER " " /* viewer for help file */
+
+ #define MAXPROCS 20
diff --git a/x11/bricons/files/patch-ac b/x11/bricons/files/patch-ac
new file mode 100644
index 00000000000..2d7fa06f2e9
--- /dev/null
+++ b/x11/bricons/files/patch-ac
@@ -0,0 +1,22 @@
+*** Xbricons.orig Thu Jan 21 21:27:32 1993
+--- Xbricons Sat Aug 3 15:14:56 1996
+***************
+*** 1,9 ****
+ ! Application resources file for bricons program
+ ! B.R. Ingram 9th Sept 1991
+ *no_of_cols: 16
+! *icon_file: /home/cur/bri/.briconsrc
+! *help_file: /home/cur/bri/Man/bricons.man
+! .bitmapFilePath: /usr/local/include/X11/bitmaps:/s/bri/Pics
+ *borderColor: yellow
+ *popup_layout*.borderColor: black
+ *background: #ffd28e
+--- 1,8 ----
+ ! Application resources file for bricons program
+ ! B.R. Ingram 9th Sept 1991
+ *no_of_cols: 16
+! *help_file: bricons
+! *.bitmapFilePath: /usr/X11R6/include/X11/bitmaps
+ *borderColor: yellow
+ *popup_layout*.borderColor: black
+ *background: #ffd28e
diff --git a/x11/bricons/pkg-comment b/x11/bricons/pkg-comment
new file mode 100644
index 00000000000..82f82b75fc5
--- /dev/null
+++ b/x11/bricons/pkg-comment
@@ -0,0 +1 @@
+Quick start up utility for applications on an X display.
diff --git a/x11/bricons/pkg-descr b/x11/bricons/pkg-descr
new file mode 100644
index 00000000000..3f14b199e3b
--- /dev/null
+++ b/x11/bricons/pkg-descr
@@ -0,0 +1,8 @@
+ Bricons program allows the user to quickly start up appli-
+ cations by selecting the appropriate button from the dis-
+ play and pressing the left mouse button. A maximum of up
+ to sixteen main menu buttons can be displayed. Each main
+ menu button can launch an application or pop-up a sub menu
+ containing more buttons. The buttons can be represented as
+ a bitmap, text or a colour icon (i.e Pixmap).
+
diff --git a/x11/bricons/pkg-plist b/x11/bricons/pkg-plist
new file mode 100644
index 00000000000..ae3d3faca95
--- /dev/null
+++ b/x11/bricons/pkg-plist
@@ -0,0 +1,11 @@
+bin/bricons
+man/man1/bricons.1.gz
+lib/X11/app-defaults/Xbricons
+include/X11/bitmaps/calander.xbm
+include/X11/bitmaps/help.xbm
+include/X11/bitmaps/letters.xbm
+include/X11/bitmaps/load.xbm
+include/X11/pixmaps/clock.xpm
+include/X11/pixmaps/editor.xpm
+include/X11/pixmaps/mail.xpm
+include/X11/pixmaps/news.xpm