From owner-freebsd-ports Wed Sep 16 15:51:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00520 for freebsd-ports-outgoing; Wed, 16 Sep 1998 15:51:22 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00371 for ; Wed, 16 Sep 1998 15:50:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA03053; Wed, 16 Sep 1998 15:50:01 -0700 (PDT) Received: from rr.iij4u.or.jp (h104.p060.iij4u.or.jp [210.130.60.104]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA29523 for ; Wed, 16 Sep 1998 15:45:34 -0700 (PDT) (envelope-from sada@rr.iij4u.or.jp) Received: (qmail 20136 invoked by uid 1000); 17 Sep 1998 07:45:11 +0900 Message-Id: <19980916224511.20135.qmail@sada.e-mail.ne.jp> Date: 17 Sep 1998 07:45:11 +0900 From: sada@e-mail.ne.jp Reply-To: sada@e-mail.ne.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7954: new port: japanese/FAQ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7954 >Category: ports >Synopsis: new port: japanese/FAQ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 16 15:50:00 PDT 1998 >Last-Modified: >Originator: SADA Kenji >Organization: Nagoya.Aichi.Japan >Release: FreeBSD 2.2.7-RELEASE i386 >Environment: FreeBSD 2.2.7-RELEASE i386 >Description: This is a port of japanese FAQ documentation. This would build html images from doc/ja/FAQ distribution. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # FAQ # FAQ/pkg # FAQ/pkg/COMMENT # FAQ/pkg/DESCR # FAQ/Makefile # FAQ/files # FAQ/files/md5 # echo c - FAQ mkdir -p FAQ > /dev/null 2>&1 echo c - FAQ/pkg mkdir -p FAQ/pkg > /dev/null 2>&1 echo x - FAQ/pkg/COMMENT sed 's/^X//' >FAQ/pkg/COMMENT << 'END-of-FAQ/pkg/COMMENT' XThe Japanese version of FreeBSD FAQ. END-of-FAQ/pkg/COMMENT echo x - FAQ/pkg/DESCR sed 's/^X//' >FAQ/pkg/DESCR << 'END-of-FAQ/pkg/DESCR' XThis is the Japanese FAQ. Note that to build it, you need the Xsource to be on your machine, in which case you can build and install Xit by just going to /usr/opt/doc/ja.EUC/FAQ and typing X"make all install". (It will also be built automatically if you have XDOC_LANG set to "ja" or have ALLLANG set to anything during a "make Xworld".) X XIn other words, this pretty useless as a port, but is here so I can Xbuild a package. X X(original DESCR file by) XSatoshi Xasami@freebsd.org END-of-FAQ/pkg/DESCR echo x - FAQ/Makefile sed 's/^X//' >FAQ/Makefile << 'END-of-FAQ/Makefile' X# New ports collection makefile for: Japanese FAQ X# Version required: 2.2 X# Date created: Sep 16 1998 X# Whom: sada X# X# $Id$ X# X XDISTNAME= ja-FAQ-2.2 XCATEGORIES= japanese XDISTFILES= # none X XMAINTAINER= sada@e-mail.ne.jp X XBUILD_DEPENDS= sgmlfmt:${PORTSDIR}/textproc/sgmlformat X XPREFIX= /usr XNO_MTREE= yes XWRKSRC= ${WRKDIR}/FAQ XPLIST= ${WRKDIR}/PLIST X XFAQDIR?= /usr/opt/doc/ja/FAQ XDOC_SUBDIR?= share/doc/ja/FAQ X Xdo-extract: X @if [ ! -d ${FAQDIR} ]; then \ X ${ECHO} "You need the Japanese FAQ source in"; \ X ${ECHO} "\"${FAQDIR}\""; \ X ${ECHO} "in order to build this port."; \ X exit 1; \ X fi X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKSRC} X ${CP} ${FAQDIR}/Makefile ${WRKSRC} X ${CP} ${FAQDIR}/*.sgml ${WRKSRC} X Xpost-build: X @${RM} -f ${PLIST} X @${ECHO} "${DOC_SUBDIR}/FAQ.ln" >>${PLIST} X @${ECHO} "@exec cd %B; /bin/sh %f" >>${PLIST} X @${ECHO} "${DOC_SUBDIR}/FAQ.roff" >>${PLIST} X @${ECHO} "${DOC_SUBDIR}/FAQ.html" >>${PLIST} X @cd ${WRKSRC} && \ X ls FAQ[0-9]*.html|sort|${AWK} '{printf "${DOC_SUBDIR}/%s\n", $$1}' \ X >>${PLIST} X @${ECHO} "${DOC_SUBDIR}/FAQ_toc.html" >>${PLIST} X @${ECHO} "@comment remove all links" >>${PLIST} X @${ECHO} "@unexec cd %B; for i in *.html; do if [ -h \$$i ]; then /bin/rm -f \$$i; fi; done" \ X >>${PLIST} X @${ECHO} "@dirrm ${DOC_SUBDIR}" >>${PLIST} X Xpre-install: X ${MKDIR} ${PREFIX}/${DOC_SUBDIR} X ${INSTALL_DATA} ${WRKSRC}/FAQ.ln ${PREFIX}/${DOC_SUBDIR}/ X X.include END-of-FAQ/Makefile echo c - FAQ/files mkdir -p FAQ/files > /dev/null 2>&1 echo x - FAQ/files/md5 sed 's/^X//' >FAQ/files/md5 << 'END-of-FAQ/files/md5' X# END-of-FAQ/files/md5 exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message