blob: f2c0b2dbc47061dea1950b1464fb5242d8375537 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: mendexk-euc
# Date created: 1 Dec 1997
# Whom: 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= systems/unix/teTeX/3.0/distrib
DISTFILES= ${PORTNAME}${PORTVERSION}${EXTRACT_SUFX}:1 \
${TETEX_SRC}${EXTRACT_SUFX}
DIST_SUBDIR= teTeX
MAINTAINER= hrs@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}"
USE_GMAKE= yes
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
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>
|