aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/Makefile1
-rw-r--r--comms/gkermit/Makefile33
-rw-r--r--comms/gkermit/distinfo1
-rw-r--r--comms/gkermit/files/patch-aa32
-rw-r--r--comms/gkermit/pkg-comment1
-rw-r--r--comms/gkermit/pkg-descr16
-rw-r--r--comms/gkermit/pkg-plist3
7 files changed, 87 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 1c80a9921df0..f0ce608659d8 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -5,6 +5,7 @@
SUBDIR += bpl+
SUBDIR += conserver
SUBDIR += ecu
+ SUBDIR += gkermit
SUBDIR += gnokii
SUBDIR += hylafax
SUBDIR += kermit
diff --git a/comms/gkermit/Makefile b/comms/gkermit/Makefile
new file mode 100644
index 000000000000..6b54ecc8ff8d
--- /dev/null
+++ b/comms/gkermit/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: gkermit
+# Version required: 1.0
+# Date created: 8 Jan 2000
+# Whom: dom@myrddin.demon.co.uk
+#
+# $FreeBSD$
+#
+
+DISTNAME= gkermit
+PKGNAME= gkermit-1.0
+CATEGORIES= comms
+MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/
+
+MAINTAINER= dom@myrddin.demon.co.uk
+
+NO_WRKSUBDIR= yes
+MAN1= gkermit.1
+
+ALL_TARGET= posix
+MAKE_ENV= CC="${CC}"
+
+GKERMIT_DOCDIR= ${PREFIX}/share/doc/gkermit
+
+post-extract:
+ cd ${WRKSRC} && ${MV} makefile Makefile
+
+do-install:
+ ${MKDIR} ${GKERMIT_DOCDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/gkermit ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/gkermit.nr ${PREFIX}/man/man1/gkermit.1
+ ${INSTALL_DATA} ${WRKSRC}/README ${GKERMIT_DOCDIR}/gkermit.txt
+
+.include <bsd.port.mk>
diff --git a/comms/gkermit/distinfo b/comms/gkermit/distinfo
new file mode 100644
index 000000000000..fde1561f21b0
--- /dev/null
+++ b/comms/gkermit/distinfo
@@ -0,0 +1 @@
+MD5 (gkermit.tar.gz) = 1c10dca56fdf74a7bea1448815db2bc3
diff --git a/comms/gkermit/files/patch-aa b/comms/gkermit/files/patch-aa
new file mode 100644
index 000000000000..cd972eb02a55
--- /dev/null
+++ b/comms/gkermit/files/patch-aa
@@ -0,0 +1,32 @@
+--- Makefile.orig Tue Jan 11 08:42:38 2000
++++ Makefile Tue Jan 11 08:44:12 2000
+@@ -37,8 +37,10 @@
+
+ # Default compiler and flags
+
+-CC=cc
+-CFLAGS= -DPOSIX -O $(KFLAGS)
++#CC=cc
++#CFLAGS= -DPOSIX -O $(KFLAGS)
++DEFS=-DPOSIX
++CFLAGS+= $(DEFS)
+
+ # Object files
+
+@@ -70,13 +72,13 @@
+ $(CC) -o gkermit $(OBJECTS)
+
+ bsd: gwart
+- $(MAKE) "CC=$(CC)" "CFLAGS=-DBSD -O $(KFLAGS)" gkermit
++ $(MAKE) "CC=$(CC)" "DEFS=-DBSD $(KFLAGS)" gkermit
+
+ sysv: gwart
+- $(MAKE) "CC=$(CC)" "CFLAGS=-DSYSV -O $(KFLAGS)" gkermit
++ $(MAKE) "CC=$(CC)" "DEFS=-DSYSV $(KFLAGS)" gkermit
+
+ posix: gwart
+- $(MAKE) "CC=$(CC)" "CFLAGS=-DPOSIX -O $(KFLAGS)" gkermit
++ $(MAKE) "CC=$(CC)" "DEFS=-DPOSIX $(KFLAGS)" gkermit
+
+ sysvx: gwart
+ $(MAKE) "CC=$(CC)" \
diff --git a/comms/gkermit/pkg-comment b/comms/gkermit/pkg-comment
new file mode 100644
index 000000000000..c11ff8006624
--- /dev/null
+++ b/comms/gkermit/pkg-comment
@@ -0,0 +1 @@
+File transfer utility using the kermit protocol
diff --git a/comms/gkermit/pkg-descr b/comms/gkermit/pkg-descr
new file mode 100644
index 000000000000..c1803628fd83
--- /dev/null
+++ b/comms/gkermit/pkg-descr
@@ -0,0 +1,16 @@
+G-Kermit file transfer utility
+------------------------------
+
+G-Kermit is a Unix program for uploading and downloading files with the
+Kermit protocol. It is:
+
+ . Stable and low-maintenance
+ . Small and fast with no frills
+ . Released under the GNU Public License
+
+G-Kermit is command-line only (no interactive commands or scripting) and
+remote-mode only (no making connections). It has an extremely simple
+user interface, and implements a large subset of the Kermit protocol in
+a small amount of highly portable code.
+
+WWW: http://www.columbia.edu/kermit/gkermit.html
diff --git a/comms/gkermit/pkg-plist b/comms/gkermit/pkg-plist
new file mode 100644
index 000000000000..e54c8499048d
--- /dev/null
+++ b/comms/gkermit/pkg-plist
@@ -0,0 +1,3 @@
+bin/gkermit
+share/doc/gkermit/gkermit.txt
+@dirrm share/doc/gkermit