pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/hugeotp2ocp Import hugeotp2ocp.
details: https://anonhg.NetBSD.org/pkgsrc/rev/65133d67a1a4
branches: trunk
changeset: 503293:65133d67a1a4
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Nov 17 22:27:05 2005 +0000
description:
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:
print/hugeotp2ocp/DESCR | 3 +
print/hugeotp2ocp/Makefile | 42 +++++++++++++++++++++++++++
print/hugeotp2ocp/PLIST | 2 +
print/hugeotp2ocp/files/otps.Makefile.patch | 22 ++++++++++++++
print/hugeotp2ocp/files/otps.routines.h.patch | 13 ++++++++
5 files changed, 82 insertions(+), 0 deletions(-)
diffs (102 lines):
diff -r 3a247164f4c6 -r 65133d67a1a4 print/hugeotp2ocp/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hugeotp2ocp/DESCR Thu Nov 17 22:27:05 2005 +0000
@@ -0,0 +1,3 @@
+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.
diff -r 3a247164f4c6 -r 65133d67a1a4 print/hugeotp2ocp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hugeotp2ocp/Makefile Thu Nov 17 22:27:05 2005 +0000
@@ -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@localhost
+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"
diff -r 3a247164f4c6 -r 65133d67a1a4 print/hugeotp2ocp/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hugeotp2ocp/PLIST Thu Nov 17 22:27:05 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/17 22:27:05 minskim Exp $
+bin/hugeotp2ocp
diff -r 3a247164f4c6 -r 65133d67a1a4 print/hugeotp2ocp/files/otps.Makefile.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hugeotp2ocp/files/otps.Makefile.patch Thu Nov 17 22:27:05 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: otps.Makefile.patch,v 1.1.1.1 2005/11/17 22:27:05 minskim Exp $
+
+--- Makefile.orig 2005-11-17 12:14:16.000000000 -0800
++++ Makefile
+@@ -73,7 +73,7 @@ LDFLAGS = -L/Users/msk/pkg/lib $(XLDFLAG
+ # proglib is for web2c;
+ # XLOADLIBES is for the installer.
+ LIBS = -lm
+-LOADLIBES = $(proglib) $(kpathsea) $(LIBS) $(XLOADLIBES)
++LOADLIBES = $(proglib) -lkpathsea $(LIBS) $(XLOADLIBES)
+
+ # May as well separate linking from compiling, just in case.
+ CCLD = $(CC)
+@@ -212,7 +212,7 @@ $(LEX_OUTPUT_ROOT).c: otp.l
+ outocp: outocp.o
+ $(kpathsea_link) outocp.o $(LOADLIBES)
+
+-$(programs): $(proglib) $(kpathsea)
++$(programs): $(proglib)
+
+ install-programs: $(programs)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
diff -r 3a247164f4c6 -r 65133d67a1a4 print/hugeotp2ocp/files/otps.routines.h.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/hugeotp2ocp/files/otps.routines.h.patch Thu Nov 17 22:27:05 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: otps.routines.h.patch,v 1.1.1.1 2005/11/17 22:27:05 minskim Exp $
+
+--- routines.h.orig 2004-09-15 01:14:19.000000000 -0700
++++ routines.h
+@@ -102,7 +102,7 @@ extern int no_lefts;
+ extern void store_alias P2H(string, left);
+ extern left lookup_alias P1H(string);
+
+-#define ARRAY_SIZE 10000
++#define ARRAY_SIZE 160000
+ typedef struct {
+ int length;
+ char * str;
Home |
Main Index |
Thread Index |
Old Index