aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-09-10 17:43:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-09-10 17:43:13 +0000
commit41e61385d96fed049d4095880c1e2d52761eac27 (patch)
tree3b6168eb3ff5f3164dd6b660e481c60ba491a134
parent7d49f3b8c10d28e284bce9d3f4c067ceae222913 (diff)
Notes
-rw-r--r--print/a2ps43-a4/Makefile11
-rw-r--r--print/a2ps43-letter/Makefile47
-rw-r--r--print/a2ps43-letter/distinfo1
-rw-r--r--print/a2ps43-letter/files/patch-aa22
-rw-r--r--print/a2ps43-letter/files/patch-ab92
-rw-r--r--print/a2ps43-letter/files/patch-ac23
-rw-r--r--print/a2ps43-letter/pkg-comment1
-rw-r--r--print/a2ps43-letter/pkg-descr6
-rw-r--r--print/a2ps43-letter/pkg-plist2
-rw-r--r--print/a2ps43-letter/scripts/configure11
10 files changed, 0 insertions, 216 deletions
diff --git a/print/a2ps43-a4/Makefile b/print/a2ps43-a4/Makefile
deleted file mode 100644
index b783a87f4b65..000000000000
--- a/print/a2ps43-a4/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# New ports collection makefile for: a2ps (a4)
-# Date created: 6 November 1994
-# Whom: jmz & David O'Brien (obrien@cs.ucdavis.edu)
-#
-# $FreeBSD$
-#
-
-PAPERSIZE= a4
-MASTERDIR= ${.CURDIR}/../a2ps43-letter
-
-.include "${MASTERDIR}/Makefile"
diff --git a/print/a2ps43-letter/Makefile b/print/a2ps43-letter/Makefile
deleted file mode 100644
index beeb2185b8fd..000000000000
--- a/print/a2ps43-letter/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# ex:ts=8
-# New ports collection makefile for: a2ps
-# Date created: 6 November 1994
-# Whom: jmz & David O'Brien (obrien@cs.ucdavis.edu)
-#
-# $FreeBSD$
-#
-
-PORTNAME= a2ps-${PAPERSIZE}
-PORTVERSION= 4.3
-CATEGORIES= print
-MASTER_SITES= ftp://ftp.imag.fr/archive/postscript/format.translators/
-DISTNAME= a2ps.V4.3
-
-MAINTAINER= obrien@FreeBSD.org
-
-NO_LATEST_LINK= yes
-MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
-NO_WRKSUBDIR= yes
-MAN1= a2ps.1
-
-PAPERSIZE?= letter
-
-.if ${PAPERSIZE} == letter
-WIDTH=8.5
-HEIGHT=11.0
-A4_PAPERSIZE=0
-.elif ${PAPERSIZE} == a4
-WIDTH=8.27
-HEIGHT=11.64
-A4_PAPERSIZE=1
-.else
-.BEGIN:
- @${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
- @${ECHO} "Possible values are: a4 or letter"
- @${FALSE}
-.endif
-
-pre-install:
- @${MKDIR} ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/man/man1
- @(cd ${WRKSRC}; make install.man)
-
-post-install:
- strip ${PREFIX}/bin/a2ps
-
-.include <bsd.port.mk>
diff --git a/print/a2ps43-letter/distinfo b/print/a2ps43-letter/distinfo
deleted file mode 100644
index ae227f43edf0..000000000000
--- a/print/a2ps43-letter/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (a2ps.V4.3.tar.gz) = d3ae591323f0ece28bf3f3bc35f5799f
diff --git a/print/a2ps43-letter/files/patch-aa b/print/a2ps43-letter/files/patch-aa
deleted file mode 100644
index 46ebb8e77da0..000000000000
--- a/print/a2ps43-letter/files/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.orig Mon Feb 14 07:09:33 1994
-+++ Makefile Sun May 9 13:50:34 1999
-@@ -29,12 +29,15 @@
- D =.
- O =.
-
--BINDIR =/usr/local/bin
-+##BINDIR =/usr/local/bin
-+BINDIR = $(PREFIX)/bin
-
--MANDIR =/usr/man/mann
--MANEXT =n
-+##MANDIR =/usr/man/mann
-+##MANEXT =n
-+MANEXT = 1
-+MANDIR = $(PREFIX)/man/man$(MANEXT)
-
--CFLAGS = -DBSD -O -DLPR_PRINT
-+CFLAGS = -DBSD -O -DLPR_PRINT -DWIDTH=$(WIDTH) -DHEIGHT=$(HEIGHT) -DA4_PAPERSIZE=$(A4_PAPERSIZE)
- # Default values for HEIGHT, WIDTH, MARGIN and DIR_SEP (11.64, 8.27, 1.2, '/').
- # Default values for LPR_COMMAND and LPR_OPT ("lpr", "-l")
- # No values for TWOSIDED_DFLT, ONESIDED and TWOSIDED
diff --git a/print/a2ps43-letter/files/patch-ab b/print/a2ps43-letter/files/patch-ab
deleted file mode 100644
index f6925c12ff22..000000000000
--- a/print/a2ps43-letter/files/patch-ab
+++ /dev/null
@@ -1,92 +0,0 @@
---- a2ps.c.orig Tue Feb 15 01:14:59 1994
-+++ a2ps.c Sun May 9 13:46:38 1999
-@@ -1,4 +1,3 @@
--/************************************************************************/
- /* */
- /* Description: Ascii to PostScript printer program. */
- /* File: bounty:/archive/src/a2ps/Last/a2ps.c */
-@@ -164,12 +163,17 @@
- /*
- * Default page dimensions
- */
-+#define USA_WIDTH 8.5
-+#define USA_HEIGHT 11.0
-+#define A4_WIDTH 8.27
-+#define A4_HEIGHT 11.64
-+
- #ifndef WIDTH
--#define WIDTH 8.27
-+#define WIDTH A4_WIDTH
- #endif
-
- #ifndef HEIGHT
--#define HEIGHT 11.64
-+#define HEIGHT A4_HEIGHT
- #endif
-
- #ifndef MARGIN
-@@ -311,7 +315,7 @@
- int login_id = TRUE; /* Print login ID at top of page */
- #endif
- #if LPR_PRINT
--int lpr_print = TRUE; /* Fork a lpr process to do the printing */
-+int lpr_print = FALSE; /* Fork a lpr process to do the printing */
- #ifdef RECTO_VERSO_PRINTING
- int rectoverso = TWOSIDED_DFLT; /* Two-side printing */
- #endif
-@@ -362,6 +366,8 @@
- /*
- * Sheet dimensions
- */
-+double paper_height = HEIGHT; /* Paper height */
-+double paper_width = WIDTH; /* Paper width */
- double page_height = HEIGHT; /* Paper height */
- double page_width = WIDTH; /* Paper width */
-
-@@ -382,6 +388,11 @@
- fprintf(stderr,"pos. = -#num\t\tnumber of copies to print\n");
- fprintf(stderr," -1\t\tone page per sheet\n");
- fprintf(stderr," -2\t\tTWIN PAGES per sheet\n");
-+#if A4_PAPERSIZE == 1
-+ fprintf(stderr," -a\t\tUse USA paper size (8.5\" x 11\")\n");
-+#else
-+ fprintf(stderr," -a\t\tUse A4 paper size (21cm x 29.56cm (8.27\" x 11.64\"))\n");
-+#endif
- fprintf(stderr," -d\t-nd\tprint (DON'T PRINT) current date at the bottom\n");
- fprintf(stderr," -Fnum\t\tfont size, num is a float number\n");
- fprintf(stderr," -Hstr\t\tuse str like header title for subsequent files\n");
-@@ -464,6 +475,12 @@
- usage(EXIT_FAILURE);
- interpret = TRUE;
- break;
-+ case 'a': /* American paper sizes */
-+#if defined(USA_HEIGHT) && defined(USA_WIDTH)
-+ paper_height = USA_HEIGHT;
-+ paper_width = USA_WIDTH;
-+# endif
-+ break;
- case 'n':
- if (arg[2] == NUL)
- return;
-@@ -1471,8 +1488,8 @@
- printf("\n%% Initialize page description variables.\n");
- printf("/x0 0 def\n");
- printf("/y0 0 def\n");
-- printf("/sh %g inch def\n", (double)HEIGHT);
-- printf("/sw %g inch def\n", (double)WIDTH);
-+ printf("/sh %g inch def\n", (double)paper_height);
-+ printf("/sw %g inch def\n", (double)paper_width);
- printf("/margin %g inch def\n", (double)MARGIN);
- printf("/rm margin 3 div def\n");
- printf("/lm margin 2 mul 3 div def\n");
-@@ -1794,8 +1811,8 @@
- /* Initialize variables not depending of positional options */
- landscape = twinpages = -1; /* To force format switching */
- fontsize = -1.0; /* To force fontsize switching */
-- page_height = (double)(HEIGHT - MARGIN) * PIXELS_INCH;
-- page_width = (double)(WIDTH - MARGIN) * PIXELS_INCH;
-+ page_height = (double)(paper_height - MARGIN) * PIXELS_INCH;
-+ page_width = (double)(paper_width - MARGIN) * PIXELS_INCH;
-
- /* Postcript prologue printing */
- print_prologue();
diff --git a/print/a2ps43-letter/files/patch-ac b/print/a2ps43-letter/files/patch-ac
deleted file mode 100644
index 1a2ef35e5e1a..000000000000
--- a/print/a2ps43-letter/files/patch-ac
+++ /dev/null
@@ -1,23 +0,0 @@
---- a2ps.1.orig Tue Feb 15 01:15:16 1994
-+++ a2ps.1 Sun May 9 12:20:19 1999
-@@ -97,8 +97,8 @@
- Don't print non ascii characters as ISO Latin 1 characters (see -8 option).
- .TP 0.6i
- .B -P\fIprinter\fP
--Send output to the named printer. The default option is send to the default
--printer.
-+Send output to the named printer. The default option is send the output to
-+.B stdout.
- .TP 0.6i
- .B -q
- Print files in quiet mode (no summary).
-@@ -154,6 +154,9 @@
- .I num
- is the number of copies desired of each file named. By default, you get
- only one copy.
-+.TP 0.6i
-+.B -a
-+Use the American paper size (8.5" x 11") as the basis for all calculations.
- .TP 0.6i
- .B -d
- Print the current date and time at the bottom of the page. This option
diff --git a/print/a2ps43-letter/pkg-comment b/print/a2ps43-letter/pkg-comment
deleted file mode 100644
index ec44d846c31e..000000000000
--- a/print/a2ps43-letter/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Formats an ascii file for printing on a postscript printer
diff --git a/print/a2ps43-letter/pkg-descr b/print/a2ps43-letter/pkg-descr
deleted file mode 100644
index 0b5c50cef860..000000000000
--- a/print/a2ps43-letter/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-A2ps formats each named file for printing in a postscript printer; if
-no file is given, a2ps reads from the standard input. The format used
-is nice and compact: normally two pages on each physical page, borders
-surrounding pages, headers with useful information (page number,
-printing date, file name or supplied header), line numbering, etc.
-This is very useful for making archive listings of programs.
diff --git a/print/a2ps43-letter/pkg-plist b/print/a2ps43-letter/pkg-plist
deleted file mode 100644
index 72f47bac6455..000000000000
--- a/print/a2ps43-letter/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $FreeBSD$
-bin/a2ps
diff --git a/print/a2ps43-letter/scripts/configure b/print/a2ps43-letter/scripts/configure
deleted file mode 100644
index b99a44d794f8..000000000000
--- a/print/a2ps43-letter/scripts/configure
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-cd $WRKSRC || exit 1;
-
-cat >> Makefile << END
-
-PREFIX= $PREFIX
-
-END
-exit 0;
-