Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 1997 16:50:03 +0900 (JST)
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5251: Update the port(ja-man-1.1e):japanese/man.
Message-ID:  <199712080750.QAA25117@kiri.toba-cmt.ac.jp>
Resent-Message-ID: <199712080800.AAA13725@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5251
>Category:       ports
>Synopsis:       Update the port(ja-man-1.1e):japanese/man.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec  8 00:00:02 PST 1997
>Last-Modified:
>Originator:     Kazuhiko Kiriyama
>Organization:
Toba National College of Maritime Technology.
                 Department of Electronic Mechanical Engineering
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:
>Description:
	I've updated the port(ja-man-1.1e):japanese/man.
	I put the diff from ports-current(japanese/man) in "Fix:".

>How-To-Repeat:
>Fix:
diff -aurN ../../current/japanese/man/Makefile ./Makefile
--- ../../current/japanese/man/Makefile	Wed Sep 17 14:34:02 1997
+++ ./Makefile	Sun Dec  7 22:13:38 1997
@@ -1,69 +1,35 @@
 # New ports collection makefile for:	jman - japanese man with EUC
-# Version required:	1.1c
+# Version required:	1.1e
 # Date created:		4 December 1996
 # Whom:			Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
 #
 # $Id: Makefile,v 1.13 1997/09/16 10:48:03 max Exp $
 #
 
-DISTNAME=	jp-man-1.1c
-PKGNAME=	ja-man-1.1c
+DISTNAME=	jp-man-1.1e
+PKGNAME=	ja-man-1.1e
 CATEGORIES=	japanese
 MASTER_SITES=	ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ \
+		http://www.jp.freebsd.org/~iwasaki/misc/ \
 		ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
+DISTFILES=	jp-man-1.1e.tar.gz jman.el
+EXTRACT_ONLY=	jp-man-1.1e.tar.gz
 
 MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
 
-#do not run-depend on mule because dependency will be pulled in to package
-#and we don't know which one the user wants
+BUILD_DEPENDS=	${PREFIX}/lib/mule/site-lisp:${PORTSDIR}/editors/mule-common
 RUN_DEPENDS=	${PREFIX}/bin/groff:${PORTSDIR}/japanese/groff \
-		jless:${PORTSDIR}/japanese/less
+		jless:${PORTSDIR}/japanese/less \
+		mule:${PORTSDIR}/editors/mule-common
 
-MANLANG=	ja_JP.EUC
-MAN1=		jcatman.1 jman.1 jmanpath.1 japropos.1 jwhatis.1 jmakewhatis.1
-MANCOMPRESSED=	yes
-JMANELDIR=	${PREFIX}/lib/mule/site-lisp/jman
+MAKE_ENV+=	GZCAT=${GZCAT} GZIP_CMD="${GZIP_CMD}"
 
-# XPG4LIBPATH specifies the path name of the xpg4 library.
-# The xpg4 library include setlocale() function and etc. for I18N,
-# when using EUC code(e.g. ja_JP.EUC). At version 2.1.5 of FreeBSD or older,
-# there isn't the xpg4 library in system, because include C library.
-# But 2.2.0 or newer, the set of code for xpg4 was removed from C library,
-# and included in new created xpg4 libray(/usr/lib/libxpg4*) .
-# If your system have xpg4 library(libxpg4*) in /usr/lib, this patch 
-# automatically apply to srource file. If your system have xpg4 library 
-# in other directory, you must define XPG4LIBPATH. And if you don't want to
-# use xpg4 library, you must define NOUSE_XPG4LIB. At default, you don't 
-# have to define XPG4LIBPATH and NOUSE_XPG4LIB.
-# See a make rule of target pre-patch for details.
-# 
-XPG4LIBPATH?=		/usr/lib
-
-pre-patch:
-	@${MKDIR} ${PATCHDIR}
-	@${RM} -f ${PATCHDIR}/patch-aa
-.if !defined(NOUSE_XPG4LIB)
-	@${SED} -e "s,%XPG4LIBPATH%,${XPG4LIBPATH},g" \
-		< ${FILESDIR}/patch-xpg4.tmpl > ${FILESDIR}/patch-xpg4
-	@(for libfile in ${XPG4LIBPATH}/libxpg4*; do \
-		if [ ! "$$libfile" = "" ]; then \
-			ln -sf ${FILESDIR}/patch-xpg4 \
-				${PATCHDIR}/patch-aa; \
-			break 1; \
-		fi; \
-	done)
-.else
-	@ln -sf ${FILESDIR}/patch-noxpg4 ${PATCHDIR}/patch-aa
-.endif
+JMANELDIR=	${PREFIX}/lib/mule/site-lisp/jman
 
 post-install:
 	@${MKDIR} ${JMANELDIR}
-	@${INSTALL_DATA} ${FILESDIR}/jman.el ${JMANELDIR}
+	@${INSTALL_DATA} ${DISTDIR}/jman.el ${JMANELDIR}
 	@${SETENV} CP=${CP} PKG_PREFIX=${PREFIX} \
 		${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-
-pre-clean:
-	@${RM} -f ${PATCHDIR}/patch-aa ${FILESDIR}/patch-xpg4
-	-@${RMDIR} ${PATCHDIR}
 
 .include <bsd.port.mk>
diff -aurN ../../current/japanese/man/files/jman.el ./files/jman.el
--- ../../current/japanese/man/files/jman.el	Sun Mar 30 11:57:18 1997
+++ ./files/jman.el	Thu Jan  1 09:00:00 1970
@@ -1,86 +0,0 @@
-;;; jman.el --- browse UNIX Japanese manual pages
-;;; $Id: jman.el,v 1.1 1997/03/30 02:57:18 max Exp $
-
-;;;  This file part of jman-1.1 - japanese man with EUC, 
-;;;  a GNU Emacs front end to the UNIX Japanese manual pages browsing.
-
-;;; Everyone is granted permission to copy, modify and redistribute
-;;; this program.
-
-;;; HISTORY
-;;;
-;;;	Written by Mitsuru IWASAKI 1 March, 1997
-;;;		jman, i18n-man, man (re-definition), 
-;;;		and some user variables for i18ned manual pages.
-;;;
-
-;;; Suggested USAGE
-;;;
-;;;  In your ~/.emacs
-;;;(autoload 'jman "jman" nil t)
-;;;  then
-;;;  M-x jman
-;;;    to get a Japanese manual page thru jman(1) and put it in a buffer.
-;;;
-;;;  M-x man
-;;;    to get an original manual page thru man(1) and put it in a buffer.
-;;;
-
-(require 'man)
-
-;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
-;; user variables
-
-(defvar i18n-manual-program "jman"
-  "The name of the i18ned program that produces man pages.")
-
-(defvar i18n-Man-heading-regexp "^\\([^ \t\n_][^0-9\n]+\\)$"
-  "*Regular expression describing a i18ned manpage heading entry.")
-
-(defvar i18n-Man-see-also-regexp "´ØÏ¢¹àÌÜ\\|SEE ALSO"
-  "*Regular expression for SEE ALSO heading (or your equivalent) of a i18ned mangage.
-This regexp should not start with a `^' character.")
-
-(defvar i18n-Man-first-heading-regexp "^[ \t]*̾¾Î$\\|^[ \t]*NAME$\\|^[ \t]*No manual entry fo.*"
-  "*Regular expression describing first heading on a i18ned manpage.
-This regular expression should start with a `^' character.")
-
-;; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-;; end user variables
-
-;; ======================================================================
-;; top level command and background process sentinel
-
-;;; This alias makes completion more predictable if ignoring case.
-;;;###autoload
-(defalias 'jman 'i18n-man)
-
-;; back some variables up
-(setq manual-program-orig manual-program)
-(setq Man-heading-regexp-orig Man-heading-regexp)
-(setq Man-see-also-regexp-orig Man-see-also-regexp)
-(setq Man-first-heading-regexp-orig Man-first-heading-regexp)
-
-(defun i18n-man (arg)
-  nil
-  (interactive "P")
-  (setq manual-program i18n-manual-program)
-  (setq Man-heading-regexp i18n-Man-heading-regexp)
-  (setq Man-see-also-regexp i18n-Man-see-also-regexp)
-  (setq Man-first-heading-regexp i18n-Man-first-heading-regexp)
-  (manual-entry arg))
-
-;;;###autoload
-(defun man (arg)
-  nil
-  (interactive "P")
-  (setq manual-program manual-program-orig)
-  (setq Man-heading-regexp Man-heading-regexp-orig)
-  (setq Man-see-also-regexp Man-see-also-regexp-orig)
-  (setq Man-first-heading-regexp Man-first-heading-regexp-orig)
-  (manual-entry arg))
-
-
-(provide 'jman)
-
-;;; jman.el ends here
diff -aurN ../../current/japanese/man/files/md5 ./files/md5
--- ../../current/japanese/man/files/md5	Mon Aug 25 12:32:55 1997
+++ ./files/md5	Mon Dec  8 16:38:57 1997
@@ -1 +1,2 @@
-MD5 (jp-man-1.1c.tar.gz) = 503186dbc9db87d78429447ecf49feef
+MD5 (jp-man-1.1e.tar.gz) = 549e4ed634afa20331b26aaaccb832a0
+MD5 (jman.el) = 962990c52c7ed68fafcab35a4fd01d51
diff -aurN ../../current/japanese/man/files/patch-noxpg4 ./files/patch-noxpg4
--- ../../current/japanese/man/files/patch-noxpg4	Tue May 20 13:27:35 1997
+++ ./files/patch-noxpg4	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- man/Makefile	Wed Dec 11 13:34:35 1996
-+++ man/Makefile	Fri Jan 10 00:25:15 1997
-@@ -9,7 +9,6 @@
- .else
- LDADD=  -L${.CURDIR}/../lib/ -lman
- .endif
--LDADD+= -lxpg4
- 
- .if exists(${.CURDIR}/obj)
- MAN1=   ${.CURDIR}/obj/jman.1
diff -aurN ../../current/japanese/man/files/patch-xpg4.tmpl ./files/patch-xpg4.tmpl
--- ../../current/japanese/man/files/patch-xpg4.tmpl	Tue May 20 13:27:35 1997
+++ ./files/patch-xpg4.tmpl	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- man/Makefile.org	Sat Jan 11 09:07:27 1997
-+++ man/Makefile	Sat Jan 11 09:04:32 1997
-@@ -9,7 +9,7 @@
- .else
- LDADD=  -L${.CURDIR}/../lib/ -lman
- .endif
--LDADD+= -lxpg4
-+LDADD+= -L%XPG4LIBPATH% -lxpg4
- 
- .if exists(${.CURDIR}/obj)
- MAN1=   ${.CURDIR}/obj/jman.1
diff -aurN ../../current/japanese/man/pkg/PLIST ./pkg/PLIST
--- ../../current/japanese/man/pkg/PLIST	Mon Mar 31 17:52:57 1997
+++ ./pkg/PLIST	Sun Dec  7 20:59:10 1997
@@ -1,14 +1,28 @@
-bin/jman
 bin/jmanpath
+@unexec chflags noschg %B/jman
+bin/jman
 bin/japropos
 bin/jwhatis
 bin/jmakewhatis
 bin/jcatman
-man/ja_JP.EUC/man1/jcatman.1.gz
+etc/manpath.config.sample
+libexec/jmakewhatis.local
+libexec/jcatman.local
+man/man1/jman.1.gz
+man/man1/jmanpath.1.gz
+man/man1/japropos.1.gz
+man/man1/jwhatis.1.gz
+man/man1/jmakewhatis.1.gz
+man/man1/jcatman.1.gz
+man/man8/jmakewhatis.local.8.gz
+man/man8/jcatman.local.8.gz
 man/ja_JP.EUC/man1/jman.1.gz
 man/ja_JP.EUC/man1/jmanpath.1.gz
 man/ja_JP.EUC/man1/japropos.1.gz
 man/ja_JP.EUC/man1/jwhatis.1.gz
 man/ja_JP.EUC/man1/jmakewhatis.1.gz
+man/ja_JP.EUC/man1/jcatman.1.gz
+man/ja_JP.EUC/man8/jmakewhatis.local.8.gz
+man/ja_JP.EUC/man8/jcatman.local.8.gz
 lib/mule/site-lisp/jman/jman.el
 @dirrm lib/mule/site-lisp/jman
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712080750.QAA25117>