diff options
-rw-r--r-- | japanese/xjman/Makefile | 66 | ||||
-rw-r--r-- | japanese/xjman/files/COPYRIGHT | 396 | ||||
-rw-r--r-- | japanese/xjman/files/COPYRIGHT.XJDP | 27 | ||||
-rw-r--r-- | japanese/xjman/files/Makefile | 7 | ||||
-rw-r--r-- | japanese/xjman/files/Makefile.inc | 23 | ||||
-rw-r--r-- | japanese/xjman/files/md5 | 1 | ||||
-rw-r--r-- | japanese/xjman/pkg/COMMENT | 1 | ||||
-rw-r--r-- | japanese/xjman/pkg/DESCR | 15 | ||||
-rw-r--r-- | japanese/xjman/pkg/MESSAGE | 8 | ||||
-rw-r--r-- | japanese/xjman/pkg/PLIST | 1 | ||||
-rw-r--r-- | japanese/xjman/scripts/configure | 47 |
11 files changed, 592 insertions, 0 deletions
diff --git a/japanese/xjman/Makefile b/japanese/xjman/Makefile new file mode 100644 index 00000000000..948168dd810 --- /dev/null +++ b/japanese/xjman/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: X Japanese man documents +# Version required: 0.4 +# Date created: 24 Dec 1998 +# Based on: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>'s +# japanese/man-doc +# Whom: SADA Kenji <sada@FreeBSD.org> +# +# $FreeBSD: ports/japanese/xjman/Makefile,v 1.10 1999/10/30 15:34:24 sada Exp $ +# + +DISTNAME= xjman-0.4 +PKGNAME= ja-${DISTNAME} +CATEGORIES= japanese +MASTER_SITES= ${MASTER_SITE_PORTS_JP} \ + http://xjman.dsl.gr.jp/ + +MAINTAINER= sada@FreeBSD.org + +NO_MTREE= yes +PLIST= ${WRKDIR}/PLIST +USE_BZIP2= yes +WRKSRC= ${WRKDIR}/man/ja_JP.ujis +SCRIPTS_ENV+= MANSECS="${MANSECS}" + +MANSECS= 1 3 5 + +post-extract: +.for i in Makefile Makefile.inc + @${CP} ${FILESDIR}/$i ${WRKSRC} +.endfor + +post-build: + @${RM} -f ${PLIST} + @for sec in ${MANSECS}; do \ + if [ -d ${WRKSRC}/man$${sec} ]; then \ + cd ${WRKSRC}/man$${sec}; \ + list=`${MAKE} pages-list`; \ + set `${ECHO} $$list " "|${SED} 's/\.\([0-9]\)x /.\1x \1 /g'`; \ + while : ; do \ + case $$# in \ + 0) break;; \ + [1]) ${ECHO} "can not happen"; break;; \ + esac; \ + ${ECHO} man/ja/man$$2/$$1.gz; shift 2; \ + done; \ + fi; \ + done|sort|uniq >>${PLIST} + @${ECHO} "@exec ${LN} -sf %D/man/ja %D/man/ja_JP.EUC" >>${PLIST} + @${ECHO} "@unexec ${RM} -f %D/man/ja_JP.EUC" >>${PLIST} + @${ECHO} "share/doc/xjman/COPYRIGHT" >>${PLIST} + @${ECHO} "share/doc/xjman/COPYRIGHT.XJDP" >>${PLIST} + @${ECHO} "@dirrm share/doc/xjman" >>${PLIST} + +pre-install: +.for sec in ${MANSECS} + @${MKDIR} ${PREFIX}/man/ja/man${sec} +.endfor + +post-install: + @${MKDIR} ${PREFIX}/share/doc/xjman +.for i in COPYRIGHT COPYRIGHT.XJDP + @${INSTALL_DATA} ${FILESDIR}/$i ${PREFIX}/share/doc/xjman/ +.endfor + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> diff --git a/japanese/xjman/files/COPYRIGHT b/japanese/xjman/files/COPYRIGHT new file mode 100644 index 00000000000..9c0a7f19e6b --- /dev/null +++ b/japanese/xjman/files/COPYRIGHT @@ -0,0 +1,396 @@ + + + + + + + + + + Copyright + + The XFree86 Project, Inc. + + + +1. XFree86 Copyright + +XFree86 code without an explicit copyright is covered by the following copy- +right: + +Copyright (C) 1994-1998 The XFree86 Project, Inc. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- +NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the XFree86 Project shall not +be used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from the XFree86 Project. + + +2. Other Copyrights + +Portions of code are covered by the following copyrights: + +2.1 X Consortium + +Copyright (C) 1996 X Consortium + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + + +Copyright 1 + + + + + +Copyright 2 + + + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- +NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X +CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of the X Consortium shall not be +used in advertising or otherwise to promote the sale, use or other dealings in +this Software without prior written authorization from the X Consortium. + +X Window System is a trademark of X Consortium, Inc. + +2.2 Berkeley-based copyrights: + +2.2.1 General + +Redistribution and use in source and binary forms, with or without modifica- +tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- +CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM- +PLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTER- +RUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY +WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +2.2.2 UCB/LBL + +Copyright (c) 1993 The Regents of the University of California. All rights +reserved. + +This software was developed by the Computer Systems Engineering group at +Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and contributed to +Berkeley. + +All advertising materials mentioning features or use of this software must dis- +play the following acknowledgement: This product includes software developed by +the University of California, Lawrence Berkeley Laboratory. + + + + + + + + + +Copyright 3 + + + +Redistribution and use in source and binary forms, with or without modifica- +tion, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: This product includes soft- + ware developed by the University of California, Berkeley and its contrib- + utors. + + 4. Neither the name of the University nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR- +RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDI- +RECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIA- +BILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + +2.3 NVidia Corp + +Copyright (c) 1996-1998 NVIDIA, Corp. All rights reserved. + +NOTICE TO USER: The source code is copyrighted under U.S. and international +laws. NVIDIA, Corp. of Sunnyvale, California owns the copyright and as design +patents pending on the design and interface of the NV chips. Users and posses- +sors of this source code are hereby granted a nonexclusive, royalty-free copy- +right and design patent license to use this code in individual and commercial +software. + +Any use of this source code must include, in the user documentation and inter- +nal comments to the code, notices to the end user as follows: + +Copyright (c) 1996-1998 NVIDIA, Corp. NVIDIA design patents pending in the +U.S. and foreign countries. + +NVIDIA, CORP. MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE +CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WAR- +RANTY OF ANY KIND. NVIDIA, CORP. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA, CORP. BE LIABLE FOR ANY +SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSO- +EVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + + + + + + + + +Copyright 4 + + + +CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +WITH THE USE OR PERFORMANCE OF THIS SOURCE CODE. + + Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/CPYRIGHT.sgml,v 3.9.2.2 1998/01/24 11:55:06 dawes Exp $ + + + + + + $XConsortium: CPYRIGHT.sgml /main/5 1996/10/25 16:24:53 kaleb $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Copyright 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CONTENTS + + + +1. XFree86 Copyright ........................................................ 1 + +2. Other Copyrights ......................................................... 1 + 2.1 X Consortium ......................................................... 1 + 2.2 Berkeley-based copyrights: ........................................... 2 + 2.3 NVidia Corp .......................................................... 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + i + + diff --git a/japanese/xjman/files/COPYRIGHT.XJDP b/japanese/xjman/files/COPYRIGHT.XJDP new file mode 100644 index 00000000000..813cddc1d12 --- /dev/null +++ b/japanese/xjman/files/COPYRIGHT.XJDP @@ -0,0 +1,27 @@ +Copyright (c),A 1998-1999 The X Japanese Documentation Project. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, dis- +tribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the fol- +lowing conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- +ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE X JAPANESE DOCUMENTATION PROJECT BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The X Japanese +Documentation Project shall not be used in advertising or otherwise to +promote the sale, use or other dealings in this Software without prior +written authorization from The X Japanese Documentation Project. + +X Window System is a trademark of The Open Group. diff --git a/japanese/xjman/files/Makefile b/japanese/xjman/files/Makefile new file mode 100644 index 00000000000..4bb9b19b920 --- /dev/null +++ b/japanese/xjman/files/Makefile @@ -0,0 +1,7 @@ +BINDIR= ${PREFIX} +SUBDIR= man1 man3 man5 + +makedb: + LANG=ja_JP.EUC jmakewhatis ${DESTDIR}${BINDIR}/man/ja/ + +.include <bsd.subdir.mk> diff --git a/japanese/xjman/files/Makefile.inc b/japanese/xjman/files/Makefile.inc new file mode 100644 index 00000000000..25a10387c55 --- /dev/null +++ b/japanese/xjman/files/Makefile.inc @@ -0,0 +1,23 @@ +PREFIX?= /usr/local +MANDIR= ${PREFIX}/man/ja/man +MROFF_CMD= /usr/local/bin/groff -Tnippon -man + +NOMLINKS= yes + +afterinstall: +.if defined(MLINKS) && !empty(MLINKS) + @set `echo ${MLINKS} " " | sed 's/\.\([^.]\)\([^.]*\) /.\1\2 \1 /g'`; \ + while : ; do \ + case $$# in \ + 0) break;; \ + [123]) echo "warn: empty MLINK: $$1 $$2 $$3"; break;; \ + esac; \ + name=$$1; shift; sect=$$1; shift; \ + l=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \ + name=$$1; shift; sect=$$1; shift; \ + t=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \ + ${ECHO} $${t}${ZEXT} -\> $${l}${ZEXT}; \ + rm -f $${t} $${t}${MCOMPRESS_EXT}; \ + ln $${l}${ZEXT} $${t}${ZEXT}; \ + done +.endif diff --git a/japanese/xjman/files/md5 b/japanese/xjman/files/md5 new file mode 100644 index 00000000000..1b536d7b976 --- /dev/null +++ b/japanese/xjman/files/md5 @@ -0,0 +1 @@ +MD5 (xjman-0.4.tar.bz2) = f78128dd9a31bc67dad4f0cd5d35fee9 diff --git a/japanese/xjman/pkg/COMMENT b/japanese/xjman/pkg/COMMENT new file mode 100644 index 00000000000..b6eb1a2acd4 --- /dev/null +++ b/japanese/xjman/pkg/COMMENT @@ -0,0 +1 @@ +Japanized X manual from "The X Japanese Documentation Project" diff --git a/japanese/xjman/pkg/DESCR b/japanese/xjman/pkg/DESCR new file mode 100644 index 00000000000..69ccd407d1d --- /dev/null +++ b/japanese/xjman/pkg/DESCR @@ -0,0 +1,15 @@ +Japanized X manual, presented by "The X Japanese Documentation Project". + +Copyright (c) 1993 The Regents of the University of California. +All rights reserved. +Copyright (c) 1998-1999 The X Japanese Documentation Project. + +This product includes software developed by +the University of California, Lawrence Berkeley Laboratory. + +X Japanese Documentation Project <URL:http://xjman.dsl.gr.jp/> +X Free86(TM): Home Page <URL:http://www.xfree86.org/> +The X Window System <URL:http://www.x.org/> + +- SADA Kenji +sada@FreeBSD.ORG diff --git a/japanese/xjman/pkg/MESSAGE b/japanese/xjman/pkg/MESSAGE new file mode 100644 index 00000000000..d05a06213d0 --- /dev/null +++ b/japanese/xjman/pkg/MESSAGE @@ -0,0 +1,8 @@ +Copyright (c) 1993 The Regents of the University of California. +All rights reserved. +Copyright (c) 1998-1999 The X Japanese Documentation Project. +-- +This product includes software developed by +the University of California, Lawrence Berkeley Laboratory. +-- +Refer to the documentations at `/usr/local/share/doc/xjman/'. diff --git a/japanese/xjman/pkg/PLIST b/japanese/xjman/pkg/PLIST new file mode 100644 index 00000000000..9e2d4e55b57 --- /dev/null +++ b/japanese/xjman/pkg/PLIST @@ -0,0 +1 @@ +@comment diff --git a/japanese/xjman/scripts/configure b/japanese/xjman/scripts/configure new file mode 100644 index 00000000000..eb66aa64523 --- /dev/null +++ b/japanese/xjman/scripts/configure @@ -0,0 +1,47 @@ +exec /usr/bin/perl -Sx "$0" ${1+"$@"} +#! perl + +$WRKSRC = $ENV{'WRKSRC'}; +@MANSECS = split(/\s+/, $ENV{'MANSECS'}); + +for $sec (@MANSECS) { + print "===> Creating Makefile in man${sec}\n"; + + chdir "$WRKSRC/man$sec"; + @manpages = (); + @mlinks = (); + + for $manpage (<*.${sec}x>) { + open(F, $manpage) || die "cannot open $manpage: $!\n"; + $_ = <F>; + chop; + close(F); + if (/^\.so /) { + ($real = $') =~ s!^man./!!; + push(@mlinks, "$real\t$manpage"); + } + else { + push(@manpages, $manpage); + } + } + + open(MAKEFILE, '>Makefile'); + + if (@manpages) { + print MAKEFILE join("\t\\\n\t", "MAN${sec} =", sort @manpages); + print MAKEFILE "\n\n"; + } + if (@mlinks) { + print MAKEFILE join("\t\\\n\t", "MLINKS =", sort @mlinks); + print MAKEFILE "\n\n"; + } + + print MAKEFILE <<EOF; +pages-list: + @\${ECHO} \${MAN${sec}} \${MLINKS} + +.include <bsd.prog.mk> +EOF + + close(MAKEFILE); +} |