diff options
-rw-r--r-- | print/poster/Makefile | 15 | ||||
-rw-r--r-- | print/poster/distinfo | 11 | ||||
-rw-r--r-- | print/poster/patches/patch-aa | 13 | ||||
-rw-r--r-- | print/poster/patches/patch-ab | 14 |
4 files changed, 22 insertions, 31 deletions
diff --git a/print/poster/Makefile b/print/poster/Makefile index d49c9c35e8e..0e9f01968a8 100644 --- a/print/poster/Makefile +++ b/print/poster/Makefile @@ -1,21 +1,22 @@ -# $NetBSD: Makefile,v 1.6 2007/01/07 09:14:09 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2007/06/06 11:05:21 markd Exp $ -DISTNAME= poster -PKGNAME= poster-1.0 +DISTNAME= poster-20060221 CATEGORIES= print -MASTER_SITES= ftp://ftp.ics.ele.tue.nl/pub/users/jos/poster/ +MASTER_SITES= ftp://ftp.kde.org/pub/kde/printing/ +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://printing.kde.org/downloads/ COMMENT= Resize a ps image to print on larger media and/or multiple sheets +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= poster -WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/poster ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/poster.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .include "../../mk/bsd.pkg.mk" diff --git a/print/poster/distinfo b/print/poster/distinfo index 2e1b1f9b57a..7e2816d17c7 100644 --- a/print/poster/distinfo +++ b/print/poster/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:51:44 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/06/06 11:05:21 markd Exp $ -SHA1 (poster.tar.gz) = 5e595b3f2698f5993cf5a52846d8236823509896 -RMD160 (poster.tar.gz) = 56ef8d87c70b170cec32fa8e0ef5cfe051f628ea -Size (poster.tar.gz) = 28585 bytes -SHA1 (patch-aa) = d99c44401de6d53a3142352eb2a835d9736c7b8d -SHA1 (patch-ab) = 71e2d2219f7b18fa7514b202c048926fcf53bd0a +SHA1 (poster-20060221.tar.bz2) = cde5d3ba28d444e68cc30573eaa660ea8ef7f16b +RMD160 (poster-20060221.tar.bz2) = f5ba5a4ebeacd04051a682b9285c33f54e311da0 +Size (poster-20060221.tar.bz2) = 33770 bytes +SHA1 (patch-ab) = b8c371e850b4d3eb8bf50d4324a275546e1fcd7a diff --git a/print/poster/patches/patch-aa b/print/poster/patches/patch-aa deleted file mode 100644 index 3af00048ef1..00000000000 --- a/print/poster/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$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 index 1e374eaa628..d20ae7efa5b 100644 --- a/print/poster/patches/patch-ab +++ b/print/poster/patches/patch-ab @@ -1,10 +1,14 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/08/20 01:16:21 jschauma Exp $ +$NetBSD: patch-ab,v 1.2 2007/06/06 11:05:21 markd Exp $ ---- Makefile.orig 2004-08-19 20:58:14.000000000 -0400 -+++ Makefile 2004-08-19 20:58:38.000000000 -0400 -@@ -1,5 +1,5 @@ +--- Makefile.orig 2002-08-30 04:15:37.000000000 +1200 ++++ Makefile +@@ -1,8 +1,8 @@ +-CFLAGS = -g -Wall ++#CFLAGS = -g -Wall + #CFLAGS = -O2 -Wall + poster: poster.c -- gcc -O -o poster poster.c -lm +- gcc $(CFLAGS) -o poster poster.c -lm + ${CC} ${CFLAGS} -o poster poster.c -lm # HPUX: cc -O -Aa -D_POSIX_SOURCE -o poster poster.c -lm |