1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Import tycoon, a button/drop-target manager with OffiX drag'n'drop support.

PR:		ports/4580
Submitted by:	stephen farrell <sfarrell@healthquiz.com>
This commit is contained in:
Bill Fenner 1997-11-24 05:02:48 +00:00
parent 753ad9d366
commit d023359a9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8785
11 changed files with 212 additions and 0 deletions

24
x11/tycoon/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: tycoon
# Version required: 1.07o
# Date created: 19 September 1997
# Whom: steve@farrell.org
#
# $Id$
#
DISTNAME= tycoon-1.07o
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/desktop
MAINTAINER= steve@farrell.org
LIB_DEPENDS= xforms:${PORTSDIR}/x11/xforms
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
pre-install:
@cd ${WRKSRC}/xbackdrop/backdrops; ${MV} index index.orig; ${SED} -e 's,/usr/lib,${PREFIX}/lib,' index.orig > index; ${RM} index.orig index~
.include <bsd.port.mk>

1
x11/tycoon/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tycoon-1.07o.tar.gz) = 9750a96ad58089d3e867ccbd55b034b5

22
x11/tycoon/files/patch-aa Normal file
View File

@ -0,0 +1,22 @@
--- ./xprompt/Imakefile.orig Thu Sep 18 23:49:06 1997
+++ ./xprompt/Imakefile Fri Sep 19 00:05:45 1997
@@ -2,14 +2,14 @@
SRCS = xprompt.c xprompt_cb.c xprompt_main.c
OBJS = xprompt.o xprompt_cb.o xprompt_main.o
XCOMM for LINUX:
-EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
+XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -lforms -lXpm -lm XCOMM
-XCOMM FOR Solaris
-XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm -lnsl
+XCOMM FOR FreeBSD
+EXTRA_LIBRARIES = -lxforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I/u/grad/mitnits/lib -I.
-EXTRA_DEFINES = -DICON_DIR=\"/usr/include/X11/pixmaps\"
+EXTRA_INCLUDES = -I.
+EXTRA_DEFINES = -DICON_DIR=\"${INCDIR}/pixmaps\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
ComplexProgramTarget(xprompt)

13
x11/tycoon/files/patch-ab Normal file
View File

@ -0,0 +1,13 @@
--- ./tycoon/Imakefile.orig Thu Sep 18 23:46:15 1997
+++ ./tycoon/Imakefile Thu Sep 18 23:47:03 1997
@@ -26,8 +26,8 @@
VERSION=1.07o
SRCS = wiconsh.c blip.c tycoon.c main.c DragAndDrop.c menu.c
OBJS = wiconsh.o blip.o tycoon.o main.o DragAndDrop.o menu.o
-EXTRA_LIBRARIES = -L/usr/local/lib -L/users/matar/interu/segel/mitnits/lib -lXpm
-EXTRA_INCLUDES = -I/usr/local/include -I/users/matar/interu/segel/mitnits/lib -I.
+EXTRA_LIBRARIES = -lXpm
+EXTRA_INCLUDES = -I.
EXTRA_DEFINES = -DVERSION=\"$(VERSION)\"
LDLIBS = $(EXTRA_LIBRARIES) $(XAWLIB) $(XMULIB) \
$(XTOOLLIB) $(EXTENSIONLIB) $(XLIB)

38
x11/tycoon/files/patch-ac Normal file
View File

@ -0,0 +1,38 @@
--- xbackdrop/Imakefile.orig Sat Mar 9 05:41:13 1996
+++ xbackdrop/Imakefile Sun Nov 23 20:36:15 1997
@@ -1,24 +1,28 @@
-XBACKDROP_DIR = /usr/lib/X11/backdrops
+XCOMM
+XCOMM FBSD--SF--I'm not sure about this location--backdrops??
+XCOMM
+XBACKDROP_DIR = ${LIBDIR}/backdrops
+
SRCS = xbackdrop.c xbackdrop_cb.c xbackdrop_main.c newbg.c newbg_cb.c
OBJS = xbackdrop.o xbackdrop_cb.o xbackdrop_main.o newbg.o newbg_cb.o
XCOMM for LINUX:
-EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
+XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
-XCOMM FOR Solaris
-XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm -lnsl
+XCOMM FOR FreeBSD
+EXTRA_LIBRARIES = -lxforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I/u/grad/mitnits/lib -I.
+EXTRA_INCLUDES = -I.
EXTRA_DEFINES = -DXBACKDROP_DIR=\"$(XBACKDROP_DIR)\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
ComplexProgramTarget(xbackdrop)
-install:: xbackdrop @@\
+install:: xbackdrop @@\
@if [ -d $(XBACKDROP_DIR) ]; then set +x; \ @@\
else (set -x; $(MKDIRHIER) $(XBACKDROP_DIR)); fi @@\
cp backdrops/?* $(XBACKDROP_DIR); @@\
- chown root.root $(XBACKDROP_DIR) $(XBACKDROP_DIR)/?*; @@\
+ chown root.daemon $(XBACKDROP_DIR) $(XBACKDROP_DIR)/?*; @@\
chmod 0755 $(XBACKDROP_DIR); @@\
chmod 0644 $(XBACKDROP_DIR)/?*; @@\

22
x11/tycoon/files/patch-ad Normal file
View File

@ -0,0 +1,22 @@
--- ./xchooser/Imakefile.orig Fri Sep 19 00:02:41 1997
+++ ./xchooser/Imakefile Fri Sep 19 00:04:39 1997
@@ -2,14 +2,14 @@
SRCS = xchooser.c xchooser_cb.c xchooser_main.c
OBJS = xchooser.o xchooser_cb.o xchooser_main.o
XCOMM for LINUX:
-EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
+XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
-XCOMM FOR Solaris
-XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm -lnsl
+XCOMM FOR FreeBSD
+EXTRA_LIBRARIES = -lxforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I/u/grad/mitnits/lib -I.
+EXTRA_INCLUDES = -I.
-EXTRA_DEFINES = -DICON_DIR=\"/usr/include/X11/pixmaps\"
+EXTRA_DEFINES = -DICON_DIR=\"${INCDIR}/pixmaps\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
ComplexProgramTarget(xchooser)

15
x11/tycoon/files/patch-ae Normal file
View File

@ -0,0 +1,15 @@
--- ./fclock/Imakefile.orig Thu Sep 18 23:52:13 1997
+++ ./fclock/Imakefile Thu Sep 18 23:52:46 1997
@@ -1,9 +1,9 @@
SRCS = clock_main.c
OBJS = clock_main.o
-EXTRA_LIBRARIES = -L/usr/local/lib -lforms -lXpm -lm
+EXTRA_LIBRARIES = -lxforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I.
+EXTRA_INCLUDES = -I.
-EXTRA_DEFINES = -DICON_DIR=\"/usr/include/X11/pixmaps\"
+EXTRA_DEFINES = -DICON_DIR=\"${INCDIR}/pixmaps/\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
ComplexProgramTarget(fclock)

22
x11/tycoon/files/patch-af Normal file
View File

@ -0,0 +1,22 @@
--- tyman/Imakefile.orig Thu Sep 18 23:53:43 1997
+++ tyman/Imakefile Fri Sep 19 00:07:48 1997
@@ -2,14 +2,14 @@
SRCS = tyman.c tyman_cb.c tyman_main.c
OBJS = tyman.o tyman_cb.o tyman_main.o
XCOMM for LINUX:
-EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
+XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
-XCOMM FOR Solaris
-XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm -lnsl
+XCOMM FOR FreeBSD
+EXTRA_LIBRARIES = -lxforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I/u/grad/mitnits/lib -I.
+EXTRA_INCLUDES = -I.
-EXTRA_DEFINES = -DICON_DIR=\"/usr/include/X11/pixmaps\"
+EXTRA_DEFINES = -DICON_DIR=\"${INCDIR}/pixmaps/\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
ComplexProgramTarget(tyman)

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

@ -0,0 +1 @@
A nifty set of desktop apps, including floating buttons

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

@ -0,0 +1,8 @@
The program adds nicely shaped icons a little bit like those of window
manager. You can launch programs by clicking on them. The layout of the icons
is remembered and restored on the next run.
Right now I have put into tycoon support for OffiX drag-and-drop,
so now you can drag icons from the OffiX filemanager into tycoon
icons and have apppropriate action invoked. Check out OffiX, it's
very fine package.

46
x11/tycoon/pkg-plist Normal file
View File

@ -0,0 +1,46 @@
bin/fclock
bin/tycoon
bin/tyman
bin/xbackdrop
bin/xchooser
bin/xprompt
lib/X11/backdrops/arena.xpm
lib/X11/backdrops/background5.xpm
lib/X11/backdrops/background8.xpm
lib/X11/backdrops/bg_blu.xpm
lib/X11/backdrops/circle_weave.xpm
lib/X11/backdrops/cloth.xpm
lib/X11/backdrops/concrete.xpm
lib/X11/backdrops/flames.xpm
lib/X11/backdrops/funkyblue_weave.xpm
lib/X11/backdrops/gradient.xpm
lib/X11/backdrops/gray_stucco.xpm
lib/X11/backdrops/green_stucco.xpm
lib/X11/backdrops/greysea.xpm
lib/X11/backdrops/honey.xpm
lib/X11/backdrops/index
lib/X11/backdrops/marbled.xpm
lib/X11/backdrops/marbled2.xpm
lib/X11/backdrops/maze3.xpm
lib/X11/backdrops/multicolor1_rock.xpm
lib/X11/backdrops/multicolor3_rock.xpm
lib/X11/backdrops/plasma_maze.xpm
lib/X11/backdrops/pool.xpm
lib/X11/backdrops/raindrops_dark.xpm
lib/X11/backdrops/red_rock.xpm
lib/X11/backdrops/red_stucco.xpm
lib/X11/backdrops/rough.xpm
lib/X11/backdrops/slate.xpm
lib/X11/backdrops/slate_green.xpm
lib/X11/backdrops/space.xpm
lib/X11/backdrops/space2.xpm
lib/X11/backdrops/tan_paper.xpm
lib/X11/backdrops/tiles.xpm
lib/X11/backdrops/wax.xpm
lib/X11/backdrops/weave-red.xpm
lib/X11/backdrops/wood.xpm
lib/X11/backdrops/wood2.xpm
lib/X11/backdrops/worm.xpm
lib/X11/backdrops/xenon.xpm
lib/X11/backdrops/yellow_weave.xpm
@dirrm lib/X11/backdrops