1998-04-25 16:02:01 +00:00
|
|
|
# New ports collection makefile for: mendexk-euc
|
|
|
|
# Date created: 1 Dec 1997
|
|
|
|
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-04-25 16:02:01 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= mendexk
|
|
|
|
PORTVERSION= 2.4d
|
|
|
|
PKGNAMESUFFIX= -euc
|
1998-04-25 16:02:01 +00:00
|
|
|
CATEGORIES= japanese print
|
2000-04-01 20:33:50 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/mendex/ \
|
1998-07-20 03:13:51 +00:00
|
|
|
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/web2c/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
1998-04-25 16:02:01 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${KPATHSEA_PARENT}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
|
|
|
|
|
1998-07-20 03:13:51 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
DIST_SUBDIR= ptex
|
1998-04-25 16:02:01 +00:00
|
|
|
|
|
|
|
MANLANG= ja
|
|
|
|
MAN1= mendex.1
|
|
|
|
|
1998-07-20 03:13:51 +00:00
|
|
|
KPATHSEA_PARENT= web2c-7.2
|
1998-04-25 16:02:01 +00:00
|
|
|
|
|
|
|
pre-configure:
|
1998-07-20 03:13:51 +00:00
|
|
|
@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
|
|
|
|
./configure --prefix=${PREFIX} )
|
1998-04-25 16:02:01 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; ${GMAKE} )
|
|
|
|
@( cd ${WRKSRC} ; ${MAKE} kpathsea_parent=../${KPATHSEA_PARENT} )
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mendex ${PREFIX}/bin
|
1998-07-20 03:13:51 +00:00
|
|
|
@${MKDIR} ${PREFIX}/man/${MANLANG}/man1
|
1998-04-25 16:02:01 +00:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/mendex.1 ${PREFIX}/man/${MANLANG}/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
1998-07-20 03:13:51 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/mendex
|
1998-04-25 16:02:01 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mendex
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|