aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/slrn/Makefile45
-rw-r--r--japanese/slrn/distinfo3
-rw-r--r--japanese/slrn/files/patch-aa21
-rw-r--r--japanese/slrn/pkg-comment1
-rw-r--r--japanese/slrn/pkg-descr2
-rw-r--r--japanese/slrn/pkg-plist43
6 files changed, 115 insertions, 0 deletions
diff --git a/japanese/slrn/Makefile b/japanese/slrn/Makefile
new file mode 100644
index 000000000000..9b6fac9f5e30
--- /dev/null
+++ b/japanese/slrn/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: ja-slrn
+# Version required: 0.9.5.2
+# Date created: 26 Jun 1998
+# Whom: Takashi Mega <mega@minz.org>
+#
+# $Id$
+
+DISTNAME= slrn0.9.5.2
+PKGNAME= ja-slrn-0.9.5.2
+CATEGORIES= japanese news
+MASTER_SITES= http://master.debian.or.jp/~kikutani/slang/
+DISTFILES= slrn0.9.5.2.tar.gz slrn-doc-j0.9.5.2-0.tar.gz
+
+PATCH_SITES= http://master.debian.or.jp/~kikutani/slang/
+PATCHFILES= slrn0.9.5.2jp0.pat.gz
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= mega@minz.org
+
+LIB_DEPENDS= slang\\.1\\.:${PORTSDIR}/japanese/libslang
+
+WRKSRC= ${WRKDIR}/slrn
+JDOCSRC= ${WRKDIR}/slrn-doc-j0.9.5.2-0
+HAS_CONFIGURE= yes
+ALL_TARGET= all slrnpull
+MANLANG= ja
+MAN1= slrn.1
+
+do-build:
+ @(cd ${WRKSRC}/src; make ${ALL_TARGET})
+
+do-install:
+ ${ECHO} "installing slrn and slrnpull in ${PREFIX}/bin"
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/objs/slrn ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/objs/slrnpull ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/objs/chkslang ${PREFIX}/bin
+ ${ECHO} "installing documents files in ${PREFIX}/share/doc/slrn"
+ ${CP} -r ${WRKSRC}/doc ${PREFIX}/share/doc/slrn
+ ${CP} -r ${WRKSRC}/slrnpull ${PREFIX}/share/doc/slrnpull
+ ${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1
+ ${GZIP_CMD} ${PREFIX}/man/man1/slrn.1
+ ${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
+ ${CP} -r ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja
+
+.include <bsd.port.mk>
diff --git a/japanese/slrn/distinfo b/japanese/slrn/distinfo
new file mode 100644
index 000000000000..fd3a45bc4507
--- /dev/null
+++ b/japanese/slrn/distinfo
@@ -0,0 +1,3 @@
+MD5 (slrn0.9.5.2.tar.gz) = 64430abf77b5d82dc8fdc07199014e56
+MD5 (slrn-doc-j0.9.5.2-0.tar.gz) = ff85e21002edb9f3808e777509720c56
+MD5 (slrn0.9.5.2jp0.pat.gz) = 383e09e5ff197bae43cae57082c28627
diff --git a/japanese/slrn/files/patch-aa b/japanese/slrn/files/patch-aa
new file mode 100644
index 000000000000..3dae290b6e4b
--- /dev/null
+++ b/japanese/slrn/files/patch-aa
@@ -0,0 +1,21 @@
+*** src/slrnfeat.h.orig Fri Jun 26 17:49:39 1998
+--- src/slrnfeat.h Fri Jun 26 17:50:16 1998
+***************
+*** 217,224 ****
+ #define SLRN_TZ_TM_ZONE 2 /* timezone set in tm_zone of struct tm */
+ #define SLRN_TZ_TIMEZONE 3 /* timezone() */
+ /* choose one from listed above */
+! #define SLRN_TZ_TYPE SLRN_TZ_TZNAME
+! /* #define SLRN_TZ_TYPE SLRN_TZ_TM_ZONE */
+ #define KANJI
+ #ifdef SLRNPULL_CODE
+ #undef KANJI
+--- 217,224 ----
+ #define SLRN_TZ_TM_ZONE 2 /* timezone set in tm_zone of struct tm */
+ #define SLRN_TZ_TIMEZONE 3 /* timezone() */
+ /* choose one from listed above */
+! /* #define SLRN_TZ_TYPE SLRN_TZ_TZNAME */
+! #define SLRN_TZ_TYPE SLRN_TZ_TM_ZONE
+ #define KANJI
+ #ifdef SLRNPULL_CODE
+ #undef KANJI
diff --git a/japanese/slrn/pkg-comment b/japanese/slrn/pkg-comment
new file mode 100644
index 000000000000..12d235eae9c6
--- /dev/null
+++ b/japanese/slrn/pkg-comment
@@ -0,0 +1 @@
+A newsreader based by S-Lang
diff --git a/japanese/slrn/pkg-descr b/japanese/slrn/pkg-descr
new file mode 100644
index 000000000000..c05c2a8a80bc
--- /dev/null
+++ b/japanese/slrn/pkg-descr
@@ -0,0 +1,2 @@
+Slrn is an easy to use but powerful NNTP based newsreader. It relies on the
+S-Lang programmer's library.
diff --git a/japanese/slrn/pkg-plist b/japanese/slrn/pkg-plist
new file mode 100644
index 000000000000..82d0035dde24
--- /dev/null
+++ b/japanese/slrn/pkg-plist
@@ -0,0 +1,43 @@
+bin/chkslang
+bin/slrn
+bin/slrnpull
+man/ja/man1/slrn.1.gz
+man/man1/slrn.1.gz
+share/doc/slrn/FAQ
+share/doc/slrn/INSTALL
+share/doc/slrn/README.GroupLens
+share/doc/slrn/README.macros
+share/doc/slrn/README.os2
+share/doc/slrn/README.vms
+share/doc/slrn/README.w95
+share/doc/slrn/SCORE_FAQ
+share/doc/slrn/VMS-SLRN.HLP
+share/doc/slrn/help.txt
+share/doc/slrn/pc-keys.txt
+share/doc/slrn/score.sl
+share/doc/slrn/score.txt
+share/doc/slrn/slrn.1
+share/doc/slrn/slrn.rc
+share/doc/slrn/slrn.sl
+share/doc/slrn/ja/BUG.euc
+share/doc/slrn/ja/README.euc
+share/doc/slrn/ja/README.macros.euc
+share/doc/slrn/ja/README.slrnpull.euc
+share/doc/slrn/ja/SCORE_FAQ.euc
+share/doc/slrn/ja/TODO.euc
+share/doc/slrn/ja/WhatsNew.euc
+share/doc/slrn/ja/changes.euc
+share/doc/slrn/ja/jslrn.rc
+share/doc/slrn/ja/kon.terminfo
+share/doc/slrn/ja/score.euc
+share/doc/slrn/ja/slrn.1
+share/doc/slrnpull/FAQ
+share/doc/slrnpull/QUICK_INSTALL
+share/doc/slrnpull/README
+share/doc/slrnpull/score
+share/doc/slrnpull/slrn.rc
+share/doc/slrnpull/slrnpull.conf
+share/doc/slrnpull/slrnpull.sh
+@dirrm share/doc/slrn/ja
+@dirrm share/doc/slrn
+@dirrm share/doc/slrnpull