summaryrefslogtreecommitdiff
path: root/print/hugeotp2ocp/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-17 22:27:05 +0000
committerminskim <minskim@pkgsrc.org>2005-11-17 22:27:05 +0000
commit600ac9665d1532f4055c64e904b323a8ce5341fd (patch)
treefb6fe7ace08f449cda1986ff97bfd87614fb66f9 /print/hugeotp2ocp/Makefile
parent0221f4035ecfb152adacbf0be6e65728737c4be6 (diff)
downloadpkgsrc-600ac9665d1532f4055c64e904b323a8ce5341fd.tar.gz
Import hugeotp2ocp.
hugeotp2ocp is a utility that converts OTP files to OCP files used by Omega. This program can process OTP files requiring more memory than regular otp2ocp in teTeX can handle.
Diffstat (limited to 'print/hugeotp2ocp/Makefile')
-rw-r--r--print/hugeotp2ocp/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/print/hugeotp2ocp/Makefile b/print/hugeotp2ocp/Makefile
new file mode 100644
index 00000000000..185be6c36aa
--- /dev/null
+++ b/print/hugeotp2ocp/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/17 22:27:05 minskim Exp $
+
+DISTNAME= tetex-src-3.0
+PKGNAME= ${DISTNAME:S/tetex-src/hugeotp2ocp/}
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.tug.org/tetex/
+COMMENT= Utility to convert large OTP to OCP
+
+DIST_SUBDIR= teTeX
+DISTINFO_FILE= ${.CURDIR}/../../print/teTeX3-bin/distinfo
+PATCHDIR= ${.CURDIR}/../../print/teTeX3-bin/patches
+
+GNU_CONFIGURE= yes
+BUILD_DIRS= ${WRKSRC}/texk/web2c/lib
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= --without-texinfo
+CONFIGURE_ARGS+= --without-dialog
+CONFIGURE_ARGS+= --disable-multiplatform
+
+TEX_ACCEPTED= teTeX3
+
+BUILDLINK_DEPMETHOD.teTeX-bin= build
+.include "../../mk/tex.buildlink3.mk"
+
+post-configure:
+ cd ${WRKSRC}/texk/web2c/otps; \
+ ${PATCH} -p0 < ${FILESDIR}/otps.Makefile.patch; \
+ ${PATCH} -p0 < ${FILESDIR}/otps.routines.h.patch
+
+post-build:
+ cd ${WRKSRC}/texk/web2c/otps; \
+ ${SETENV} ${MAKE_ENV} ${MAKE} otp2ocp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/texk/web2c/otps/otp2ocp \
+ ${PREFIX}/bin/hugeotp2ocp
+
+.include "../../mk/bsd.pkg.mk"