1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/mendexk-sjis/Makefile
Jun Kuriyama 7c5517bf97 Update from v2.4b to v2.4c
PR:		ports/8424
Submitted by:	Makoto WATANABE <watanabe@z.phys.nagoya-u.ac.jp>
1998-11-12 22:01:14 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: mendexk-sjis
# Version required: 2.4c
# Date created: 1 Dec 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
# $Id: Makefile,v 1.2 1998/07/20 03:12:27 steve Exp $
#
DISTNAME= mendexk2.4c
PKGNAME= ja-mendexk-sjis-2.4c
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/ \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/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
DIST_SUBDIR= ptex
MANLANG= ja
MAN1= mendex.1
KPATHSEA_PARENT= web2c-7.2
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
@${MKDIR} ${PREFIX}/man/${MANLANG}/man1
@${INSTALL_MAN} ${WRKSRC}/mendex.1 ${PREFIX}/man/${MANLANG}/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/mendex
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mendex
.endif
.include <bsd.port.mk>