Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 11:59:18 +0900 (JST)
From:      mutoh@info.nara-k.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27172: New ports: mbone/wbd
Message-ID:  <200105070259.f472xIK37456@bovine.info.nara-k.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         27172
>Category:       ports
>Synopsis:       New ports: mbone/wbd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 06 20:00:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Takeshi MUTOH
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Nara National College of Technology
>Environment:
System: FreeBSD bovine 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Apr 24 15:42:18 JST 2001 root@bovine:/new/usr/obj/new/usr/src/sys/HOGE i386
>Description:
	New ports: mbone/wbd.
	WBD is Whiteboard application using multicast.
	This is compatible for wb, but there are souce codes.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/patch-Makefile
#	./distinfo
#	./Makefile
#	./pkg-comment
#	./pkg-descr
#	./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Thu May  3 21:09:50 2001
X+++ Makefile	Thu May  3 21:13:02 2001
X@@ -0,0 +1,68 @@
X+YACC = byacc
X+LEX = flex -I -i
X+
X+YFLAGS		= -dv
X+CFLAGS		= -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE
X+LIBDIR          = /usr/local/lib
X+INCDIR          = /usr/local/include
X+
X+# The files needed from the tcl/tk library directories...
X+LIBRARY_TK      = $(LIBDIR)/tk8.2
X+LIBRARY_TCL     = $(LIBDIR)/tcl8.2
X+
X+# For FreeBSD
X+CC              = cc -ansi
X+LIBFLAGS        = -L$(LIBDIR) -L/usr/X11R6/lib
X+IFLAGS          = -I$(INCDIR)/tcl8.2 -I$(INCDIR)/tk8.2 -I/usr/X11R6/include
X+LIBS            = -ll -ltk82 -ltcl82 -lm -lX11
X+
X+# Tcl initialisation files to be compiled into a C string.
X+TCL_FILES = \
X+	$(LIBRARY_TCL)/init.tcl \
X+	$(LIBRARY_TK)/tk.tcl \
X+	$(LIBRARY_TK)/bgerror.tcl \
X+	$(LIBRARY_TK)/button.tcl \
X+	$(LIBRARY_TK)/clrpick.tcl \
X+	$(LIBRARY_TK)/comdlg.tcl \
X+	$(LIBRARY_TK)/dialog.tcl \
X+	$(LIBRARY_TK)/entry.tcl \
X+	$(LIBRARY_TK)/focus.tcl \
X+	$(LIBRARY_TK)/listbox.tcl \
X+	$(LIBRARY_TK)/menu.tcl \
X+	$(LIBRARY_TK)/palette.tcl \
X+	$(LIBRARY_TK)/scale.tcl \
X+	$(LIBRARY_TK)/tearoff.tcl \
X+	$(LIBRARY_TK)/text.tcl \
X+	$(LIBRARY_TK)/optMenu.tcl \
X+	$(LIBRARY_TK)/scrlbar.tcl \
X+	$(LIBRARY_TK)/tkfbox.tcl \
X+	$(LIBRARY_TK)/xmfbox.tcl \
X+	$(LIBRARY_TK)/msgbox.tcl \
X+	wbdxbm.tcl \
X+	wbddlg.tcl \
X+	wbd.tcl
X+
X+# The Make rules.
X+INC	= wb.h db.h
X+SRC	= main.c comms.c db.c wbd.tcl
X+OBJ	= main.o comms.o db.o tcllibs.o
X+
X+all	:	wbd
X+wbd	:	$(OBJ) $(INC)
X+	$(CC) $(CFLAGS) $(OBJ) $(LIBS) -o wbd
X+
X+clean	:
X+	rm -f *.o tcl2c wbd core
X+
X+# tcl2c comes from Ron Frederick's (Xerox) nv distribution.
X+tcl2c	:	tcl2c.o
X+	$(CC) $(CFLAGS) tcl2c.o $(LIBS) -o tcl2c
X+
X+# Tcl library files are turned into a single object file.
X+tcllibs.o: $(TCL_FILES) tcl2c
X+	rm -f $@ tcllibs.c; \
X+	./tcl2c 1 $(TCL_FILES) > tcllibs.c ; \
X+	$(CC) -c $(CFLAGS) tcllibs.c ; rm -f tcllibs.c
X+install:        all
X+	install -c -s -m 755 -o bin -g bin wbd ${PREFIX}/bin
X+
END-of-./files/patch-Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (wbd-1.0ucl4.tar.gz) = 08fe22da79d3b6b0a62bc65fde4fdd57
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	wbd
X# Date created:		01 May 2001
X# Whom:			Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	wbd
XPORTVERSION=	1.0.4
XCATEGORIES=	mbone
XMASTER_SITES=   http://www-mice.cs.ucl.ac.uk/multimedia/software/wbd/1.0ucl4/
XDISTNAME=	${PORTNAME}-1.0ucl4
X
XMAINTAINER=	mutoh@info.nara-k.ac.jp
X
XLIB_DEPENDS=    tk82:${PORTSDIR}/x11-toolkits/tk82
X
XWRKSRC=         ${WRKDIR}/wbd
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XA shared drawing (whiteboard) tool using multicast
END-of-./pkg-comment
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XWBD is a shared whiteboard compatible with the LBL whiteboard, WB.
X
XIt was originally written by Julian Highfield 
X at Loughborough University and has since been modified
X by Kristian Hasler at UCL. 
XThis version has also been designed to work
X with the ReLaTe integrated interface
X
XWWW:	http://www-mice.cs.ucl.ac.uk/multimedia/software/wbd/
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/wbd
END-of-./pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105070259.f472xIK37456>