mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
A serial communication program. A clone of MS-DOS Telix.
Submitted by: obrien@cs.ucdavis.edu
This commit is contained in:
parent
cc8dd70071
commit
e78ee20b28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2773
34
comms/minicom/Makefile
Normal file
34
comms/minicom/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# New ports collection makefile for: minicom
|
||||
# Version required: 1.74
|
||||
# Date created: Fri Dec 01, 1995
|
||||
# Whom: obrien@cs.ucdavis.edu
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= minicom-1.74
|
||||
CATEGORIES+= comms
|
||||
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/comm/ \
|
||||
ftp://ftp.yggdrasil.com/mirrors/sunsite/apps/comm/
|
||||
|
||||
MAINTAINER= obrien@cs.ucdavis.edu
|
||||
|
||||
EXEC_DEPENDS= rz:${PORTSDIR}/comms/rzsz \
|
||||
sz:${PORTSDIR}/comms/rzsz \
|
||||
kermit:${PORTSDIR}/comms/kermit
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME}/src
|
||||
IS_INTERACTIVE= yes
|
||||
NO_PACKAGE= yes # modem port etc. built in
|
||||
|
||||
# I believe I prefer to do this in Minicom's Makefile so as to use its macros
|
||||
pre-install:
|
||||
# [ -d ${PREFIX}/etc/minicom ] || /bin/mkdir -p ${PREFIX}/etc/minicom
|
||||
|
||||
post-install:
|
||||
.if !defined(NOMANCOMPRESS)
|
||||
gzip -9nf ${PREFIX}/man/man1/minicom.1
|
||||
gzip -9nf ${PREFIX}/man/man1/runscript.1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
comms/minicom/distinfo
Normal file
1
comms/minicom/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (minicom-1.74.tar.gz) = 669c8ff5ace2a401caf297e29de5bb5b
|
70
comms/minicom/files/patch-aa
Normal file
70
comms/minicom/files/patch-aa
Normal file
@ -0,0 +1,70 @@
|
||||
--- Makefile.orig Thu Jan 18 14:32:00 1996
|
||||
+++ Makefile Mon Mar 4 23:36:34 1996
|
||||
@@ -12,10 +12,17 @@
|
||||
#
|
||||
|
||||
# Where to install things for Linux sites (FSSTND)
|
||||
-BINDIR = /usr/bin
|
||||
-LIBDIR = /etc
|
||||
-DOCDIR = /usr/doc/examples/minicom
|
||||
-MANDIR = /usr/man/man1
|
||||
+#BINDIR = /usr/bin
|
||||
+#LIBDIR = /etc
|
||||
+#DOCDIR = /usr/doc/examples/minicom
|
||||
+#MANDIR = /usr/man/man1
|
||||
+
|
||||
+# Where to install things for FreeBSD sites.
|
||||
+BINDIR = /usr/local/bin
|
||||
+LIBDIR = /usr/local/etc/minicom
|
||||
+#DOCDIR = /usr/local/share/minicom
|
||||
+DOCDIR = /usr/local/etc/minicom
|
||||
+MANDIR = /usr/local/man/man1
|
||||
|
||||
# Where to install things for "normal" sites.
|
||||
# BINDIR = /usr/local/bin
|
||||
@@ -31,19 +38,19 @@
|
||||
#CC = cc
|
||||
|
||||
# Take these compilation flags for Linux with ncurses.
|
||||
-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses
|
||||
-PROGS = minicom runscript
|
||||
-LFLAGS = -s
|
||||
-LIBS = -lncurses
|
||||
-CC = cc
|
||||
-
|
||||
-# Take these compilation flags for FreeBSD.
|
||||
-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW
|
||||
+#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses
|
||||
#PROGS = minicom runscript
|
||||
#LFLAGS = -s
|
||||
-#LIBS = -ltermcap
|
||||
+#LIBS = -lncurses
|
||||
#CC = cc
|
||||
|
||||
+# Take these compilation flags for FreeBSD.
|
||||
+FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW
|
||||
+PROGS = minicom runscript
|
||||
+LFLAGS = -s
|
||||
+LIBS = -ltermcap
|
||||
+CC = cc
|
||||
+
|
||||
# Take these flags for SCO unix.
|
||||
#FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT -D_HAVE_MACROS
|
||||
#PROGS = minicom runscript
|
||||
@@ -146,7 +153,7 @@
|
||||
|
||||
SOBJS = script.o sysdep1.o
|
||||
|
||||
-CFLAGS = $(FLAGS) -DLIBDIR=\"$(LIBDIR)\"
|
||||
+CFLAGS += $(FLAGS) -DLIBDIR=\"$(LIBDIR)\"
|
||||
|
||||
R = $(ROOTDIR)
|
||||
|
||||
@@ -197,6 +204,7 @@
|
||||
rwconf.o: rwconf.c $(HDRS)
|
||||
|
||||
install: $(PROGS)
|
||||
+ # -/bin/mkdir -p $(R)$(BINDIR) $(R)$(LIBDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
|
||||
sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
|
||||
|
||||
clobber:
|
69
comms/minicom/files/patch-ab
Normal file
69
comms/minicom/files/patch-ab
Normal file
@ -0,0 +1,69 @@
|
||||
--- install.sh.orig Thu Jan 18 20:45:40 1996
|
||||
+++ install.sh Sat Jan 27 02:07:26 1996
|
||||
@@ -48,7 +48,7 @@
|
||||
cp minicom $2/minicom
|
||||
chmod 755 $2/minicom
|
||||
chown root $2/minicom
|
||||
- chgrp root $2/minicom
|
||||
+ chgrp bin $2/minicom
|
||||
fi
|
||||
|
||||
for i in runscript xminicom
|
||||
@@ -59,7 +59,7 @@
|
||||
cp $i $2/$i
|
||||
chmod 755 $2/$i
|
||||
chown root $2/$i
|
||||
- chgrp root $2/$i
|
||||
+ chgrp bin $2/$i
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
cp keyserv $1/keyserv
|
||||
chmod 755 $1/keyserv
|
||||
chown root $1/keyserv
|
||||
- chgrp root $1/keyserv
|
||||
+ chgrp bin $1/keyserv
|
||||
fi
|
||||
|
||||
echo "Installing manpages in $3"
|
||||
@@ -78,7 +78,7 @@
|
||||
cp ../man/$i $3
|
||||
chmod 644 $3/$i
|
||||
chown root $3/$i
|
||||
- chgrp root $3/$i
|
||||
+ chgrp bin $3/$i
|
||||
done
|
||||
|
||||
if [ ! -f $1/minicom.users ]
|
||||
@@ -86,7 +86,7 @@
|
||||
echo "Installing sample config file minicom.users in $1"
|
||||
cp minicom.users $1
|
||||
chown root $1/minicom.users
|
||||
- chgrp root $1/minicom.users
|
||||
+ chgrp bin $1/minicom.users
|
||||
chmod 644 $1/minicom.users
|
||||
fi
|
||||
|
||||
@@ -98,15 +98,18 @@
|
||||
cp ../demos/$i $4/$i
|
||||
chmod 644 $4/$i
|
||||
chown root $4/$i
|
||||
- chgrp root $4/$i
|
||||
+ chgrp bin $4/$i
|
||||
done
|
||||
else
|
||||
echo "You don't have a $4 directory - script examples not installed."
|
||||
fi
|
||||
|
||||
-echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
||||
+#echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
||||
echo
|
||||
-echo "chmod +s $2/minicom"
|
||||
+#echo "chmod +s $2/minicom"
|
||||
+echo "chmod 4511 $2/minicom"
|
||||
echo
|
||||
+
|
||||
+ chmod 4511 $2/minicom
|
||||
|
||||
exit 0
|
1
comms/minicom/pkg-comment
Normal file
1
comms/minicom/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An MS-DOS Telix serial communication program "workalike".
|
9
comms/minicom/pkg-descr
Normal file
9
comms/minicom/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Minicom is a serial communication program. It is a un*x clone of the
|
||||
well-known MS-DOS Telix program. It has ANSI color, dialing directory,
|
||||
dial-a-list, script language, file up/download support, screen capture,
|
||||
scroll-back, etc.
|
||||
|
||||
The author is Miquel van Smoorenburg (miquels@cistron.nl -or-
|
||||
miquels@drinkel.ow.org). Note, minicom is covered by the GNU GPL.
|
||||
|
||||
-- David (obrien@cs.ucdavis.edu)
|
10
comms/minicom/pkg-plist
Normal file
10
comms/minicom/pkg-plist
Normal file
@ -0,0 +1,10 @@
|
||||
bin/minicom
|
||||
bin/xminicom
|
||||
bin/runscript
|
||||
etc/minicom/minicom.users
|
||||
etc/minicom/htsalogin
|
||||
etc/minicom/saralogin
|
||||
etc/minicom/scriptdemo
|
||||
etc/minicom/unixlogin
|
||||
man/man1/minicom.1.gz
|
||||
man/man1/runscript.1.gz
|
Loading…
Reference in New Issue
Block a user