ports/51053: Update port: graphics/epstool to 3.0
KATO Tsuguru
tkato at prontomail.com
Wed Apr 16 18:40:35 UTC 2003
>Number: 51053
>Category: ports
>Synopsis: Update port: graphics/epstool to 3.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 16 11:40:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.0
Remove file:
files/patch-aa
files/patch-ab
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/epstool/Makefile graphics/epstool/Makefile
--- /usr/ports/graphics/epstool/Makefile Sat Apr 12 22:48:21 2003
+++ graphics/epstool/Makefile Tue Apr 15 04:28:33 2003
@@ -6,31 +6,30 @@
#
PORTNAME= epstool
-PORTVERSION= 2.10
+PORTVERSION= 3.0
CATEGORIES= graphics
MASTER_SITES= ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/
-DISTNAME= gsv42src
MAINTAINER= ports at FreeBSD.org
COMMENT= Create or extract preview bitmaps in EPS files
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
-USE_ZIP= yes
-MAKEFILE= makefile.unx
+USE_GMAKE= yes
+MAKEFILE= makefile
+MAKE_ARGS= MAKE="${GMAKE}" CC="${CC}" CDEBUG="${CFLAGS}" LINK="${CC}" \
+ EPSLIB=""
+ALL_TARGET= ${PORTNAME}
post-extract:
-.for file in epstool.zip src.zip
- @cd ${WRKDIR} && unzip -q -aa ${file}
-.endfor
+ @${RM} -f ${WRKSRC}/epstool
-post-install:
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/epstool.htm ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/../gsview.css ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff -urN /usr/ports/graphics/epstool/distinfo graphics/epstool/distinfo
--- /usr/ports/graphics/epstool/distinfo Sun Feb 10 08:31:58 2002
+++ graphics/epstool/distinfo Tue Apr 15 04:20:08 2003
@@ -1 +1 @@
-MD5 (gsv42src.zip) = b22a9f76b4741687a5d0bc81c91219d9
+MD5 (epstool-3.0.tar.gz) = 5de32de51f41939f9d3a388d0e8ccbcb
diff -urN /usr/ports/graphics/epstool/files/patch-aa graphics/epstool/files/patch-aa
--- /usr/ports/graphics/epstool/files/patch-aa Mon Jan 15 23:21:31 2001
+++ graphics/epstool/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,27 +0,0 @@
---- makefile.unx.orig Mon Nov 6 09:58:48 2000
-+++ makefile.unx Thu Jan 11 22:48:17 2001
-@@ -20,13 +20,13 @@
- RM=/bin/rm -f
- SHELL=/bin/sh
-
--BINDIR=/usr/local/bin
--INCLUDES=-I/usr/openwin/include -I../src -I.
-+BINDIR=${PREFIX}/bin
-+INCLUDES=-I../src -I.
- LIBS=
- # if you have a strict ANSI compiler, add -D__STDC__
- DEFINES=-DUNIX -DEPSTOOL -DHAVE_UNISTD_H
- OBJ=o
--CC=gcc
-+#CC=gcc
-
- OBJS=epstool.$(OBJ) gvceps.$(OBJ) dscparse.$(OBJ) dscutil.$(OBJ)
-
-@@ -61,5 +61,5 @@
- -$(RM) epstool
-
- install: epstool
-- cp epstool $(BINDIR)
-- chmod 755 $(BINDIR)/epstool
-+ ${BSD_INSTALL_PROGRAM} epstool $(BINDIR)
-+
diff -urN /usr/ports/graphics/epstool/files/patch-ab graphics/epstool/files/patch-ab
--- /usr/ports/graphics/epstool/files/patch-ab Sat Dec 8 12:38:17 2001
+++ graphics/epstool/files/patch-ab Thu Jan 1 09:00:00 1970
@@ -1,45 +0,0 @@
---- 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;
-@@ -167,9 +167,9 @@
- find_gs(gsname, sizeof(gsname)-1, 550, FALSE);
- #endif
- #ifdef UNIX
-- strcpy(devname, "pbmraw");
-+ strcpy(gsdevname, "pbmraw");
- #else
-- strcpy(devname, "bmpmono");
-+ strcpy(gsdevname, "bmpmono");
- #endif
- if (scan_args(argc, argv))
- return 1;
-@@ -463,10 +463,10 @@
- fclose(tempfile);
- #ifdef UNIX
- 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);
-+ gsdevname, bmpname, resolution, width, height, tempname);
- if (!quiet) {
- fputs(gscommand, stderr);
- fputs("\n", stderr);
-@@ -654,7 +654,7 @@
- break;
- case 'z':
- if (argp[2])
-- strcpy(devname, argp+2);
-+ strcpy(gsdevname, argp+2);
- break;
- case 'c':
- if (got_op) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list