This commit is contained in:
marc 1998-09-14 02:26:03 +00:00
parent 00eca56558
commit 17b65ea2ed
10 changed files with 126 additions and 0 deletions

28
mbone/sdr/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 1998/09/14 02:26:03 marc Exp $
#
DISTNAME= sdr.V2.4a7n
PKGNAME= sdr-2.4a7
CATEGORIES= mbone tk80
MASTER_SITES= http://north.east.isi.edu/sdr/
MAINTAINER= angelos@openbsd.org
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
# src/libs.tcl is autogenerated from the tcl/tk installed on the
# build system, so we shouldn't use the one in the distribution.
# Makefile.work and configure help to work with the sdr multi-platform
# build structure.
post-extract:
@${RM} -f ${WRKSRC}/src/libs.tcl
@${CP} ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
@${CP} ${FILESDIR}/configure ${WRKSRC}
@chmod 755 ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -0,0 +1,6 @@
#
# Makefile for ${WRKSRC}. This just decends into the freebsd subdirectory
# and builds.
#
all install clean:
cd freebsd; $(MAKE) $@

7
mbone/sdr/files/configure vendored Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# configure script for ${WRKSRC}. It just decends into the
# freebsd subdirectory and execs configure.
#
cd freebsd
exec ./configure $@

1
mbone/sdr/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (sdr.V2.4a7n.tar.gz) = 3131d934134fccaa81662ac951fdb604

View File

@ -0,0 +1,30 @@
--- src/sdr.h.orig Wed May 21 22:06:02 1997
+++ src/sdr.h Wed May 21 22:10:05 1997
@@ -8,9 +8,6 @@
#include <winsock.h>
#else
#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <net/if.h>
#include <sys/ioctl.h>
#include <netdb.h>
#include <pwd.h>
@@ -18,6 +15,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
+#include <netinet/in.h>
+#include <net/if.h>
+#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <resolv.h>
#ifdef AIX41
@@ -26,7 +26,6 @@
#endif
#include <tcl.h>
#include <tk.h>
-#include <malloc.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>

View File

@ -0,0 +1,19 @@
*** src/Makefile.template.orig Sat Nov 23 16:41:26 1996
--- src/Makefile.template Sat Nov 23 16:41:35 1996
***************
*** 97,103 ****
$(SDR_UI_FILES): tcl2c
parsed_plugins.tcl: ../src/plugin2tcl.tcl
! tclsh7.6 ../src/plugin2tcl.tcl
libs.tcl: $(TK_LIBRARY_FILES)
cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl
--- 97,103 ----
$(SDR_UI_FILES): tcl2c
parsed_plugins.tcl: ../src/plugin2tcl.tcl
! tclsh8.0 ../src/plugin2tcl.tcl
libs.tcl: $(TK_LIBRARY_FILES)
cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl

View File

@ -0,0 +1,29 @@
--- freebsd/Makefile.freebsd.orig Thu May 8 15:25:52 1997
+++ freebsd/Makefile.freebsd Tue Sep 9 15:25:54 1997
@@ -1,11 +1,15 @@
-CC=gcc
-INCLUDES=-I/usr/local/include -I/usr/X11R6/include
-LIB_DIR=/usr/local/lib
-LIBS= $(LIB_DIR)/libtk41.a $(LIB_DIR)/libtcl75.a -lm -L/usr/X11R6/lib -lX11
-CFLAGS=-ggdb $(INCLUDES) -DFREEBSD -Wall -DNORANDPROTO -DDEFINED_ERRLIST
-LIBRARY_TCL = $(LIB_DIR)/tcl7.5
-LIBRARY_TK = $(LIB_DIR)/tk4.1
-all:: sdr
-install:
- cp ./sdr /cs/research/mice/speedy/common/freebsd/bin/sdr
- chmod 755 /cs/research/mice/speedy/common/freebsd/bin/sdr
+CC=cc
+INCLUDES=-I${LOCALBASE}/include/tk8.0 -I${LOCALBASE}/include/tcl8.0 -I${X11BASE}/include
+LIB_DIR=${LOCALBASE}/lib
+LIBS=-L${LIB_DIR} -ltk80 -ltcl80 -lm -L${X11BASE}/lib -lX11
+CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST
+LIBRARY_TCL = ${LIB_DIR}/tcl8.0
+LIBRARY_TK = ${LIB_DIR}/tk8.0
+
+all: sdr
+
+install: sdr
+ install -c -s -m 555 -o bin -g bin sdr ${PREFIX}/bin
+
+clean:
+ rm *.o *.tcl *.ehtml tcl2c

1
mbone/sdr/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
MBone Session Directory

4
mbone/sdr/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Sdr is a session directory tool designed to allow the advertisement
and joining of multicast conferences on the Mbone. It was originally
based on sd written by Van Jacobson at LBNL, but implements a later
version of the session description protocol than sd does.

1
mbone/sdr/pkg/PLIST Normal file
View File

@ -0,0 +1 @@
bin/sdr