1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

port for mei, a formatter for magneto-optical disk.

comes with magneto-optical disk ejection tool (moe).
This commit is contained in:
Jun-ichiro itojun Hagino 1997-09-19 02:13:54 +00:00
parent b507bce77e
commit 72ce59fa52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7953
7 changed files with 140 additions and 0 deletions

31
sysutils/mei/Makefile Normal file
View File

@ -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>

2
sysutils/mei/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (mei153s.tgz) = 1b066f6dd98c12c70910ee673192273f
MD5 (mei153d.tgz) = 6b93d085eb053d95dc77adad2099f1a7

View File

@ -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

View File

@ -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`" |\

1
sysutils/mei/pkg-comment Normal file
View File

@ -0,0 +1 @@
formats magneto-optical disk for MS-DOS FAT filesystem.

17
sysutils/mei/pkg-descr Normal file
View File

@ -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".

11
sysutils/mei/pkg-plist Normal file
View File

@ -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