bricons port

This commit is contained in:
angelos 1998-05-19 05:54:17 +00:00
parent 289abdf48f
commit 0c7c732f2d
10 changed files with 198 additions and 0 deletions

8
x11/bricons/.briconsrc Normal file
View File

@ -0,0 +1,8 @@
# Default .briconsrc file
# A line starting with a '#' is a comment line
# first line must have keyword %icon or %text
# to indicate if button is an icon or text
# for more information select the help button
%text test1
xterm

33
x11/bricons/Makefile Normal file
View File

@ -0,0 +1,33 @@
# OpenBSD makefile for: bricons
# Version required: 3.0 with colour icons
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/19 05:54:17 angelos Exp $
#
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= angelos@openbsd.ogr
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/
${MKDIR} $(PREFIX)/include/X11/pixmaps
${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>

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 &

1
x11/bricons/files/md5 Normal file
View File

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

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