diff options
-rw-r--r-- | japanese/mendexk-sjis/Makefile | 61 | ||||
-rw-r--r-- | japanese/mendexk-sjis/distinfo | 2 | ||||
-rw-r--r-- | japanese/mendexk-sjis/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/mendexk-sjis/pkg-descr | 7 | ||||
-rw-r--r-- | japanese/mendexk-sjis/pkg-plist | 4 |
5 files changed, 75 insertions, 0 deletions
diff --git a/japanese/mendexk-sjis/Makefile b/japanese/mendexk-sjis/Makefile new file mode 100644 index 000000000000..795cbbd981a5 --- /dev/null +++ b/japanese/mendexk-sjis/Makefile @@ -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> diff --git a/japanese/mendexk-sjis/distinfo b/japanese/mendexk-sjis/distinfo new file mode 100644 index 000000000000..031133db1c5d --- /dev/null +++ b/japanese/mendexk-sjis/distinfo @@ -0,0 +1,2 @@ +MD5 (mendexk2.4b.tar.gz) = 706d00d359131a4e4a08dd985714bbb2 +MD5 (web2c-7.0.tar.gz) = df32071b1e2d8a26b35bb304e28e4dbb diff --git a/japanese/mendexk-sjis/pkg-comment b/japanese/mendexk-sjis/pkg-comment new file mode 100644 index 000000000000..f31452874741 --- /dev/null +++ b/japanese/mendexk-sjis/pkg-comment @@ -0,0 +1 @@ +Index formatter for Japanese (SJIS). diff --git a/japanese/mendexk-sjis/pkg-descr b/japanese/mendexk-sjis/pkg-descr new file mode 100644 index 000000000000..c217b5225b3c --- /dev/null +++ b/japanese/mendexk-sjis/pkg-descr @@ -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 diff --git a/japanese/mendexk-sjis/pkg-plist b/japanese/mendexk-sjis/pkg-plist new file mode 100644 index 000000000000..059285b8a1e7 --- /dev/null +++ b/japanese/mendexk-sjis/pkg-plist @@ -0,0 +1,4 @@ +bin/mendex +man/ja/man1/mendex.1.gz +share/doc/mendex/README +@dirrm share/doc/mendex |