summaryrefslogtreecommitdiff
path: root/korean/htexp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'korean/htexp/Makefile')
-rw-r--r--korean/htexp/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/korean/htexp/Makefile b/korean/htexp/Makefile
new file mode 100644
index 000000000000..128e69363438
--- /dev/null
+++ b/korean/htexp/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: hTeXp
+# Date created: Jun 29 2000
+# Whom: CHOI Junho <cjh@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hTeXp
+PORTVERSION= 1996.02.12
+CATEGORIES= korean print
+MASTER_SITES= ftp://knot.kaist.ac.kr/pub/htex/htexp/freebsd/ \
+ ftp://knot.kaist.ac.kr/pub/htex/htexp/linux/ \
+ ftp://knot.kaist.ac.kr/pub/htex/hlatexp/
+DISTFILES= htexp-freebsd-3.2 tex.poo unpacked.tar.gz
+DIST_SUBDIR= htex
+EXTRACT_ONLY= unpacked.tar.gz
+
+MAINTAINER= cjh@FreeBSD.org
+
+# it depends teTeX.
+RUN_DEPENDS= virtex:${PORTSDIR}/print/teTeX
+
+TEXMF= ${PREFIX}/share/texmf
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 320000
+BROKEN= "Systems prior to 3.2-RELEASE is out of support"
+.endif
+
+.if ${OSVERSION} > 400000 && !exists(/usr/lib/compat/libc.so.3)
+BROKEN= "You should install compat3x distribution"
+.endif
+
+do-build:
+ ### build htexpini script
+ ${SED} -e "s@%%TEXMF%%@${TEXMF}@g" \
+ < ${FILESDIR}/htexpini.in > ${WRKDIR}/htexpini
+
+do-install:
+ ${MKDIR} ${TEXMF}/htexpformats
+ ${CHMOD} a+rx ${TEXMF}/htexpformats
+ # htexp and friends
+ ${INSTALL_PROGRAM} ${_DISTDIR}/htexp-freebsd-3.2 ${PREFIX}/bin/htexp
+ ${INSTALL_SCRIPT} ${WRKDIR}/htexpini ${PREFIX}/bin/
+ ${INSTALL_DATA} ${_DISTDIR}/tex.poo ${TEXMF}/htexpformats
+ ### build hlatex.fmt
+ ( cd ${WRKDIR}/unpacked && \
+ ${ECHO} "R\n" | ${PREFIX}/bin/htexpini hlatex.ltx || \
+ ${TRUE} )
+ ${INSTALL_DATA} ${WRKDIR}/unpacked/hlatex.fmt \
+ ${TEXMF}/htexpformats/
+ ### rehash
+ ${PREFIX}/bin/texhash
+
+.include <bsd.port.post.mk>