Index formatter for Japanese (SJIS).

PR:	ports/5209
Submitted by:	Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
This commit is contained in:
Jun Kuriyama 1998-04-25 16:04:09 +00:00
parent f8896ccb4a
commit c5851ed637
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10675
5 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,61 @@
# New ports collection makefile for: mendexk-sjis
# Version required: 2.4b
# Date created: 1 Dec 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $Id$
#
DISTNAME= mendexk2.4b
PKGNAME= ja-mendexk-sjis-2.4b
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/ \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/web2c/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${KPATHSEA_PARENT}${EXTRACT_SUFX}
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
USE_GMAKE= yes
MANLANG= ja
MAN1= mendex.1
KPATHSEA_PARENT= web2c-7.0
KANJI_FILES= kana.h ktable.h
pre-configure:
@(\
cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
./configure --prefix=${PREFIX} \
)
@(\
cd ${WRKSRC} ; \
for i in ${KANJI_FILES}; do \
${MV} $$i $$i.orig ; \
nkf -s $$i.orig > $$i ; \
done \
)
do-build:
@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; ${GMAKE} )
@( cd ${WRKSRC} ; ${MAKE} kpathsea_parent=../${KPATHSEA_PARENT} )
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mendex ${PREFIX}/bin
@(\
if [ ! -d ${PREFIX}/man/${MANLANG}/man1 ] ; then \
${MKDIR} ${PREFIX}/man/${MANLANG}/man1 ; fi \
)
@${INSTALL_MAN} ${WRKSRC}/mendex.1 ${PREFIX}/man/${MANLANG}/man1
.if !defined(NOPORTDOCS)
@(\
if [ ! -d ${PREFIX}/share/doc/mendex ] ; then \
${MKDIR} ${PREFIX}/share/doc/mendex ; fi \
)
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mendex
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (mendexk2.4b.tar.gz) = 706d00d359131a4e4a08dd985714bbb2
MD5 (web2c-7.0.tar.gz) = df32071b1e2d8a26b35bb304e28e4dbb

View File

@ -0,0 +1 @@
Index formatter for Japanese (SJIS).

View File

@ -0,0 +1,7 @@
The program mendex is a index formatter for Japanese, has
the compatibility with makeindex.
The mendex installed using this package supports SJIS code.
- Makoto WATANABE
watanabe@zlab.phys.nagoya-u.ac.jp

View File

@ -0,0 +1,4 @@
bin/mendex
man/ja/man1/mendex.1.gz
share/doc/mendex/README
@dirrm share/doc/mendex