summaryrefslogtreecommitdiff
path: root/japanese/ptex-sjis/Makefile
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-10-04 17:24:29 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-10-04 17:24:29 +0000
commita4effd8387508da08abddc96797670b3725c7fe7 (patch)
tree5af8b06da5acd7e93c071a74c3662af407100d24 /japanese/ptex-sjis/Makefile
parentPort of pTeX that installs files to support EUC. (diff)
Port of pTeX that installs files to support Shift-JIS code.
Notes
Notes: svn path=/head/; revision=8107
Diffstat (limited to 'japanese/ptex-sjis/Makefile')
-rw-r--r--japanese/ptex-sjis/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/japanese/ptex-sjis/Makefile b/japanese/ptex-sjis/Makefile
new file mode 100644
index 000000000000..71b84b89c3b5
--- /dev/null
+++ b/japanese/ptex-sjis/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: pTeX-sjis
+# Version required: 2.1.5
+# Date created: 05 Oct 1997
+# Whom: max
+#
+# $Id: Makefile,v 1.18 1997/07/13 18:49:19 max Exp $
+#
+
+DISTNAME= ptex215
+PKGNAME= ja-ptex-sjis-2.1.5
+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/ \
+ ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/ \
+ ftp://bash.cc.keio.ac.jp/pub/TeX/ascii-ptex/corresponding-sources/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} plib13-sj.tar.gz
+
+MAINTAINER= max@FreeBSD.ORG
+
+RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= sjis
+WRKSRC= ${.CURDIR}/../ptex-common/work/web2c-7.0/web2c/${DISTNAME}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+ALL_TARGET= default
+
+BINARIES= iniptex jbibtex pdvitype pltotf ptex tftopl virptex
+
+pre-extract:
+.if !exists(${.CURDIR}/../ptex-common/work/.build_done)
+ @(cd ${.CURDIR}/../ptex-common; \
+ ${SETENV} ${MAKE_ENV} ${MAKE})
+.endif
+
+post-extract:
+ @${RM} -rf ${WRKSRC}
+ @${MV} ${WRKDIR}/${DISTNAME} ${.CURDIR}/../ptex-common/work/web2c-7.0/web2c
+
+pre-install:
+ @${EXTRACT_CMD} -C ${PREFIX} -zxf ${DISTDIR}/plib13-sj.tar.gz
+
+post-install:
+.for bin in ${BINARIES}
+ @strip ${PREFIX}/bin/${bin}
+.endfor
+
+pre-clean:
+ @${RM} -rf ${WRKSRC}
+
+.include <bsd.port.mk>