Date: Mon, 16 Sep 1996 08:10:49 -0500 From: "Eric L. Hernes" <erich@lodgenet.com> To: gwh@spiders.com (Gene W Homicki) Cc: ports@freebsd.org Subject: Re: scotty and tkined ports? Message-ID: <199609161310.IAA22395@jake.lodgenet.com> In-Reply-To: Your message of "Sat, 14 Sep 1996 15:50:55 EDT." <199609141950.PAA10292@charlotte.spiders.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message. --===_0_Mon_Sep_16_08:09:56_CDT_1996 Content-Type: text/plain; charset=us-ascii Gene W Homicki writes: >Hey there, > > The ports for net/{scotty,tkined} seem to be out of date. I'm >running the latest SNAP, and just grabbed the ports collection >yesterday (Friday). > > > --Gene I just upgraded scotty to 2.1.3, with the included tkined. Satoshi, could you give it the once-over before I commit. It should use /usr/lib/tcl, etc.. The patch is relative to the port, it doesn't belong in `patches/' eric. --===_0_Mon_Sep_16_08:09:56_CDT_1996 Content-Type: text/plain; charset=us-ascii Content-Description: new-patch Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/scotty/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 1996/07/10 02:55:48 1.10 +++ Makefile 1996/09/13 15:49:51 @@ -1,38 +1,54 @@ # 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.10 1996/07/10 02:55:48 asami Exp $ # +#PREFIX=/src/scotty -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 + +#EXEC_DEPENDS= wishx:${PORTSDIR}/lang/tclX74 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 --prefix=${PREFIX} -pre-configure: - @find ${WRKSRC} -name Makefile.in -exec ${SCRIPTDIR}/untrue \{} \; +WRKSRC=${WRKDIR}/scotty-2.1.3/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 Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/net/scotty/files/md5,v retrieving revision 1.2 diff -u -r1.2 md5 --- md5 1996/06/07 06:30:28 1.2 +++ md5 1996/09/13 15:49:51 @@ -1 +1 @@ -MD5 (scotty-2.0.2.tar.gz) = cec44570d81a285869c77dc0322ff72f +MD5 (scotty-2.1.3.tar.gz) = 5fa8a75d17c9d64857c9087be1607a14 Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/net/scotty/patches/patch-aa,v retrieving revision 1.1 diff -u -r1.1 patch-aa --- patch-aa 1996/06/07 06:30:29 1.1 +++ patch-aa 1996/09/13 15:49:52 @@ -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)$(SH LIB_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_SUFFI X)" +- @$(INSTALL_PROGRAM) $(UNIX_DIR)/tkined $(BIN_INSTALL_DIR)/tkined$(TKI_VERSIO N) ++ @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_VERSIO N)$(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 --===_0_Mon_Sep_16_08:09:56_CDT_1996 Content-Type: text/plain; charset=us-ascii -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com --===_0_Mon_Sep_16_08:09:56_CDT_1996--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609161310.IAA22395>