summaryrefslogtreecommitdiff
path: root/japanese/mh
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-08-02 04:26:49 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-08-02 04:26:49 +0000
commit59e8a47afb69ef8b2121d4696126c676d5b4be61 (patch)
treed6f8e31f0f485ab5af33e01858aaae4d36274965 /japanese/mh
parent7e98d76b617ccc32c2b28318ffa1bc082a7a8cc1 (diff)
downloadpkgsrc-59e8a47afb69ef8b2121d4696126c676d5b4be61.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'japanese/mh')
-rw-r--r--japanese/mh/Makefile34
-rw-r--r--japanese/mh/files/md52
-rw-r--r--japanese/mh/files/patch-sum4
-rw-r--r--japanese/mh/patches/patch-aa12
-rw-r--r--japanese/mh/patches/patch-ab93
-rw-r--r--japanese/mh/pkg/PLIST124
6 files changed, 208 insertions, 61 deletions
diff --git a/japanese/mh/Makefile b/japanese/mh/Makefile
index 96917c4a675..8857b25fd6f 100644
--- a/japanese/mh/Makefile
+++ b/japanese/mh/Makefile
@@ -1,10 +1,5 @@
-# New ports collection makefile for: mh (Japanese)
-# Version required: 6.8.4
-# Date created: 28 March 1995
-# Whom: Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
-#
-# $Id: Makefile,v 1.1.1.1 1999/08/02 04:21:10 sakamoto Exp $
-#
+# $NetBSD: Makefile,v 1.2 1999/08/02 04:26:49 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.13 1999/02/10 18:13:21 motoyuki Exp $
DISTNAME= mh-6.8.4-JP-3.02
PKGNAME= ja-mh-6.8.4
@@ -13,26 +8,17 @@ MASTER_SITES= ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ \
ftp://komadori.planet.sci.kobe-u.ac.jp/pub/MH/ \
ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/
-MAINTAINER= motoyuki@freebsd.org
+MAINTAINER= teck-pkg-ja@jp.netbsd.org
-BUILD_DEPENDS= jless:${PORTSDIR}/japanese/less
-RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
+DEPENDS= ja-less-332:../../japanese/less
+CONFLICTS= nmh-*
+
+MANCOMPRESSED= YES
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-batchmode \
+ --libexecdir=${PREFIX}/libexec/mh \
+ --enable-jmandir=${PREFIX}/man/ja_JP.EUC \
--enable-apop=${PREFIX}/etc/pop.auth --enable-rpop
-MAN1= ali.1 anno.1 bbc.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 mark.1 \
- mh-chart.1 mh.1 mhl.1 mhmail.1 mhn.1 mhook.1 mhparam.1 mhpath.1 \
- msgchk.1 msh.1 next.1 packf.1 pgped.1 pick.1 prev.1 prompter.1 rcvstore.1 \
- refile.1 repl.1 rmf.1 rmm.1 scan.1 send.1 show.1 slocal.1 sortm.1 \
- vmh.1 whatnow.1 whom.1
-MAN5= mh-alias.5 mh-format.5 mh-mail.5 mh-profile.5 mh-sequence.5 mh-tailor.5
-MAN8= ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 post.8
-MANLANG= "" ja
-MANCOMPRESSED= yes
-
-post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
-
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/mh/files/md5 b/japanese/mh/files/md5
index ff54cbfb1be..558ff143e01 100644
--- a/japanese/mh/files/md5
+++ b/japanese/mh/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1999/08/02 04:26:49 sakamoto Exp $
+
MD5 (mh-6.8.4-JP-3.02.tar.gz) = 59f3d742f465fd070f43b2e638219e1c
diff --git a/japanese/mh/files/patch-sum b/japanese/mh/files/patch-sum
new file mode 100644
index 00000000000..a07f7485c89
--- /dev/null
+++ b/japanese/mh/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1 1999/08/02 04:26:49 sakamoto Exp $
+
+MD5 (patch-aa) = 47ef5d83a108be0b82f4af9d9dfba57c
+MD5 (patch-ab) = 14baa2add5590eaa6eec13105451e55b
diff --git a/japanese/mh/patches/patch-aa b/japanese/mh/patches/patch-aa
new file mode 100644
index 00000000000..5513514bbb2
--- /dev/null
+++ b/japanese/mh/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 1999/08/02 04:26:50 sakamoto Exp $
+
+--- sbr/advertise.c- Tue May 18 03:29:44 1999
++++ sbr/advertise.c Tue May 18 03:30:08 1999
+@@ -5,6 +5,7 @@
+
+ #include "../h/mh.h"
+ #include <stdio.h>
++#include <errno.h>
+ #if defined(BSD42) || defined(SVR4)
+ #include <sys/types.h>
+ #include <sys/uio.h>
diff --git a/japanese/mh/patches/patch-ab b/japanese/mh/patches/patch-ab
new file mode 100644
index 00000000000..d95011b845a
--- /dev/null
+++ b/japanese/mh/patches/patch-ab
@@ -0,0 +1,93 @@
+$NetBSD: patch-ab,v 1.1 1999/08/02 04:26:50 sakamoto Exp $
+
+--- sbr/advertise.c- Thu May 20 01:53:16 1999
++++ sbr/advertise.c Thu May 20 01:53:43 1999
+@@ -22,7 +22,7 @@
+ extern char *sys_errlist[];
+ #endif
+ #ifdef __NetBSD__ /* XXX */
+-#include <sys/errno.h>
++#include <errno.h>
+ #endif
+
+ /* */
+--- uip/ftpsbr.c- Thu May 20 01:53:16 1999
++++ uip/ftpsbr.c Thu May 20 01:53:49 1999
+@@ -72,7 +72,7 @@
+ extern char *sys_errlist[];
+ #endif
+ #ifdef __NetBSD__ /* XXX */
+-#include <sys/errno.h>
++#include <errno.h>
+ #endif
+
+
+--- uip/mhn.c- Thu May 20 01:53:16 1999
++++ uip/mhn.c Thu May 20 01:54:00 1999
+@@ -221,6 +221,9 @@
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
++#ifdef __NetBSD__
++#include <errno.h>
++#endif
+
+ off_t lseek ();
+ time_t time ();
+--- uip/popsbr.c- Thu May 20 01:53:16 1999
++++ uip/popsbr.c Thu May 20 01:54:04 1999
+@@ -33,7 +33,7 @@
+ extern char *sys_errlist[];
+ #endif
+ #ifdef __NetBSD__ /* XXX */
+-#include <sys/errno.h>
++#include <errno.h>
+ #endif
+
+ static int poprint = 0;
+--- uip/pshsbr.c- Thu May 20 01:53:16 1999
++++ uip/pshsbr.c Thu May 20 01:54:04 1999
+@@ -33,7 +33,7 @@
+ extern char *sys_errlist[];
+ #endif
+ #ifdef __NetBSD__ /* XXX */
+-#include <sys/errno.h>
++#include <errno.h>
+ #endif
+
+ static int poprint = 0;
+--- uip/vmh.c- Thu May 20 01:53:16 1999
++++ uip/vmh.c Thu May 20 01:54:23 1999
+@@ -221,6 +221,9 @@
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
++#ifdef __NetBSD__
++#include <errno.h>
++#endif
+
+ static void adorn ();
+
+--- uip/vmhsbr.c- Thu May 20 01:53:16 1999
++++ uip/vmhsbr.c Thu May 20 01:54:28 1999
+@@ -31,7 +31,7 @@
+ extern char *sys_errlist[];
+ #endif
+ #ifdef __NetBSD__ /* XXX */
+-#include <sys/errno.h>
++#include <errno.h>
+ #endif
+
+ static int rclose();
+--- uip/wmh.c- Thu May 20 01:53:16 1999
++++ uip/wmh.c Thu May 20 01:54:40 1999
+@@ -148,6 +148,9 @@
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ #endif
++#ifdef __NetBSD__
++#include <errno.h>
++#endif
+
+ void adorn ();
+
diff --git a/japanese/mh/pkg/PLIST b/japanese/mh/pkg/PLIST
index 24f4cda9882..ba08f8e895c 100644
--- a/japanese/mh/pkg/PLIST
+++ b/japanese/mh/pkg/PLIST
@@ -1,3 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 1999/08/02 04:26:50 sakamoto Exp $
bin/ali
bin/anno
bin/bbc
@@ -33,41 +34,90 @@ bin/sortm
bin/vmh
bin/whatnow
bin/whom
-lib/mh/MailAliases
-lib/mh/ap
-lib/mh/components
-lib/mh/conflict
-lib/mh/digestcomps
-lib/mh/distcomps
-lib/mh/dp
-lib/mh/fmtdump
-lib/mh/forwcomps
-lib/mh/install-mh
-lib/mh/mhl
-lib/mh/mhl.body
-lib/mh/mhl.digest
-lib/mh/mhl.format
-lib/mh/mhl.forward
-lib/mh/mhl.headers
-lib/mh/mhn_defaults
-lib/mh/mtstailor
-lib/mh/packmbox
-lib/mh/post
-lib/mh/rcvdist
-lib/mh/rcvdistcomps
-lib/mh/rcvpack
-lib/mh/rcvstore
-lib/mh/rcvtty
-lib/mh/replcomps
-lib/mh/scan.default
-lib/mh/scan.mailx
-lib/mh/scan.size
-lib/mh/scan.time
-lib/mh/scan.timely
-lib/mh/slocal
-lib/mh/spost
-lib/mh/tmac.h
-lib/mh/viamail
+libexec/mh/MailAliases
+libexec/mh/ap
+libexec/mh/components
+libexec/mh/conflict
+libexec/mh/digestcomps
+libexec/mh/distcomps
+libexec/mh/dp
+libexec/mh/fmtdump
+libexec/mh/forwcomps
+libexec/mh/install-mh
+libexec/mh/mhl
+libexec/mh/mhl.body
+libexec/mh/mhl.digest
+libexec/mh/mhl.format
+libexec/mh/mhl.forward
+libexec/mh/mhl.headers
+libexec/mh/mhn_defaults
+libexec/mh/mtstailor
+libexec/mh/packmbox
+libexec/mh/post
+libexec/mh/rcvdist
+libexec/mh/rcvdistcomps
+libexec/mh/rcvpack
+libexec/mh/rcvstore
+libexec/mh/rcvtty
+libexec/mh/replcomps
+libexec/mh/scan.default
+libexec/mh/scan.mailx
+libexec/mh/scan.size
+libexec/mh/scan.time
+libexec/mh/scan.timely
+libexec/mh/slocal
+libexec/mh/spost
+libexec/mh/tmac.h
+libexec/mh/viamail
lib/libmh.so.3.2
-@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
-@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+man/ja_JP.EUC/man1/ali.1
+man/ja_JP.EUC/man1/anno.1
+man/ja_JP.EUC/man1/bbc.1
+man/ja_JP.EUC/man1/burst.1
+man/ja_JP.EUC/man1/comp.1
+man/ja_JP.EUC/man1/dist.1
+man/ja_JP.EUC/man1/folder.1
+man/ja_JP.EUC/man1/forw.1
+man/ja_JP.EUC/man1/inc.1
+man/ja_JP.EUC/man1/mark.1
+man/ja_JP.EUC/man1/mh-chart.1
+man/ja_JP.EUC/man1/mh.1
+man/ja_JP.EUC/man1/mhl.1
+man/ja_JP.EUC/man1/mhmail.1
+man/ja_JP.EUC/man1/mhn.1
+man/ja_JP.EUC/man1/mhook.1
+man/ja_JP.EUC/man1/mhparam.1
+man/ja_JP.EUC/man1/mhpath.1
+man/ja_JP.EUC/man1/msgchk.1
+man/ja_JP.EUC/man1/msh.1
+man/ja_JP.EUC/man1/next.1
+man/ja_JP.EUC/man1/packf.1
+man/ja_JP.EUC/man1/pgped.1
+man/ja_JP.EUC/man1/pick.1
+man/ja_JP.EUC/man1/prev.1
+man/ja_JP.EUC/man1/prompter.1
+man/ja_JP.EUC/man1/rcvstore.1
+man/ja_JP.EUC/man1/refile.1
+man/ja_JP.EUC/man1/repl.1
+man/ja_JP.EUC/man1/rmf.1
+man/ja_JP.EUC/man1/rmm.1
+man/ja_JP.EUC/man1/scan.1
+man/ja_JP.EUC/man1/send.1
+man/ja_JP.EUC/man1/show.1
+man/ja_JP.EUC/man1/slocal.1
+man/ja_JP.EUC/man1/sortm.1
+man/ja_JP.EUC/man1/vmh.1
+man/ja_JP.EUC/man1/whatnow.1
+man/ja_JP.EUC/man1/whom.1
+man/ja_JP.EUC/man5/mh-alias.5
+man/ja_JP.EUC/man5/mh-format.5
+man/ja_JP.EUC/man5/mh-mail.5
+man/ja_JP.EUC/man5/mh-profile.5
+man/ja_JP.EUC/man5/mh-sequence.5
+man/ja_JP.EUC/man5/mh-tailor.5
+man/ja_JP.EUC/man8/ap.8
+man/ja_JP.EUC/man8/conflict.8
+man/ja_JP.EUC/man8/dp.8
+man/ja_JP.EUC/man8/fmtdump.8
+man/ja_JP.EUC/man8/install-mh.8
+man/ja_JP.EUC/man8/post.8