aboutsummaryrefslogtreecommitdiff
path: root/print/psutils-letter
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-04-24 04:13:09 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-04-24 04:13:09 +0000
commit5f8eb67e3760459c0834c08f36d9e502d3388e3a (patch)
treeb0094c17ab958c91c23c0e89d3bb437c5adf6982 /print/psutils-letter
parentf120146efca21d87a92160f983f2576d223f88fe (diff)
Notes
Diffstat (limited to 'print/psutils-letter')
-rw-r--r--print/psutils-letter/Makefile61
-rw-r--r--print/psutils-letter/distinfo2
-rw-r--r--print/psutils-letter/files/patch-aa34
-rw-r--r--print/psutils-letter/files/patch-b415
-rw-r--r--print/psutils-letter/files/patch-epsffit.c18
-rw-r--r--print/psutils-letter/files/patch-psbook.c18
-rw-r--r--print/psutils-letter/files/patch-pserror.c11
-rw-r--r--print/psutils-letter/files/patch-psnup.c19
-rw-r--r--print/psutils-letter/files/patch-psresize.c19
-rw-r--r--print/psutils-letter/files/patch-psselect.c18
-rw-r--r--print/psutils-letter/files/patch-pstops.c18
-rw-r--r--print/psutils-letter/pkg-descr23
-rw-r--r--print/psutils-letter/pkg-plist25
-rw-r--r--print/psutils-letter/scripts/configure12
14 files changed, 0 insertions, 293 deletions
diff --git a/print/psutils-letter/Makefile b/print/psutils-letter/Makefile
deleted file mode 100644
index b69bca5a30fa..000000000000
--- a/print/psutils-letter/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-# New ports collection makefile for: psutils (letter)
-# Date created: 21 September 1994
-# Whom: jmz & David O'Brien (obrien@cs.ucdavis.edu)
-#
-# $FreeBSD$
-#
-
-PORTNAME= psutils
-PORTVERSION= 1.17
-PORTREVISION= 2
-CATEGORIES= print
-MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \
- ftp://ftp.knackered.org/pub/psutils/ \
- ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= support/psutils
-PKGNAMESUFFIX= -${PAPERSIZE}
-DISTNAME= psutils-p17
-
-MAINTAINER= hrs@FreeBSD.org
-COMMENT= Utilities for manipulating PostScript documents
-
-USE_PERL5_BUILD=yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
-MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
- getafm.1 fixdlsrps.1 fixfmps.1 fixmacps.1 fixpsditps.1 \
- fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \
- extractres.1 includeres.1 fixscribeps.1 psmerge.1
-SCRIPTS_ENV+= PERL5=${PERL5} CC=${CC} DATADIR=${DATADIR} \
- MANPREFIX=${MANPREFIX} PAPER=${PAPERSIZE}
-CONFLICTS?= psutils-a4-[0-9]*
-
-.if !defined(PAPERSIZE)
-PAPERSIZE=letter
-PAPERSIZE_UNSPECIFIED= yes
-.else
-.if ${PAPERSIZE} != A3 && ${PAPERSIZE} != a3 && ${PAPERSIZE} != A4 \
- && ${PAPERSIZE} != a4 && ${PAPERSIZE} != A5 && ${PAPERSIZE} != a5 \
- && ${PAPERSIZE} != B4 && ${PAPERSIZE} != b4 \
- && ${PAPERSIZE} != B5 && ${PAPERSIZE} != b5 \
- && ${PAPERSIZE} != letter && ${PAPERSIZE} != legal \
- && ${PAPERSIZE} != ledger && ${PAPERSIZE} != tabloid \
- && ${PAPERSIZE} != statement && ${PAPERSIZE} != executive \
- && ${PAPERSIZE} != folio && ${PAPERSIZE} != quarto && ${PAPERSIZE} != 10x14
-.BEGIN:
- @${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
- @${ECHO} "Possible values are: A3, A4 (default), A5, B4, B5, letter, legal,"
- @${ECHO} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
- @${FALSE}
-.endif
-.endif
-
-pre-fetch:
-.if defined(PAPERSIZE_UNSPECIFIED)
- @${ECHO_MSG} "Defaulting to ${PAPERSIZE} sized paper."
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Set the environment variable PAPERSIZE if you want to use other sizes."
- @${ECHO_MSG} "Possible values are: A3, A4, A5, B4, B5, letter, legal,"
- @${ECHO_MSG} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
-.endif
-
-.include <bsd.port.mk>
diff --git a/print/psutils-letter/distinfo b/print/psutils-letter/distinfo
deleted file mode 100644
index 0dc0e5961cc8..000000000000
--- a/print/psutils-letter/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (psutils-p17.tar.gz) = 3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4
-SIZE (psutils-p17.tar.gz) = 62039
diff --git a/print/psutils-letter/files/patch-aa b/print/psutils-letter/files/patch-aa
deleted file mode 100644
index 304c7e1cc481..000000000000
--- a/print/psutils-letter/files/patch-aa
+++ /dev/null
@@ -1,34 +0,0 @@
---- Makefile.unix Wed Mar 12 07:52:59 1997
-+++ Makefile.unix Wed Mar 11 10:10:59 1998
-@@ -222,27 +222,27 @@
- -mkdir $(BINDIR)
- @for i in $(BIN); do \
- echo Installing $$i; \
-- $(INSTALL) $$i $(BINDIR); \
-+ $(BSD_INSTALL_PROGRAM) $$i $(BINDIR); \
- done
-
- install.script: $(PERLSCRIPTS) $(SHELLSCRIPTS)
- -mkdir $(SCRIPTDIR)
- @for i in $(PERLSCRIPTS) $(SHELLSCRIPTS); do \
- echo Installing $$i; \
-- $(INSTALL) $$i $(SCRIPTDIR); \
-+ $(BSD_INSTALL_SCRIPT) $$i $(SCRIPTDIR); \
- done
-
- install.include: $(INCLUDES)
- -mkdir $(INCLUDEDIR)
- @for i in $(INCLUDES); do \
- echo Installing $$i; \
-- $(INSTALLMAN) $$i $(INCLUDEDIR); \
-+ $(BSD_INSTALL_DATA) $$i $(INCLUDEDIR); \
- done
-
- install.man: $(MANPAGES)
- -mkdir $(MANDIR)
- @for i in $(MANPAGES); do \
- echo Installing manual page for $$i; \
-- $(INSTALLMAN) $$i $(MANDIR)/$$i; \
-+ $(BSD_INSTALL_MAN) $$i $(MANDIR)/$$i; \
- done
-
diff --git a/print/psutils-letter/files/patch-b4 b/print/psutils-letter/files/patch-b4
deleted file mode 100644
index 58918fc7a976..000000000000
--- a/print/psutils-letter/files/patch-b4
+++ /dev/null
@@ -1,15 +0,0 @@
---- psutil.c.bak Thu Oct 5 10:17:44 2000
-+++ psutil.c Thu Oct 5 10:17:44 2000
-@@ -48,10 +48,12 @@
- { "a4", 595, 842 }, /* 21cm * 29.7cm */
- { "a5", 421, 595 }, /* 14.85cm * 21cm */
- { "b5", 516, 729 }, /* 18.2cm * 25.72cm */
-+ { "b4", 729, 1032 }, /* 25.72cm * 36.4cm */
- { "A3", 842, 1191 }, /* 29.7cm * 42cm */
- { "A4", 595, 842 }, /* 21cm * 29.7cm */
- { "A5", 421, 595 }, /* 14.85cm * 21cm */
- { "B5", 516, 729 }, /* 18.2cm * 25.72cm */
-+ { "B4", 729, 1032 }, /* 25.72cm * 36.4cm */
- { "letter", 612, 792 }, /* 8.5in * 11in */
- { "legal", 612, 1008 }, /* 8.5in * 14in */
- { "ledger", 1224, 792 }, /* 17in * 11in */
diff --git a/print/psutils-letter/files/patch-epsffit.c b/print/psutils-letter/files/patch-epsffit.c
deleted file mode 100644
index 363fb335dbe9..000000000000
--- a/print/psutils-letter/files/patch-epsffit.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- epsffit.c.org 2011-06-21 04:22:01.000000000 +0900
-+++ epsffit.c 2011-06-21 04:22:16.000000000 +0900
-@@ -39,7 +39,7 @@
- exit(1);
- }
-
--void main(int argc, char **argv)
-+int main(int argc, char **argv)
- {
- int bbfound = 0; /* %%BoundingBox: found */
- int urx, ury, llx, lly;
-@@ -185,5 +185,5 @@
- } else
- message(FATAL, "no %%%%BoundingBox:\n");
-
-- exit(0);
-+ return (0);
- }
diff --git a/print/psutils-letter/files/patch-psbook.c b/print/psutils-letter/files/patch-psbook.c
deleted file mode 100644
index b19ce81deeac..000000000000
--- a/print/psutils-letter/files/patch-psbook.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- psbook.c.orig 2011-06-21 04:19:12.000000000 +0900
-+++ psbook.c 2011-06-21 04:19:36.000000000 +0900
-@@ -32,7 +32,7 @@
- }
-
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- int signature = 0;
- int currentpg, maxpage;
-@@ -107,5 +107,5 @@
- }
- writetrailer();
-
-- exit(0);
-+ return (0);
- }
diff --git a/print/psutils-letter/files/patch-pserror.c b/print/psutils-letter/files/patch-pserror.c
deleted file mode 100644
index a758c5408984..000000000000
--- a/print/psutils-letter/files/patch-pserror.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- pserror.c.orig 2011-06-21 04:20:14.000000000 +0900
-+++ pserror.c 2011-06-21 04:20:31.000000000 +0900
-@@ -24,7 +24,7 @@
- void message(int flags, char *format, ...)
- {
- va_list args ;
-- static column = 0 ; /* current screen column for message wrap */
-+ static int column = 0 ; /* current screen column for message wrap */
- char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */
- char *bufptr = msgbuf ; /* message buffer pointer */
-
diff --git a/print/psutils-letter/files/patch-psnup.c b/print/psutils-letter/files/patch-psnup.c
deleted file mode 100644
index 31ce03a9e268..000000000000
--- a/print/psutils-letter/files/patch-psnup.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- psnup.c.orig 2011-06-21 04:22:34.000000000 +0900
-+++ psnup.c 2011-06-21 04:22:46.000000000 +0900
-@@ -66,7 +66,7 @@
- return (0);
- }
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- int horiz, vert, rotate, column, flip, leftright, topbottom;
- int nup = 1;
-@@ -331,6 +331,6 @@
- pstops(nup, 1, 0, specs, draw); /* do page rearrangement */
- }
-
-- exit(0);
-+ return (0);
- }
-
diff --git a/print/psutils-letter/files/patch-psresize.c b/print/psutils-letter/files/patch-psresize.c
deleted file mode 100644
index d56ec8f0620b..000000000000
--- a/print/psutils-letter/files/patch-psresize.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- psresize.c.orig 2011-06-21 04:23:10.000000000 +0900
-+++ psresize.c 2011-06-21 04:23:27.000000000 +0900
-@@ -46,7 +46,7 @@
- #define MIN(x,y) ((x) > (y) ? (y) : (x))
- #define MAX(x,y) ((x) > (y) ? (x) : (y))
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- double scale, rscale; /* page scale */
- double waste, rwaste; /* amount wasted */
-@@ -175,6 +175,6 @@
-
- pstops(1, 1, 0, specs, 0.0); /* do page rearrangement */
-
-- exit(0);
-+ return (0);
- }
-
diff --git a/print/psutils-letter/files/patch-psselect.c b/print/psutils-letter/files/patch-psselect.c
deleted file mode 100644
index 85cb97ccf773..000000000000
--- a/print/psutils-letter/files/patch-psselect.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- psselect.c.orig 2011-06-21 04:20:51.000000000 +0900
-+++ psselect.c 2011-06-21 04:21:08.000000000 +0900
-@@ -91,7 +91,7 @@
- }
-
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- int currentpg, maxpage = 0;
- int even = 0, odd = 0, reverse = 0;
-@@ -235,5 +235,5 @@
- }
- writetrailer();
-
-- exit(0);
-+ return (0);
- }
diff --git a/print/psutils-letter/files/patch-pstops.c b/print/psutils-letter/files/patch-pstops.c
deleted file mode 100644
index 491c7734c29d..000000000000
--- a/print/psutils-letter/files/patch-pstops.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- pstops.c.orig 2011-06-21 04:21:27.000000000 +0900
-+++ pstops.c 2011-06-21 04:21:41.000000000 +0900
-@@ -112,7 +112,7 @@
- return (head);
- }
-
--void main(int argc, char *argv[])
-+int main(int argc, char *argv[])
- {
- PageSpec *specs = NULL;
- int nobinding = 0;
-@@ -194,5 +194,5 @@
-
- pstops(modulo, pagesperspec, nobinding, specs, draw);
-
-- exit(0);
-+ return (0);
- }
diff --git a/print/psutils-letter/pkg-descr b/print/psutils-letter/pkg-descr
deleted file mode 100644
index 8455799b7335..000000000000
--- a/print/psutils-letter/pkg-descr
+++ /dev/null
@@ -1,23 +0,0 @@
-psbook rearranges pages into signatures
-psselect selects pages and page ranges
-pstops performs general page rearrangement and selection
-psnup put multiple pages per physical sheet of paper
-psresize alter document paper size
-epsffit fits an EPSF file to a given bounding box
-getafm (sh) outputs PostScript to retrieve AFM file from printer
-showchar (sh) outputs PostScript to draw a character with metric info
-fixdlsrps (perl) filter to fix DviLaser/PS output so that PSUtils works
-fixfmps (perl) filter to fix framemaker documents so that psselect etc. work
-fixmacps (perl) filter to fix Macintosh documents with saner version of md
-fixpsditps (perl) filter to fix Transcript psdit documents to work with PSUtils
-fixpspps (perl) filter to fix PSPrint PostScript so that psselect etc. work
-fixscribeps (perl) filter to fix Scribe PostScript so that psselect etc. work
-fixtpps (perl) filter to fix Troff Tpscript documents
-fixwfwps (perl) filter to fix Word for Windows documents for PSUtils
-fixwpps (perl) filter to fix WordPerfect documents for PSUtils
-fixwwps (perl) filter to fix Windows Write documents for PSUtils
-extractres (perl) filter to extract resources from PostScript files
-includeres (perl) filter to include resources into PostScript files
-psmerge (perl) hack script to merge multiple PostScript files
-
-WWW: http://gershwin.ens.fr/vdaniel/Doc-Locale/Outils-Gnu-Linux/PsUtils/
diff --git a/print/psutils-letter/pkg-plist b/print/psutils-letter/pkg-plist
deleted file mode 100644
index 9ce00d19f2ef..000000000000
--- a/print/psutils-letter/pkg-plist
+++ /dev/null
@@ -1,25 +0,0 @@
-@comment $FreeBSD$
-bin/psbook
-bin/psselect
-bin/pstops
-bin/epsffit
-bin/psnup
-bin/psresize
-bin/getafm
-bin/fixfmps
-bin/fixmacps
-bin/fixpsditps
-bin/fixpspps
-bin/fixtpps
-bin/fixwfwps
-bin/fixwpps
-bin/fixscribeps
-bin/fixwwps
-bin/fixdlsrps
-bin/extractres
-bin/includeres
-bin/psmerge
-bin/showchar
-%%DATADIR%%/md68_0.ps
-%%DATADIR%%/md71_0.ps
-@dirrm %%DATADIR%%
diff --git a/print/psutils-letter/scripts/configure b/print/psutils-letter/scripts/configure
deleted file mode 100644
index 34ef84063264..000000000000
--- a/print/psutils-letter/scripts/configure
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-cd $WRKSRC || exit 1
-cp Makefile.unix Makefile
-cat >>Makefile<<END
-BINDIR = $PREFIX/bin
-INCLUDEDIR = $DATADIR
-MANDIR =$MANPREFIX/man/man1
-PERL = $PERL5
-CC=${CC}
-PAPER=${PAPER}
-END
-exit 0