Index: head/print/poster/Makefile =================================================================== --- head/print/poster/Makefile (revision 434933) +++ head/print/poster/Makefile (revision 434934) @@ -1,24 +1,27 @@ # Created by: Yoshiro MIHIRA # $FreeBSD$ PORTNAME= poster PORTVERSION= 1.0 CATEGORIES= print MASTER_SITES= ftp://ftp.ics.ele.tue.nl/pub/users/jos/poster/ DISTNAME= poster MAINTAINER= ports@FreeBSD.org COMMENT= Resize a postscript image to print on larger media and/or multiple sheets +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + ALL_TARGET= poster MAKEFILE= /dev/null MAKE_ENV= LDLIBS="-lm" NO_WRKSUBDIR= yes PLIST_FILES= bin/poster man/man1/poster.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${DISTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/print/poster/files/patch-poster.c =================================================================== --- head/print/poster/files/patch-poster.c (revision 434933) +++ head/print/poster/files/patch-poster.c (revision 434934) @@ -1,11 +1,11 @@ ---- poster.c.org Thu Apr 29 00:22:46 1999 -+++ poster.c Sun Jan 30 00:48:11 2000 -@@ -570,7 +570,7 @@ +--- poster.c.orig 1999-04-28 15:22:46 UTC ++++ poster.c +@@ -570,7 +570,7 @@ static int dsc_infile( double ps_bb[4]) 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;