aboutsummaryrefslogtreecommitdiff
path: root/graphics/epstool
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-08 03:38:17 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-08 03:38:17 +0000
commitd54f69f1557d9392de6f4d699abf123fb88d2afb (patch)
tree253e0f2be270a9ba75089e88358d3c699b1d709a /graphics/epstool
parent66a6ac76f4dab75f5f609770e64b3eedc9edfdbc (diff)
downloadports-d54f69f1557d9392de6f4d699abf123fb88d2afb.tar.gz
ports-d54f69f1557d9392de6f4d699abf123fb88d2afb.zip
Notes
Diffstat (limited to 'graphics/epstool')
-rw-r--r--graphics/epstool/Makefile9
-rw-r--r--graphics/epstool/distinfo2
-rw-r--r--graphics/epstool/files/patch-ab20
-rw-r--r--graphics/epstool/pkg-plist1
4 files changed, 17 insertions, 15 deletions
diff --git a/graphics/epstool/Makefile b/graphics/epstool/Makefile
index 696338aadd72..bf51dbffc42b 100644
--- a/graphics/epstool/Makefile
+++ b/graphics/epstool/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= epstool
-PORTVERSION= 1.80
+PORTVERSION= 2.00
CATEGORIES= graphics
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/
-DISTNAME= gsv40src
+DISTNAME= gsv41src
MAINTAINER= ports@FreeBSD.org
@@ -27,8 +27,9 @@ post-extract:
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/epstool
- ${INSTALL_DATA} ${WRKSRC}/epstool.htm ${PREFIX}/share/doc/epstool
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/epstool.htm ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/../gsview.css ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/graphics/epstool/distinfo b/graphics/epstool/distinfo
index 839b45fca913..0e09df171a61 100644
--- a/graphics/epstool/distinfo
+++ b/graphics/epstool/distinfo
@@ -1 +1 @@
-MD5 (gsv40src.zip) = e339cdadea5553327705678af2b27384
+MD5 (gsv41src.zip) = 7ed1ce1ab4806410d5f57a7af289f7f0
diff --git a/graphics/epstool/files/patch-ab b/graphics/epstool/files/patch-ab
index 340756bc1e1c..885284021dbe 100644
--- a/graphics/epstool/files/patch-ab
+++ b/graphics/epstool/files/patch-ab
@@ -1,15 +1,15 @@
---- epstool.cpp.orig Fri Jun 30 08:39:14 2000
-+++ epstool.cpp Mon Jul 10 23:08:53 2000
-@@ -25,7 +25,7 @@
- char upname[MAXSTR];
+--- epstool.c.orig Fri Nov 23 16:43:50 2001
++++ epstool.c Sun Dec 2 05:05:41 2001
+@@ -26,7 +26,7 @@
char gsname[MAXSTR] = GSCOMMAND;
+ char gsarg[MAXSTR];
char bmpname[MAXSTR];
-char devname[MAXSTR];
+char gsdevname[MAXSTR];
char szScratch[] = "ep";
char szAppName[] = "epstool";
int resolution = 72;
-@@ -132,9 +132,9 @@
+@@ -167,9 +167,9 @@
find_gs(gsname, sizeof(gsname)-1, 550, FALSE);
#endif
#ifdef UNIX
@@ -21,12 +21,12 @@
#endif
if (scan_args(argc, argv))
return 1;
-@@ -375,10 +375,10 @@
+@@ -463,10 +463,10 @@
fclose(tempfile);
#ifdef UNIX
- sprintf(gscommand, "\042%s\042 -dNOPAUSE -dQUIET -sDEVICE=%s -sOutputFile=\042%s\042 -r%d -g%dx%d %s",
-- gsname, devname, bmpname, resolution, width, height, tempname);
-+ gsname, gsdevname, bmpname, resolution, width, height, tempname);
+ sprintf(gscommand, "\042%s\042 %s -dNOPAUSE -dQUIET -sDEVICE=%s -sOutputFile=\042%s\042 -r%d -g%dx%d %s",
+- gsname, gsarg, devname, bmpname, resolution, width, height, tempname);
++ gsname, gsarg, gsdevname, bmpname, resolution, width, height, tempname);
#else
sprintf(gscommand, "-dNOPAUSE\n-dQUIET\n-sDEVICE=%s\n-sOutputFile=\042%s\042\n-r%d\n-g%dx%d\n\042%s\042",
- devname, bmpname, resolution, width, height, tempname);
@@ -34,7 +34,7 @@
if (!quiet) {
fputs(gscommand, stderr);
fputs("\n", stderr);
-@@ -548,7 +548,7 @@
+@@ -654,7 +654,7 @@
break;
case 'z':
if (argp[2])
diff --git a/graphics/epstool/pkg-plist b/graphics/epstool/pkg-plist
index 8a4e350a668c..79aed863231c 100644
--- a/graphics/epstool/pkg-plist
+++ b/graphics/epstool/pkg-plist
@@ -1,3 +1,4 @@
bin/epstool
%%PORTDOCS%%share/doc/epstool/epstool.htm
+%%PORTDOCS%%share/doc/epstool/gsview.css
%%PORTDOCS%%@dirrm share/doc/epstool