summaryrefslogtreecommitdiff
path: root/japanese/platex209/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-08-20 16:24:29 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-08-20 16:24:29 +0000
commite292d5f8975318297439a254e76c69a674e78948 (patch)
treecd96dc522773bc78784690ed6eae8bfdeffc11b6 /japanese/platex209/Makefile
parentFix build with gcc 3.4 (diff)
- Repocopy from japanese/platex209-euc to japanese/platex209,
and remove japanese/platex209-* since this classification is almost useless now. - Fix dependencies.
Diffstat (limited to 'japanese/platex209/Makefile')
-rw-r--r--japanese/platex209/Makefile44
1 files changed, 26 insertions, 18 deletions
diff --git a/japanese/platex209/Makefile b/japanese/platex209/Makefile
index cfede41555ca..f7d4df312516 100644
--- a/japanese/platex209/Makefile
+++ b/japanese/platex209/Makefile
@@ -7,38 +7,46 @@
PORTNAME= platex209
PORTVERSION= 1.0
-PKGNAMESUFFIX= -euc
+PORTREVISION= 1
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/
DISTNAME= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
-COMMENT= ASCII Japanese pLaTeX 2.09 with Japanese EUC code support
+COMMENT= Old version of ASCII Japanese pLaTeX (based on LaTeX 2.09)
-BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex \
- nkf:${PORTSDIR}/japanese/nkf
-RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex
+BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-tetex
+
+CONFLICTS= ja-ptex-[0-9]*
MANUAL_PACKAGE_BUILD= incompatible with other versions of platex209-*
-TEXMF= ${PREFIX}/share/texmf
+TEXMF= share/texmf
+WEB2CDIR= share/texmf/web2c-ptex
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+
+PLIST_SUB= TEXMF=${TEXMF} \
+ MKTEXLSR=${MKTEXLSR} \
+ WEB2CDIR=${WEB2CDIR}
-pre-configure:
- @(cd ${WRKSRC} ; \
- for i in * ; do ${MV} $$i $$i.orig ; nkf -e $$i.orig > $$i ; done)
+#pre-configure:
+# @(cd ${WRKSRC} ; \
+# for i in * ; do ${MV} $$i $$i.orig ; nkf -e $$i.orig > $$i ; done)
do-build:
@(cd ${WRKSRC}; ptex -ini 'plplain.tex \dump')
do-install:
- ${MKDIR} ${TEXMF}/tex/platex209/doc
- ${MKDIR} ${TEXMF}/tex/platex209/general
- ${MKDIR} ${TEXMF}/tex/platex209/sty
- @${INSTALL_DATA} ${WRKSRC}/README.txt ${TEXMF}/tex/platex209
- @${INSTALL_DATA} ${WRKSRC}/*.doc ${TEXMF}/tex/platex209/doc
- @${INSTALL_DATA} ${WRKSRC}/*.tex ${TEXMF}/tex/platex209/general
- @${INSTALL_DATA} ${WRKSRC}/*.sty ${TEXMF}/tex/platex209/sty
- @${INSTALL_DATA} ${WRKSRC}/plplain.fmt ${TEXMF}/web2c/platex209.fmt
- ${LN} -fs ptex ${PREFIX}/bin/platex209
+ ${MKDIR} ${PREFIX}/${TEXMF}/tex/platex209/doc
+ ${MKDIR} ${PREFIX}/${TEXMF}/tex/platex209/general
+ ${MKDIR} ${PREFIX}/${TEXMF}/tex/platex209/sty
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/${TEXMF}/tex/platex209
+ ${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/${TEXMF}/tex/platex209/doc
+ ${INSTALL_DATA} ${WRKSRC}/*.tex ${PREFIX}/${TEXMF}/tex/platex209/general
+ ${INSTALL_DATA} ${WRKSRC}/*.sty ${PREFIX}/${TEXMF}/tex/platex209/sty
+ ${INSTALL_DATA} ${WRKSRC}/plplain.fmt ${PREFIX}/${WEB2CDIR}/platex209.fmt
+ ${LN} -f -s ${PREFIX}/bin/ptex ${PREFIX}/bin/platex209
+ ${MKTEXLSR}
.include <bsd.port.mk>