diff options
author | jschauma <jschauma> | 2004-08-20 01:16:21 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2004-08-20 01:16:21 +0000 |
commit | 3cff53c3af64653a621932316d0b2e6fdbd20961 (patch) | |
tree | 736d023c4498f9c41ff327541606e81c9410296b /print | |
parent | 4406e8504e54b1f7a77627dfae43a09d11827656 (diff) | |
download | pkgsrc-3cff53c3af64653a621932316d0b2e6fdbd20961.tar.gz |
Import 'poster' package, based on the FreeBSD port, converted using
port2pkg.
Here you have the new release of `poster', to scale postscript
images to a larger size, and print them on larger media and/or
tile them to print on multiple sheets.
With respect to the earlier release:
- support is added for foreign (Non European A*) media sizes.
- options for scaling became more flexible
- original restrictions on white margins in your drawing are removed.
For a complete explanation see the accompanying manual.
Diffstat (limited to 'print')
-rw-r--r-- | print/poster/DESCR | 8 | ||||
-rw-r--r-- | print/poster/Makefile | 20 | ||||
-rw-r--r-- | print/poster/PLIST | 3 | ||||
-rw-r--r-- | print/poster/distinfo | 6 | ||||
-rw-r--r-- | print/poster/patches/patch-aa | 13 | ||||
-rw-r--r-- | print/poster/patches/patch-ab | 11 |
6 files changed, 61 insertions, 0 deletions
diff --git a/print/poster/DESCR b/print/poster/DESCR new file mode 100644 index 00000000000..3737d7a1312 --- /dev/null +++ b/print/poster/DESCR @@ -0,0 +1,8 @@ +Here you have the new release of `poster', to scale postscript +images to a larger size, and print them on larger media and/or +tile them to print on multiple sheets. +With respect to the earlier release: +- support is added for foreign (Non European A*) media sizes. +- options for scaling became more flexible +- original restrictions on white margins in your drawing are removed. +For a complete explanation see the accompanying manual. diff --git a/print/poster/Makefile b/print/poster/Makefile new file mode 100644 index 00000000000..6c5a3a043ed --- /dev/null +++ b/print/poster/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ +# FreeBSD Id: ports/print/poster/Makefile,v 1.6 2004/02/06 13:12:14 trevor Exp + +DISTNAME= poster +PKGNAME= poster-1.0 +CATEGORIES= print +MASTER_SITES= ftp://ftp.ics.ele.tue.nl/pub/users/jos/poster/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://printing.kde.org/downloads/ +COMMENT= Resize a ps image to print on larger media and/or multiple sheets + +ALL_TARGET= poster +WRKSRC= ${WRKDIR} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/man/man1/ + +.include "../../mk/bsd.pkg.mk" diff --git a/print/poster/PLIST b/print/poster/PLIST new file mode 100644 index 00000000000..96e08b67a6a --- /dev/null +++ b/print/poster/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ +bin/poster +man/man1/poster.1 diff --git a/print/poster/distinfo b/print/poster/distinfo new file mode 100644 index 00000000000..b798457c134 --- /dev/null +++ b/print/poster/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ + +SHA1 (poster.tar.gz) = 5e595b3f2698f5993cf5a52846d8236823509896 +Size (poster.tar.gz) = 28585 bytes +SHA1 (patch-aa) = d99c44401de6d53a3142352eb2a835d9736c7b8d +SHA1 (patch-ab) = 71e2d2219f7b18fa7514b202c048926fcf53bd0a diff --git a/print/poster/patches/patch-aa b/print/poster/patches/patch-aa new file mode 100644 index 00000000000..3af00048ef1 --- /dev/null +++ b/print/poster/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ + +--- poster.c.org Thu Apr 29 00:22:46 1999 ++++ poster.c Sun Jan 30 00:48:11 2000 +@@ -570,7 +570,7 @@ + + got_bb = 0; + dsc_cont = inbody = gotall = level = atend = 0; +- while (!gotall && (gets(buf) != NULL)) ++ while (!gotall && (fgets(buf, BUFSIZE, stdin) != NULL)) + { + if (buf[0] != '%') + { dsc_cont = 0; diff --git a/print/poster/patches/patch-ab b/print/poster/patches/patch-ab new file mode 100644 index 00000000000..1e374eaa628 --- /dev/null +++ b/print/poster/patches/patch-ab @@ -0,0 +1,11 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ + +--- Makefile.orig 2004-08-19 20:58:14.000000000 -0400 ++++ Makefile 2004-08-19 20:58:38.000000000 -0400 +@@ -1,5 +1,5 @@ + poster: poster.c +- gcc -O -o poster poster.c -lm ++ ${CC} ${CFLAGS} -o poster poster.c -lm + + # HPUX: cc -O -Aa -D_POSIX_SOURCE -o poster poster.c -lm + # Note that this program might trigger a stupid bug in the HPUX C library, |