aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoritojun <itojun@FreeBSD.org>1997-09-19 10:13:54 +0800
committeritojun <itojun@FreeBSD.org>1997-09-19 10:13:54 +0800
commitd6a92639434004931638f6159f9c820f5f9e3054 (patch)
tree8ffe250a740b08a6750176d689a622d735ccdce6 /sysutils
parentb06ed30ad0742188499e76ca1150e2cc9cf1a129 (diff)
downloadfreebsd-ports-graphics-d6a92639434004931638f6159f9c820f5f9e3054.tar.gz
freebsd-ports-graphics-d6a92639434004931638f6159f9c820f5f9e3054.tar.zst
freebsd-ports-graphics-d6a92639434004931638f6159f9c820f5f9e3054.zip
port for mei, a formatter for magneto-optical disk.
comes with magneto-optical disk ejection tool (moe).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mei/Makefile31
-rw-r--r--sysutils/mei/distinfo2
-rw-r--r--sysutils/mei/files/patch-aa11
-rw-r--r--sysutils/mei/files/patch-ab67
-rw-r--r--sysutils/mei/pkg-comment1
-rw-r--r--sysutils/mei/pkg-descr17
-rw-r--r--sysutils/mei/pkg-plist11
7 files changed, 140 insertions, 0 deletions
diff --git a/sysutils/mei/Makefile b/sysutils/mei/Makefile
new file mode 100644
index 00000000000..da1e60fb41a
--- /dev/null
+++ b/sysutils/mei/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: mei
+# Version required: 1.53
+# Date created: 19 Sep 1997
+# Whom: itojun@itojun.org
+#
+# $Id$
+#
+
+DISTNAME= mei-1.53
+CATEGORIES= sysutils
+MASTER_SITES= http://www.vector.co.jp/authors/VA001240/archive/
+DISTFILES= mei153s.tgz mei153d.tgz
+
+MAINTAINER= itojun@itojun.org
+
+MAN1= mei.1 moe.1
+MANLANG= "" ja_JP.EUC
+
+NO_WRKSUBDIR= yes
+MAKEFILE= freebsd.mak
+MAKE_ENV+= INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
+ INSTALL_MAN="$(INSTALL_MAN)"
+INSTALL_TARGET= install install.man
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} -p ${PREFIX}/share/doc/mei
+ ${INSTALL_DATA} ${WRKSRC}/*txt ${PREFIX}/share/doc/mei
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/mei/distinfo b/sysutils/mei/distinfo
new file mode 100644
index 00000000000..91c486263bc
--- /dev/null
+++ b/sysutils/mei/distinfo
@@ -0,0 +1,2 @@
+MD5 (mei153s.tgz) = 1b066f6dd98c12c70910ee673192273f
+MD5 (mei153d.tgz) = 6b93d085eb053d95dc77adad2099f1a7
diff --git a/sysutils/mei/files/patch-aa b/sysutils/mei/files/patch-aa
new file mode 100644
index 00000000000..156c60d911a
--- /dev/null
+++ b/sysutils/mei/files/patch-aa
@@ -0,0 +1,11 @@
+--- freebsd.mak.orig Sun Sep 14 22:10:43 1997
++++ freebsd.mak Sun Sep 14 22:10:51 1997
+@@ -16,7 +16,7 @@
+ MANEXT = 1
+ RM = rm -f
+ CP = cp -f
+-INSTALL = cp -f
++#INSTALL = cp -f
+ KCC = nkf
+
+ SWITCHES = -DUSE_SCSI_WRITE -DNLS -USECURE
diff --git a/sysutils/mei/files/patch-ab b/sysutils/mei/files/patch-ab
new file mode 100644
index 00000000000..71e5d63cf4c
--- /dev/null
+++ b/sysutils/mei/files/patch-ab
@@ -0,0 +1,67 @@
+--- unix.mak.orig Sun Nov 24 01:39:24 1996
++++ unix.mak Sun Sep 14 22:17:10 1997
+@@ -42,48 +42,48 @@
+ sed -f msg.sed _en/moe.msg > m_moe.h
+
+ install: all
+- $(INSTALL) mei $(BINDIR)/mei
+- $(INSTALL) moe $(BINDIR)/moe
+- strip $(BINDIR)/mei
+- strip $(BINDIR)/moe
++ $(INSTALL_PROGRAM) mei $(BINDIR)/mei
++ $(INSTALL_PROGRAM) moe $(BINDIR)/moe
++# strip $(BINDIR)/mei
++# strip $(BINDIR)/moe
+
+ install.man: $(MAN_TARGETS)
+
+ install.en: $(LN_EN)/mei.$(MANEXT) $(LN_EN)/moe.$(MANEXT)
+- $(RM) $(MANDIR)/cat$(MANEXT)/mei.$(MANEXT)
+- $(RM) $(MANDIR)/cat$(MANEXT)/moe.$(MANEXT)
+- $(INSTALL) $(LN_EN)/mei.$(MANEXT) $(MANDIR)/man$(MANEXT)
+- $(INSTALL) $(LN_EN)/moe.$(MANEXT) $(MANDIR)/man$(MANEXT)
++# $(RM) $(MANDIR)/cat$(MANEXT)/mei.$(MANEXT)
++# $(RM) $(MANDIR)/cat$(MANEXT)/moe.$(MANEXT)
++ $(INSTALL_MAN) $(LN_EN)/mei.$(MANEXT) $(MANDIR)/man$(MANEXT)
++ $(INSTALL_MAN) $(LN_EN)/moe.$(MANEXT) $(MANDIR)/man$(MANEXT)
+
+ install.ja: $(LN_EUCJP)/mei.$(MANEXT) $(LN_EUCJP)/moe.$(MANEXT)
+- $(RM) $(MANDIR)/$(LN_EUCJP)/cat$(MANEXT)/mei.$(MANEXT)
+- $(RM) $(MANDIR)/$(LN_EUCJP)/cat$(MANEXT)/moe.$(MANEXT)
+- $(INSTALL) $(LN_EUCJP)/mei.$(MANEXT) $(MANDIR)/$(LN_EUCJP)/man$(MANEXT)
+- $(INSTALL) $(LN_EUCJP)/moe.$(MANEXT) $(MANDIR)/$(LN_EUCJP)/man$(MANEXT)
++# $(RM) $(MANDIR)/$(LN_EUCJP)/cat$(MANEXT)/mei.$(MANEXT)
++# $(RM) $(MANDIR)/$(LN_EUCJP)/cat$(MANEXT)/moe.$(MANEXT)
++ $(INSTALL_MAN) $(LN_EUCJP)/mei.$(MANEXT) $(MANDIR)/$(LN_EUCJP)/man$(MANEXT)
++ $(INSTALL_MAN) $(LN_EUCJP)/moe.$(MANEXT) $(MANDIR)/$(LN_EUCJP)/man$(MANEXT)
+
+ $(LN_EN)/mei.$(MANEXT): _en/mei.src
+- -mkdir $(LN_EN)
++ [ -d $(LN_EN) ] || mkdir $(LN_EN)
+ LANG=$(LN_EN); export LANG;\
+ cat _en/mei.src |\
+ $(CPP) $(MEI_MAN_DEFINES) -DDATE="`date +%x`" |\
+ egrep -v '^$$' > $(LN_EN)/mei.$(MANEXT)
+
+ $(LN_EUCJP)/mei.$(MANEXT): _ja/mei.src
+- -mkdir $(LN_EUCJP)
++ [ -d $(LN_EUCJP) ] || mkdir $(LN_EUCJP)
+ LANG=$(LN_EUCJP); export LANG;\
+ $(KCC) -e _ja/mei.src |\
+ $(CPP) $(MEI_MAN_DEFINES) -DDATE="`date +%x`" |\
+ egrep -v '^$$' > $(LN_EUCJP)/mei.$(MANEXT)
+
+ $(LN_EN)/moe.$(MANEXT): _en/moe.src
+- -mkdir $(LN_EN)
++ [ -d $(LN_EN) ] || mkdir $(LN_EN)
+ LANG=$(LN_EN); export LANG;\
+ cat _en/moe.src |\
+ $(CPP) $(MOE_MAN_DEFINES) -DDATE="`date +%x`" |\
+ egrep -v '^$$' > $(LN_EN)/moe.$(MANEXT)
+
+ $(LN_EUCJP)/moe.$(MANEXT): _ja/moe.src
+- -mkdir $(LN_EUCJP)
++ [ -d $(LN_EUCJP) ] || mkdir $(LN_EUCJP)
+ LANG=$(LN_EUCJP); export LANG;\
+ $(KCC) -e _ja/moe.src |\
+ $(CPP) $(MOE_MAN_DEFINES) -DDATE="`date +%x`" |\
diff --git a/sysutils/mei/pkg-comment b/sysutils/mei/pkg-comment
new file mode 100644
index 00000000000..e877eac724c
--- /dev/null
+++ b/sysutils/mei/pkg-comment
@@ -0,0 +1 @@
+formats magneto-optical disk for MS-DOS FAT filesystem.
diff --git a/sysutils/mei/pkg-descr b/sysutils/mei/pkg-descr
new file mode 100644
index 00000000000..633d9f2749e
--- /dev/null
+++ b/sysutils/mei/pkg-descr
@@ -0,0 +1,17 @@
+NAME
+ mei - initialize 3.5" magneto-optical disk medium
+
+SYNOPSIS
+ mei [-isucvqh] [-n x] [-b boot-file] [-d SCSI-device] [-l
+ volume-label]
+
+DESCRIPTION
+ mei formats 3.5" magneto-optical (MO) disk for MS-DOS file
+ system.
+
+ Supported medium types are 128MB, 230MB, 540MB and 640MB.
+ Supported format types are IBM standard format and semi-
+ IBM format of super-floppy formats. Below are statistics
+ of each medium and format.
+
+comes with magneto-optical disk ejection tool, "moe".
diff --git a/sysutils/mei/pkg-plist b/sysutils/mei/pkg-plist
new file mode 100644
index 00000000000..26141aaee04
--- /dev/null
+++ b/sysutils/mei/pkg-plist
@@ -0,0 +1,11 @@
+bin/mei
+bin/moe
+man/man1/mei.1.gz
+man/man1/moe.1.gz
+ja_JP.EUC/man1/mei.1.gz
+ja_JP.EUC/man1/moe.1.gz
+share/doc/mei/mdt.txt
+share/doc/mei/mospec.txt
+share/doc/mei/msdos.txt
+share/doc/mei/readme.txt
+share/doc/mei/unix.txt