Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2000 13:09:16 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16965: Update port: graphics/epstool to 1.08
Message-ID:  <200002242109.NAA28343@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         16965
>Category:       ports
>Synopsis:       Update port: graphics/epstool to 1.08
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 24 13:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 3.4-RELEASE
>Organization:
>Environment:
>Description:
- Update to version 1.08

New file:
patches/patch-ac

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/epstool/Makefile graphics/epstool/Makefile
--- /usr/ports/graphics/epstool/Makefile	Fri Dec 24 08:14:48 1999
+++ graphics/epstool/Makefile	Fri Feb 25 04:44:16 2000
@@ -1,16 +1,16 @@
 # New ports collection makefile for:	epstool
-# Version required:	1.06
+# Version required:	1.08
 # Date created:		23 October 1999
 # Whom:			Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
 #
 # $FreeBSD: ports/graphics/epstool/Makefile,v 1.2 1999/12/23 18:09:20 steve Exp $
 #
 
-DISTNAME=	epstool-106
-PKGNAME=	epstool-1.06
+DISTNAME=	epstool-108
+PKGNAME=	epstool-1.08
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.cs.wisc.edu/ghost/rjl/ \
-		ftp://ftp.fh-koblenz.de/pub/Ghostscript/rjl/
+MASTER_SITES=	ftp://ftp.cs.wisc.edu/ghost/ghostgum/ \
+		ftp://ftp.fh-koblenz.de/pub/Ghostscript/ghostgum/
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -20,7 +20,9 @@
 WRKSRC=		${WRKDIR}/epstool
 
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/epstool
-	${INSTALL_DATA} ${WRKSRC}/epstool.txt ${PREFIX}/share/doc/epstool
+	${INSTALL_DATA} ${WRKSRC}/epstool.htm ${PREFIX}/share/doc/epstool
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/epstool/files/md5 graphics/epstool/files/md5
--- /usr/ports/graphics/epstool/files/md5	Sat Nov 27 05:25:32 1999
+++ graphics/epstool/files/md5	Fri Feb 25 04:01:17 2000
@@ -1 +1 @@
-MD5 (epstool-106.tar.gz) = 1b86df4d4420995090867dcc3882febb
+MD5 (epstool-108.tar.gz) = b1ad618f11638c828ad56db120f4b97a
diff -urN /usr/ports/graphics/epstool/patches/patch-aa graphics/epstool/patches/patch-aa
--- /usr/ports/graphics/epstool/patches/patch-aa	Fri Dec 24 08:14:48 1999
+++ graphics/epstool/patches/patch-aa	Fri Feb 25 04:42:31 2000
@@ -1,5 +1,5 @@
---- makefile.unx.orig	Sun Aug 23 05:14:04 1998
-+++ makefile.unx	Tue Dec  7 00:50:56 1999
+--- makefile.unx.orig	Sat Dec  5 04:05:34 1998
++++ makefile.unx	Fri Feb 25 04:42:20 2000
 @@ -20,13 +20,13 @@
  RM=/bin/rm -f
  SHELL=/bin/sh
@@ -7,7 +7,7 @@
 -BINDIR=/usr/local/bin
 -INCLUDES=-I/usr/openwin/include
 +BINDIR=${PREFIX}/bin
-+INCLUDES=-I${X11BASE}/include
++INCLUDES=
  LIBS=
  # if you have a strict ANSI compiler, add -D__STDC__
  DEFINES=-DUNIX -DEPSTOOL -DHAVE_UNISTD_H
diff -urN /usr/ports/graphics/epstool/patches/patch-ab graphics/epstool/patches/patch-ab
--- /usr/ports/graphics/epstool/patches/patch-ab	Sat Nov 27 05:25:32 1999
+++ graphics/epstool/patches/patch-ab	Fri Feb 25 04:10:04 2000
@@ -1,5 +1,5 @@
---- epstool.c.orig	Sun Sep 13 09:52:52 1998
-+++ epstool.c	Sat Oct 23 17:59:46 1999
+--- epstool.c.orig	Tue Feb 15 08:52:06 2000
++++ epstool.c	Fri Feb 25 04:09:56 2000
 @@ -25,7 +25,7 @@
  char upname[MAXSTR];
  char gsname[MAXSTR] = GSCOMMAND;
@@ -9,7 +9,7 @@
  char szScratch[] = "ep";
  char szAppName[] = "epstool";
  int resolution = 72;
-@@ -87,9 +87,9 @@
+@@ -90,9 +90,9 @@
  main(int argc, char *argv[])
  {
  #ifdef UNIX
@@ -21,7 +21,7 @@
  #endif
  	if (scan_args(argc, argv))
  	   return 1;
-@@ -252,10 +252,10 @@
+@@ -260,10 +260,10 @@
  	fclose(tempfile);
  #ifdef UNIX
  	sprintf(gscommand, "%s -dNOPAUSE -dQUIET -sDEVICE=%s -sOutputFile=\042%s\042 -r%d -g%dx%d %s",
@@ -34,7 +34,7 @@
  	if (!quiet) {
  	    fputs(gscommand, stderr);
  	    fputs("\n", stderr);
-@@ -409,7 +409,7 @@
+@@ -429,7 +429,7 @@
  		  break;
  		case 'z':
  		  if (argp[2])
@@ -43,3 +43,12 @@
  		  break;
  		case 'c':
  		  if (got_op) {
+@@ -566,7 +566,7 @@
+ 
+ 	strcat(fname, prefix);
+ 	strcat(fname, "XXXXXX");
+-	mktemp(fname);
++	mkstemp(fname);
+ 	return fopen(fname, mode);
+ }
+ 
diff -urN /usr/ports/graphics/epstool/patches/patch-ac graphics/epstool/patches/patch-ac
--- /usr/ports/graphics/epstool/patches/patch-ac	Thu Jan  1 09:00:00 1970
+++ graphics/epstool/patches/patch-ac	Fri Feb 25 04:41:00 2000
@@ -0,0 +1,12 @@
+--- ps.c.orig	Tue Feb  8 10:05:04 2000
++++ ps.c	Fri Feb 25 04:40:49 2000
+@@ -64,7 +64,9 @@
+ #include <stdlib.h>
+ #endif
+ #include <ctype.h>
++#if !defined(__FreeBSD__)
+ #include <X11/Xos.h>		/* #includes the appropriate <string.h> */
++#endif
+ #define pserror(str) fprintf(stderr,str)
+ #endif
+ #include "ps.h"
diff -urN /usr/ports/graphics/epstool/pkg/PLIST graphics/epstool/pkg/PLIST
--- /usr/ports/graphics/epstool/pkg/PLIST	Sat Nov 27 05:25:32 1999
+++ graphics/epstool/pkg/PLIST	Fri Feb 25 04:06:22 2000
@@ -1,3 +1,3 @@
 bin/epstool
-share/doc/epstool/epstool.txt
+share/doc/epstool/epstool.htm
 @dirrm share/doc/epstool


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002242109.NAA28343>