1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/japanese/mendexk-euc/Makefile
2014-07-02 19:21:25 +00:00

61 lines
1.6 KiB
Makefile

# Created by: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
# $FreeBSD$
PORTNAME= mendexk
PORTVERSION= 2.6c
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/:1 \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= obsolete/systems/unix/teTeX/3.0/distrib
DISTFILES= ${PORTNAME}${PORTVERSION}${EXTRACT_SUFX}:1 \
${TETEX_SRC}${EXTRACT_SUFX}
DIST_SUBDIR= teTeX
MAINTAINER= ports@FreeBSD.org
COMMENT= Index formatter for Japanese
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${KANJICODE}
CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
MAKE_ENV= INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
USES= gmake
ALL_TARGET= mendex
MAN1= mendex.1
MANLANG= ja
WRKSRC= ${WRKSRC_TETEX}/texk/${PORTNAME}${PORTVERSION}
WRKSRC_MENDEX= ${WRKDIR}/${PORTNAME}${PORTVERSION}
WRKSRC_TETEX= ${WRKDIR}/${TETEX_SRC}
TETEX_SRC= tetex-src-3.0
KANJICODE?= EUC
NO_STAGE= yes
post-extract:
${MV} ${WRKSRC_MENDEX} ${WRKSRC_TETEX}/texk
pre-configure:
cd ${WRKSRC_TETEX} && \
${SETENV} ${CONFIGURE_ENV} ${SH} ${CONFIGURE_SCRIPT} \
--prefix=${PREFIX} \
--disable-multiplatform \
--without-texinfo --without-dialog \
--with-system-ncurses --with-system-zlib \
--without-xdvik --without-oxdvik \
--without-dvipsk --without-odvipsk \
--without-x11 --without-dvipdfm \
--without-pdftex --without-pdfetex --without-pdfxtex \
--without-omega --without-eomega \
--without-etex
cd ${WRKSRC}/../kpathsea && ${SETENV} ${MAKE_ENV} ${MAKE}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>