last year some time.) Add another downlaod site. Make this use PKGMANDIR. Changes are: November 2006 - Released version 2.5.5 - apply Fedora restricted font and scale patches September 2005 - usage fixes - use /tmp instead of /usr/tmp - Duplex featrure settings go into %%BeginSetup section. November 2004 - Small updates to manual page May 2004 - Released version 2.5.4 - Do not explicitely switch of duplex mode when -t is not given. - Add redhat utf-8 patch - Add -u option to switch off utf-8 checking August 2003 RedHat fixes - check for empy optarg in arg processing. Suggested by J.D. Laub <jdl@access-health.com>: - -V option to show mpage version - -- option to stop process options (remaing args are files) - add -- option to prprog when filename starts with a -. From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk> - %% and \n fixes for Duplex Beginfeature settings. October 2002 - Released version 2.5.3 - Start moving mapge into the GPL... - Fixed double 'showsheet' output when processing postscript. - Added A0 to page_desc in glob.c. - Remove newline after formfeed. (Gregory Bond <gnb@itga.com.au>) - the -X option now always prints the filename/header on the left and the physical page number on the right. Per suggestion of Marc Branchaud <marcnarc@xcert.com> - From Neil Brown <neilb@cse.unsw.edu.au>: define showheet using the load operator instead of the bind operator. This might solve situations where showpage is redefined elsewhere. - From Ilgiz Latypov <ilgizl@pcauto.comk>: -J option to set an initial value to the pagenum counter. - Improved processing of "BeginDocument/EndDocument" directives resulting in much better handling of included EPS graphics. Should improve processing of dvips files a lot... Jun 2002 from: jdl@access-health.com - When processing stdin, 'pr' was hardcoded instead of using the prprog variable. - Removed useless strcpy when processing command line args (could even give unpredictable results) from: dlarson@brookings.net - explicitely set duplex printing to false in the default case. from: George.Pajari@Faximum.com - using -m while printing in duplex creates useless margins: punching holes may go through the printed areas on one of the sides. Jan 2002 Marcel J.E. Mol marcel@mesa.nl - lib/mpage -> share/mpage Nov 2001 Marcel J.E. Mol marcel@mesa.nl - Changes from redhat * use mkstemp instead of mktemp. * kanji support. Oct 2000 Marcel J.E. Mol marcel@mesa.nl - Added A1 and A2 to page_desc in glob.c. Aug 1999 Marcel J.E. Mol marcel@mesa.nl - Added -e option and related code from Enrique Melendez Asensio <ema@csn.es> to allow 4,1,2,3 booklets... Needs cleanup and extended to txt too. - Patch from Gabor Ribarik <ribarik@math-inst.hu> to take of dvips(k) 5.78's output if it contains many postscript figures. (see indoc variable in post.c) He (or actually Attila Karpati) also implemented multiple -j options. Fix the %%Page director when pages are skipped (with -j). - Include amiga port from Andreas R. Kleinert <info@ar-kleinert.de>: * added smakefile, smakefile.ppc and SCOPTIONS * added #ifdef AMIGA section to mpage.h * mpage.h now #undefs MAXINT if already #define (before re-#defining it iself) * LIBDIR has been #define within SCOPTIONS; used MPAGE: assign, which you may redirect yourself, then... Jun 1998 Marcel J.E. Mol marcel@mesa.nl - Clipping logical page was terribly wrong. This was visible when specifying negative pagemargins (-M). Apr 1998 Marcel J.E. Mol marcel@mesa.nl - Corrected types (lvirden@cas.org) Mar 1998 Marcel J.E. Mol marcel@mesa.nl - for EPS files that have %%Trailer and are included in PS files mpage will stop after the first %%Trailer. Made check on %%Trailer (and %%PSTrailer) a runtime option -k ('kill on trailer'); - When input text file has no newline at last line, mpage forgot to print that line... - Updated manual page and usage (lm@cs.rmit.edu.au) - warning in -b option failed. - Changed defining paper types (to add new papger tpyes, just add to the paper array in glob.c). Jan 1998 Marcel J.E. Mol marcel@mesa.nl - Removed save/restore statements for PS input processing. They seem to generate 'memory overflow' errors. - Removed 'TexDict begin' additions for dvips files. - OS/2 changes (Alexander Mai <st002279@hrzpub.tu-darmstadt.de>) - Makefile: create install dirs if not there (jwessel@uiuc.edu) - Check for %PSTrailer (for Mathematis program) (jwessel@uiuc.edu) - version 2.5 introduced bug in handling formfeed in text files. Fixed.
57 lines
1.5 KiB
Text
57 lines
1.5 KiB
Text
$NetBSD: patch-aa,v 1.6 2007/03/17 01:11:22 reed Exp $
|
|
|
|
--- Makefile.orig 2004-05-30 14:38:31.000000000 -0500
|
|
+++ Makefile 2006-11-30 17:26:46.000000000 -0600
|
|
@@ -24,7 +24,6 @@
|
|
# Set this to an ANSI compatible C compiler (preferably gcc)
|
|
# See also system specific settings below
|
|
#CC=cc
|
|
-CC=gcc
|
|
|
|
############################################################################
|
|
#
|
|
@@ -40,7 +39,7 @@
|
|
# See glob.c for all possibilities
|
|
#
|
|
# PAGESIZE=Letter
|
|
-PAGESIZE=A4
|
|
+#PAGESIZE=A4
|
|
|
|
#
|
|
# Define your spooler type
|
|
@@ -50,11 +49,11 @@
|
|
SPOOL_TYPE=BSD_SPOOLER
|
|
|
|
# PREFIX=e:/usr # OS/2 type
|
|
-PREFIX=/usr/local
|
|
+#PREFIX=/usr/local
|
|
#PREFIX=/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
LIBDIR=$(PREFIX)/share
|
|
-MANDIR=$(PREFIX)/man/man1
|
|
+#MANDIR=$(PREFIX)/man/man1
|
|
|
|
#
|
|
# A default encoding is given in encoding.h. Setting ENCODING=1 will
|
|
@@ -106,8 +105,8 @@
|
|
# Choose one of the following CFLAGS/CC definitions:
|
|
# If you are using gcc, you probably don't need to change anything here.
|
|
|
|
-# Linux:
|
|
-CFLAGS = -O2 -s $(DEFS) -Wall
|
|
+# Linux or BSD:
|
|
+CFLAGS += -O2 -s $(DEFS) -Wall
|
|
|
|
# AIX (xlC on aix 4):
|
|
#CFLAGS = -O2 -s $(DEFS)
|
|
@@ -181,7 +180,6 @@
|
|
if [ ! -d $(LIBDIR)/mpage ] ; then mkdir -p $(LIBDIR)/mpage ; fi
|
|
if [ ! -d $(BINDIR) ] ; then mkdir -p $(BINDIR) ; fi
|
|
if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
|
|
- cp mpage$(E) $(BINDIR)
|
|
- cp mpage.1 $(MANDIR)
|
|
- -cp Encodings/* $(LIBDIR)/mpage
|
|
- -chmod 644 $(LIBDIR)/mpage/*
|
|
+ $(BSD_INSTALL_PROGRAM) mpage$(E) $(BINDIR)
|
|
+ $(BSD_INSTALL_MAN) mpage.1 $(MANDIR)
|
|
+ $(BSD_INSTALL_DATA) Encodings/* $(LIBDIR)/mpage
|