summaryrefslogtreecommitdiff
path: root/textproc/gmat
diff options
context:
space:
mode:
authorJens Schweikhardt <schweikh@FreeBSD.org>2002-12-30 11:31:49 +0000
committerJens Schweikhardt <schweikh@FreeBSD.org>2002-12-30 11:31:49 +0000
commitf537a9bf205d1e5fc8cc6d0f0c243d63cdb75453 (patch)
tree3cd5893837f603406d6546a89399c3b66bb97dc3 /textproc/gmat
parentUpdate to the Dec 13, 2002 version: (diff)
Unbreak this port by replacing the run-time dependency to the
forbidden ghostscript port with one to gv. Reviewed by: grog (MAINTAINER) Approved by: portmgr (kris via grog)
Notes
Notes: svn path=/head/; revision=71984
Diffstat (limited to 'textproc/gmat')
-rw-r--r--textproc/gmat/Makefile6
-rw-r--r--textproc/gmat/files/patch-ae15
-rw-r--r--textproc/gmat/pkg-plist1
3 files changed, 19 insertions, 3 deletions
diff --git a/textproc/gmat/Makefile b/textproc/gmat/Makefile
index fa41cba001d8..0aa5944ed6f7 100644
--- a/textproc/gmat/Makefile
+++ b/textproc/gmat/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmat
PORTVERSION= 0.2.4b
-PORTREVISION= 1
+PORTREVISION= 2
WRKSRC= ${WRKDIR}/${PORTNAME}-0.2.4
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.ora.com/pub/gmat/
@@ -17,7 +17,7 @@ MAINTAINER= grog@FreeBSD.Org
RUN_DEPENDS= ${LOCALBASE}/bin/nsgmls:${PORTSDIR}/textproc/sp \
${LOCALBASE}/bin/procmail:${PORTSDIR}/mail/procmail \
${LOCALBASE}/share/sgml/docbook/3.1/docbook.dtd:${PORTSDIR}/textproc/docbook-310 \
- ghostview:${PORTSDIR}/print/ghostview
+ gv:${PORTSDIR}/print/gv
post-install:
(cd ${WRKSRC}; tar cf - test) | (cd ${LOCALBASE}/share/gmat; tar xvf -)
@@ -26,5 +26,5 @@ post-install:
sed < CATALOG "s:/usr/local/prod/sgml/DocBook:${LOCALBASE}/share/sgml/docbook:g; \
s:/usr/local/prod:${LOCALBASE}/share/gmat:g" \
> ${LOCALBASE}/share/gmat/test/CATALOG )
-
+
.include <bsd.port.mk>
diff --git a/textproc/gmat/files/patch-ae b/textproc/gmat/files/patch-ae
new file mode 100644
index 000000000000..af0ded91b06d
--- /dev/null
+++ b/textproc/gmat/files/patch-ae
@@ -0,0 +1,15 @@
+--- bin/gmat.troff~ Fri Dec 27 15:20:10 2002
++++ bin/gmat.troff Fri Dec 27 15:20:33 2002
+@@ -519,10 +519,10 @@
+ # HANDLE RETURN CODE!
+ } elsif ($preview) {
+ print STDERR "Previewing $file.\n" if $VERBOSE;
+- print COMMANDS "ghostview $grops_temp\n";
++ print COMMANDS "gv $grops_temp\n";
+ close (COMMANDS); # so that you can see what's in there
+ # when the preview window is up...
+- system "ghostview $grops_temp";
++ system "gv $grops_temp";
+ # HANDLE RETURN CODE!
+ } elsif ($checkonly) {
+ print STDERR "Checking completed.\n" if $VERBOSE;
diff --git a/textproc/gmat/pkg-plist b/textproc/gmat/pkg-plist
index 691e5f75db63..dbbdbbaeb972 100644
--- a/textproc/gmat/pkg-plist
+++ b/textproc/gmat/pkg-plist
@@ -20,6 +20,7 @@ share/gmat/bin/gmat.latex
share/gmat/bin/gmat.nop
share/gmat/bin/gmat.sgmls
share/gmat/bin/gmat.troff
+share/gmat/bin/gmat.troff.orig
share/gmat/bin/gnct
share/gmat/bin/inx
share/gmat/bin/lowres