diff options
author | Steve Price <steve@FreeBSD.org> | 1999-11-26 20:25:32 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-11-26 20:25:32 +0000 |
commit | 6cf3c0ffad50c8301e00cab03e6f5037616e0d8c (patch) | |
tree | 2ee3964596860be9250112e45b8c372d7cf32f41 /graphics/epstool/files | |
parent | Activate the gtic and radreport ports. (diff) |
Initial import of epstool version 1.06.
A tool creating and extracting preview bitmaps in EPS files.
PR: 14459
Submitted by: Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp>
Diffstat (limited to 'graphics/epstool/files')
-rw-r--r-- | graphics/epstool/files/patch-aa | 21 | ||||
-rw-r--r-- | graphics/epstool/files/patch-ab | 45 |
2 files changed, 66 insertions, 0 deletions
diff --git a/graphics/epstool/files/patch-aa b/graphics/epstool/files/patch-aa new file mode 100644 index 000000000000..b72097fd4ef9 --- /dev/null +++ b/graphics/epstool/files/patch-aa @@ -0,0 +1,21 @@ +--- makefile.unx.orig Sat Oct 23 18:00:19 1999 ++++ makefile.unx Sat Oct 23 19:24:37 1999 +@@ -20,8 +20,8 @@ + RM=/bin/rm -f + SHELL=/bin/sh + +-BINDIR=/usr/local/bin +-INCLUDES=-I/usr/openwin/include ++BINDIR=${PREFIX}/bin ++INCLUDES=-I/usr/X11R6/include + LIBS= + # if you have a strict ANSI compiler, add -D__STDC__ + DEFINES=-DUNIX -DEPSTOOL -DHAVE_UNISTD_H +@@ -54,5 +54,5 @@ + -$(RM) epstool + + install: epstool +- cp epstool $(BINDIR) +- chmod 755 $(BINDIR)/epstool ++ install -c -s -g bin -o root -m 755 epstool $(BINDIR) ++ diff --git a/graphics/epstool/files/patch-ab b/graphics/epstool/files/patch-ab new file mode 100644 index 000000000000..716545b464ac --- /dev/null +++ b/graphics/epstool/files/patch-ab @@ -0,0 +1,45 @@ +--- epstool.c.orig Sun Sep 13 09:52:52 1998 ++++ epstool.c Sat Oct 23 17:59:46 1999 +@@ -25,7 +25,7 @@ + char upname[MAXSTR]; + char gsname[MAXSTR] = GSCOMMAND; + char bmpname[MAXSTR]; +-char devname[MAXSTR]; ++char gsdevname[MAXSTR]; + char szScratch[] = "ep"; + char szAppName[] = "epstool"; + int resolution = 72; +@@ -87,9 +87,9 @@ + main(int argc, char *argv[]) + { + #ifdef UNIX +- strcpy(devname, "pbmraw"); ++ strcpy(gsdevname, "pbmraw"); + #else +- strcpy(devname, "bmpmono"); ++ strcpy(gsdevname, "bmpmono"); + #endif + if (scan_args(argc, argv)) + return 1; +@@ -252,10 +252,10 @@ + fclose(tempfile); + #ifdef UNIX + sprintf(gscommand, "%s -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); + #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); ++ gsdevname, bmpname, resolution, width, height, tempname); + if (!quiet) { + fputs(gscommand, stderr); + fputs("\n", stderr); +@@ -409,7 +409,7 @@ + break; + case 'z': + if (argp[2]) +- strcpy(devname, argp+2); ++ strcpy(gsdevname, argp+2); + break; + case 'c': + if (got_op) { |