1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/mendexk-euc/Makefile
Jun Kuriyama f8896ccb4a Index formatter for Japanese (EUC).
PR:	ports/5209
Submitted by:	Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
1998-04-25 16:02:01 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: mendexk-euc
# 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-euc-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
USE_GMAKE= yes
MANLANG= ja
MAN1= mendex.1
KPATHSEA_PARENT= web2c-7.0
pre-configure:
@(\
cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
./configure --prefix=${PREFIX} \
)
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>