aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mendexk-euc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mendexk-euc/Makefile')
-rw-r--r--japanese/mendexk-euc/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/japanese/mendexk-euc/Makefile b/japanese/mendexk-euc/Makefile
new file mode 100644
index 000000000000..64c166883721
--- /dev/null
+++ b/japanese/mendexk-euc/Makefile
@@ -0,0 +1,50 @@
+# 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>