diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-04-26 00:04:09 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-04-26 00:04:09 +0800 |
commit | f57e7ad709e73b1455a807d783e89895e2642262 (patch) | |
tree | 7d6660038e7987b22a65dee2e72efaffa21fb53f /japanese/mendexk-sjis/Makefile | |
parent | 14979ffc18b117f15e25ce55980c9ea375179431 (diff) | |
download | freebsd-ports-gnome-f57e7ad709e73b1455a807d783e89895e2642262.tar.gz freebsd-ports-gnome-f57e7ad709e73b1455a807d783e89895e2642262.tar.zst freebsd-ports-gnome-f57e7ad709e73b1455a807d783e89895e2642262.zip |
Index formatter for Japanese (SJIS).
PR: ports/5209
Submitted by: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
Diffstat (limited to 'japanese/mendexk-sjis/Makefile')
-rw-r--r-- | japanese/mendexk-sjis/Makefile | 61 |
1 files changed, 61 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> |