mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update port to 1.08
PR: 16965 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
This commit is contained in:
parent
a9f5e94d36
commit
80053aa18e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26418
@ -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$
|
||||
#
|
||||
|
||||
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 @@ MAKEFILE= makefile.unx
|
||||
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>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (epstool-106.tar.gz) = 1b86df4d4420995090867dcc3882febb
|
||||
MD5 (epstool-108.tar.gz) = b1ad618f11638c828ad56db120f4b97a
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
bin/epstool
|
||||
share/doc/epstool/epstool.txt
|
||||
share/doc/epstool/epstool.htm
|
||||
@dirrm share/doc/epstool
|
||||
|
Loading…
Reference in New Issue
Block a user