aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftp/omi/Makefile25
-rw-r--r--ftp/omi/distinfo1
-rw-r--r--ftp/omi/files/patch-aa51
-rw-r--r--ftp/omi/pkg-comment1
-rw-r--r--ftp/omi/pkg-descr6
-rw-r--r--ftp/omi/pkg-plist3
6 files changed, 87 insertions, 0 deletions
diff --git a/ftp/omi/Makefile b/ftp/omi/Makefile
new file mode 100644
index 000000000000..78c93495cb89
--- /dev/null
+++ b/ftp/omi/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: omi
+# http://fromme.com/omi/
+# Version required: alpha-7
+# Date created: 19 August 1995
+# Whom: ache
+#
+# $Id: Makefile,v 1.12 1998/01/21 02:39:56 peter Exp $
+#
+
+DISTNAME= omi-alpha-7
+CATEGORIES= net
+MASTER_SITES= http://dorifer.heim3.tu-clausthal.de/~olli/omi/
+
+MAINTAINER= ache@FreeBSD.org
+
+ALL_TARGET= freebsd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/omi ${PREFIX}/bin
+ ${INSTALL} -d -m 755 -o ${DOCOWN} -g ${DOCGRP} \
+ ${PREFIX}/share/doc/omi
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/omi
+ ${INSTALL_DATA} ${WRKSRC}/BSD-COPYRIGHT ${PREFIX}/share/doc/omi
+
+.include <bsd.port.mk>
diff --git a/ftp/omi/distinfo b/ftp/omi/distinfo
new file mode 100644
index 000000000000..790f7b49addf
--- /dev/null
+++ b/ftp/omi/distinfo
@@ -0,0 +1 @@
+MD5 (omi-alpha-7.tar.gz) = e2dc6fb1d347339917a35e92d16cd3a9
diff --git a/ftp/omi/files/patch-aa b/ftp/omi/files/patch-aa
new file mode 100644
index 000000000000..3e2c066f4b91
--- /dev/null
+++ b/ftp/omi/files/patch-aa
@@ -0,0 +1,51 @@
+*** Makefile.orig Thu Feb 19 03:43:21 1998
+--- Makefile Sun Mar 8 07:21:37 1998
+***************
+*** 12,18 ****
+ # Normally you should not have to change anything else.
+ #
+
+! PREFIX=/usr/local
+ BINDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man
+ SECTION=1
+--- 12,18 ----
+ # Normally you should not have to change anything else.
+ #
+
+! PREFIX?=/usr/local
+ BINDIR=$(PREFIX)/bin
+ MANDIR=$(PREFIX)/man
+ SECTION=1
+***************
+*** 61,68 ****
+
+ UTILS=utils
+ OBJS=omi.o cfg.o ftp.o dir.o mir.o stt.o lst.o rex.o
+! LDFLAGS=-g $(LINKFLAGS)
+! CFLAGS=-g -I$(UTILS) $(COMPFLAGS)
+
+ #all: makeutils omi omi.man
+ all: makeutils omi
+--- 61,70 ----
+
+ UTILS=utils
+ OBJS=omi.o cfg.o ftp.o dir.o mir.o stt.o lst.o rex.o
+! LDFLAGS+= $(LINKFLAGS)
+! CFLAGS+= $(COMPFLAGS)
+! G_CFLAGS:= $(CFLAGS)
+! CFLAGS+= -I$(UTILS)
+
+ #all: makeutils omi omi.man
+ all: makeutils omi
+***************
+*** 84,87 ****
+
+ makeutils:
+ @cd $(UTILS); \
+! $(MAKE) LDFLAGS='-g $(LINKFLAGS)' CFLAGS='-g $(COMPFLAGS)'
+--- 86,89 ----
+
+ makeutils:
+ @cd $(UTILS); \
+! $(MAKE) LDFLAGS='$(LDFLAGS)' CFLAGS='$(G_CFLAGS)'
diff --git a/ftp/omi/pkg-comment b/ftp/omi/pkg-comment
new file mode 100644
index 000000000000..e2e979aaf82f
--- /dev/null
+++ b/ftp/omi/pkg-comment
@@ -0,0 +1 @@
+omi - "mirror" subtrees of FTP servers
diff --git a/ftp/omi/pkg-descr b/ftp/omi/pkg-descr
new file mode 100644
index 000000000000..a70ede1e94c6
--- /dev/null
+++ b/ftp/omi/pkg-descr
@@ -0,0 +1,6 @@
+What Is omi?
+============
+
+ It is a software to "mirror" subtrees of FTP servers. It
+ can be used to make a one-time mirror, and it can be used
+ to update a mirror regularly (for example using cron).
diff --git a/ftp/omi/pkg-plist b/ftp/omi/pkg-plist
new file mode 100644
index 000000000000..828abc0c77ec
--- /dev/null
+++ b/ftp/omi/pkg-plist
@@ -0,0 +1,3 @@
+bin/omi
+share/doc/omi/README
+share/doc/omi/BSD-COPYRIGHT