summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-23 18:09:31 +0000
committersteve <steve@FreeBSD.org>1999-12-23 18:09:31 +0000
commitfaab70881353631ec38e28a71f8bc363b500a6ee (patch)
treec593f19bb9d1076e0d09bd4a7b051b96606fbdb0
parent42ddfe3391b9844f5d6caa13fa9a8b61c47921ac (diff)
downloadFreeBSD-ports-faab70881353631ec38e28a71f8bc363b500a6ee.zip
FreeBSD-ports-faab70881353631ec38e28a71f8bc363b500a6ee.tar.gz
* Modified patches to support CC/X11BASE properly
* Added WWW: line into pkg/DESCR PR: 15336 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
-rw-r--r--graphics/epstool/Makefile5
-rw-r--r--graphics/epstool/files/patch-aa16
-rw-r--r--graphics/epstool/pkg-descr2
3 files changed, 15 insertions, 8 deletions
diff --git a/graphics/epstool/Makefile b/graphics/epstool/Makefile
index 044919a..0a56783 100644
--- a/graphics/epstool/Makefile
+++ b/graphics/epstool/Makefile
@@ -20,8 +20,7 @@ MAKEFILE= makefile.unx
WRKSRC= ${WRKDIR}/epstool
post-install:
- ${MKDIR} ${PREFIX}/bin ${PREFIX}/share/doc/epstool
- ${INSTALL_DATA} ${WRKSRC}/epstool.txt \
- ${PREFIX}/share/doc/epstool/epstool.txt
+ @${MKDIR} ${PREFIX}/share/doc/epstool
+ ${INSTALL_DATA} ${WRKSRC}/epstool.txt ${PREFIX}/share/doc/epstool
.include <bsd.port.mk>
diff --git a/graphics/epstool/files/patch-aa b/graphics/epstool/files/patch-aa
index b72097f..e62fe4c 100644
--- a/graphics/epstool/files/patch-aa
+++ b/graphics/epstool/files/patch-aa
@@ -1,21 +1,27 @@
---- makefile.unx.orig Sat Oct 23 18:00:19 1999
-+++ makefile.unx Sat Oct 23 19:24:37 1999
-@@ -20,8 +20,8 @@
+--- makefile.unx.orig Sun Aug 23 05:14:04 1998
++++ makefile.unx Tue Dec 7 00:50:56 1999
+@@ -20,13 +20,13 @@
RM=/bin/rm -f
SHELL=/bin/sh
-BINDIR=/usr/local/bin
-INCLUDES=-I/usr/openwin/include
+BINDIR=${PREFIX}/bin
-+INCLUDES=-I/usr/X11R6/include
++INCLUDES=-I${X11BASE}/include
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) ps.$(OBJ)
+
@@ -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)
++ ${BSD_INSTALL_PROGRAM} epstool $(BINDIR)
+
diff --git a/graphics/epstool/pkg-descr b/graphics/epstool/pkg-descr
index 90b8e2b..284ba5d 100644
--- a/graphics/epstool/pkg-descr
+++ b/graphics/epstool/pkg-descr
@@ -11,3 +11,5 @@ Features:
Please read text '/usr/local/share/doc/epstool/epstool.txt'
- Yuzo FURUKAWA
+
+WWW: http://www.cs.wisc.edu/~ghost/gsview/epstool.html
OpenPOWER on IntegriCloud