summaryrefslogtreecommitdiff
path: root/net-mgmt/scotty3
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-09-17 12:50:36 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-09-17 12:50:36 +0000
commita9a5e5b05356990318c7e4c790eaf304c5e6da6d (patch)
tree23d1053a881bcfb25212b53619dd8c9beb2ff3b4 /net-mgmt/scotty3
parentAdd slash to MASTER_SITES (diff)
upgrade to 2.1.3
Notes
Notes: svn path=/head/; revision=3796
Diffstat (limited to 'net-mgmt/scotty3')
-rw-r--r--net-mgmt/scotty3/Makefile38
-rw-r--r--net-mgmt/scotty3/distinfo2
-rw-r--r--net-mgmt/scotty3/files/patch-aa86
3 files changed, 55 insertions, 71 deletions
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile
index 2925f5df1b48..2f8274be6e0d 100644
--- a/net-mgmt/scotty3/Makefile
+++ b/net-mgmt/scotty3/Makefile
@@ -1,39 +1,49 @@
# New ports collection makefile for: scotty
-# Version required: 2.0.2
+# Version required: 2.1.3
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
-# $Id: Makefile,v 1.9 1996/06/07 06:30:03 gpalmer Exp $
+# $Id: Makefile,v 1.10 1996/07/10 02:55:48 asami Exp $
#
-DISTNAME= scotty-2.0.2
+DISTNAME= scotty-2.1.3
CATEGORIES+= net
MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
-LIB_DEPENDS= tk40\\.1\\.:${PORTSDIR}/x11/tk4 \
- tcl74\\.1\\.:${PORTSDIR}/lang/tcl74
-EXEC_DEPENDS= wishx:${PORTSDIR}/lang/tclX74
+LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41
-HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-x --prefix=${PREFIX}
+CONFIGURE_ARGS= --with-tcl-config=/usr/libdata/tcl --with-tk-config=/usr/local/lib
-pre-configure:
- @find ${WRKSRC} -name Makefile.in -exec ${SCRIPTDIR}/untrue \{} \;
+WRKSRC=${WRKDIR}/${DISTNAME}/unix
pre-install:
@cd ${WRKSRC};make sinstall
+ @cp ${WRKSRC}/../tnm/ntping/ntping.8 ${WRKSRC}/../doc
post-install:
.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/tkined.1
gzip -9nf ${PREFIX}/man/man1/scotty.1
- gzip -9nf ${PREFIX}/man/man1/scwish.1
gzip -9nf ${PREFIX}/man/man8/ntping.8
gzip -9nf ${PREFIX}/man/man8/straps.8
+ gzip -9nf ${PREFIX}/man/mann/Tnm.n
+ gzip -9nf ${PREFIX}/man/mann/cmip.n
+ gzip -9nf ${PREFIX}/man/mann/dns.n
+ gzip -9nf ${PREFIX}/man/mann/gdmo.n
+ gzip -9nf ${PREFIX}/man/mann/http.n
+ gzip -9nf ${PREFIX}/man/mann/icmp.n
+ gzip -9nf ${PREFIX}/man/mann/ined.n
+ gzip -9nf ${PREFIX}/man/mann/job.n
+ gzip -9nf ${PREFIX}/man/mann/mib.n
gzip -9nf ${PREFIX}/man/mann/msqltcl.n
- gzip -9nf ${PREFIX}/man/mann/cmiptcl.n
- gzip -9nf ${PREFIX}/man/mann/gdmotcl.n
+ gzip -9nf ${PREFIX}/man/mann/netdb.n
+ gzip -9nf ${PREFIX}/man/mann/ntp.n
+ gzip -9nf ${PREFIX}/man/mann/rpc.n
+ gzip -9nf ${PREFIX}/man/mann/snmp.n
+ gzip -9nf ${PREFIX}/man/mann/sunrpc.n
+ gzip -9nf ${PREFIX}/man/mann/syslog.n
+ gzip -9nf ${PREFIX}/man/mann/udp.n
.endif
-
.include <bsd.port.mk>
diff --git a/net-mgmt/scotty3/distinfo b/net-mgmt/scotty3/distinfo
index 18d0698df19b..7a3576056bef 100644
--- a/net-mgmt/scotty3/distinfo
+++ b/net-mgmt/scotty3/distinfo
@@ -1 +1 @@
-MD5 (scotty-2.0.2.tar.gz) = cec44570d81a285869c77dc0322ff72f
+MD5 (scotty-2.1.3.tar.gz) = 5fa8a75d17c9d64857c9087be1607a14
diff --git a/net-mgmt/scotty3/files/patch-aa b/net-mgmt/scotty3/files/patch-aa
index 163b9f8b840a..34f23419c975 100644
--- a/net-mgmt/scotty3/files/patch-aa
+++ b/net-mgmt/scotty3/files/patch-aa
@@ -1,58 +1,32 @@
---- configure.orig Wed Jun 5 08:06:34 1996
-+++ configure Wed Jun 5 11:27:59 1996
-@@ -938,7 +938,7 @@
+--- Makefile.in~ Fri Sep 13 07:42:06 1996
++++ Makefile.in Fri Sep 13 09:28:45 1996
+@@ -469,7 +469,7 @@
+ @$(INSTALL_PROGRAM) scotty $(BIN_INSTALL_DIR)/scotty$(TNM_VERSION)
+ @$(INSTALL_DATA) tnm$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX)
+ @chmod 555 $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)$(SHLIB_SUFFIX)
+- @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION)[info sharedlibextension]"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl
++ @echo 'package ifneeded Tnm $(TNM_VERSION) "load $(LIB_RUNTIME_DIR)/tnm$(TNM_VERSION).so"' > $(TNM_INSTALL_DIR)/pkgIndex.tcl
- dynamic=0
- # Extract the first word of "tclsh", so it can be a program name with args.
--set dummy tclsh; ac_word=$2
-+set dummy tclsh7.4; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- if eval "test \"`echo '$''{'ac_cv_prog_have_tclsh'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-@@ -1026,7 +1026,7 @@
- echo $ac_n "checking for tcl version number""... $ac_c" 1>&6
- tcl_major_version=`awk '/TCL_MAJOR_VERSION/ {print $3}' $f/tcl.h`
- tcl_minor_version=`awk '/TCL_MINOR_VERSION/ {print $3}' $f/tcl.h`
--tcl_version="$tcl_major_version.$tcl_minor_version"
-+tcl_version="$tcl_major_version$tcl_minor_version"
- echo "$ac_t"""$tcl_version"" 1>&6
+ tnm-install-mibs:
+ @for i in $(TNM_INSTALL_DIR)/mibs ; \
+@@ -567,10 +567,12 @@
+ fi; \
+ done;
+ @echo "Installing tkined$(TNM_VERSION) and tkined$(TNM_VERSION)$(SHLIB_SUFFIX)"
+- @$(INSTALL_PROGRAM) $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION)
++ @sed s,@PREFIX@,${prefix},g tkined.sh.in >tkined.sh
++ @$(INSTALL) -m 555 ${UNIX_DIR}/tkined.sh ${BIN_INSTALL_DIR}/tkined
++ @$(INSTALL) -m 555 $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSION)
+ @$(INSTALL_DATA) tkined$(SHLIB_SUFFIX) $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX)
+ @chmod 555 $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)$(SHLIB_SUFFIX)
+- @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION)[info sharedlibextension]"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl
++ @echo 'package ifneeded Tkined $(TKI_VERSION) "load $(LIB_RUNTIME_DIR)/tkined$(TKI_VERSION).so"' > $(TKI_INSTALL_DIR)/pkgIndex.tcl
+ @$(INSTALL_DATA) $(TKI_DIR)/tkined.defaults $(TKI_INSTALL_DIR)
- if test 7 -ne $tcl_major_version ; then
-@@ -1038,9 +1038,9 @@
-
- for f in $tcl_library $scotty_cv_path_tcl_lib $prefix/lib /usr/local/tk4.0/lib /usr/local/lib /usr/lib ; do
- echo $ac_n "checking for libtcl$tcl_version in $f""... $ac_c" 1>&6
-- if test -f "$f/libtcl$tcl_version.a" ; then
-+ if test -f "$f/libtcl$tcl_version.so.1.0" ; then
- scotty_cv_path_tcl_lib=$f
-- TCL_LIB="$TCL_LIB $f/libtcl$tcl_version.a"
-+ TCL_LIB="-L$f $TCL_LIB -ltcl$tcl_version"
- echo "$ac_t""yes" 1>&6
- break
- else
-@@ -1112,21 +1112,21 @@
- echo $ac_n "checking for tk version number""... $ac_c" 1>&6
- tk_major_version=`awk '/TK_MAJOR_VERSION/ {print $3}' $f/tk.h`
- tk_minor_version=`awk '/TK_MINOR_VERSION/ {print $3}' $f/tk.h`
--tk_version="$tk_major_version.$tk_minor_version"
-+tk_version="$tk_major_version$tk_minor_version"
- echo "$ac_t"""$tk_version"" 1>&6
-
- if test 4 -ne $tk_major_version ; then
- { echo "configure: error: "tk 4.0 or later needed"" 1>&2; exit 1; }
- fi
- if test 0 -gt $tk_minor_version ; then
-- { echo "configure: error: "tcl 4.0 or later needed"" 1>&2; exit 1; }
-+ { echo "configure: error: "tk 4.0 or later needed"" 1>&2; exit 1; }
- fi
-
- for f in $tk_library $scotty_cv_path_tk_lib $tcl_library $prefix/lib /usr/local/tk4.0/lib /usr/local/lib /usr/lib /usr/X386/lib /usr/X11/lib ; do
- echo $ac_n "checking for libtk$tk_version in $f""... $ac_c" 1>&6
-- if test -f "$f/libtk$tk_version.a" ; then
-+ if test -f "$f/libtk$tk_version.so.1.0" ; then
- scotty_cv_path_tk_lib=$f
-- TK_LIB="$f/libtk$tk_version.a"
-+ TK_LIB="-L $f -ltk$tk_version"
- echo "$ac_t""yes" 1>&6
- break
- else
+ tki-install-library:
+--- tkined.sh.in~ Fri Sep 13 09:30:41 1996
++++ tkined.sh.in Fri Sep 13 09:26:21 1996
+@@ -0,0 +1,3 @@
++#!/bin/sh
++export TCLLIBPATH="@PREFIX@/lib/tkined1.4.3 @PREFIX@/lib/tnm2.1.3"
++exec @PREFIX@/bin/tkined1.4.3