1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Import of bricons, a start up utility for applications on an X display.

Closes PR 1529.

Submitted by:	Andreas Kohout <shanee@rabbit.augusta.de>
This commit is contained in:
Thomas Gellekum 1996-11-25 10:00:33 +00:00
parent e7c7b56ee8
commit e60610ce65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4662
9 changed files with 189 additions and 0 deletions

32
x11/bricons/Makefile Normal file
View File

@ -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>

1
x11/bricons/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (bricons-athena-3.0.tar.gz) = bae89aa6efa06b177058c2db83b0ba99

View File

@ -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 &

View File

@ -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

View File

@ -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

View File

@ -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

1
x11/bricons/pkg-comment Normal file
View File

@ -0,0 +1 @@
Quick start up utility for applications on an X display.

8
x11/bricons/pkg-descr Normal file
View File

@ -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).

11
x11/bricons/pkg-plist Normal file
View File

@ -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