summaryrefslogtreecommitdiffstats
path: root/textproc/gmat
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-12-30 11:31:49 +0000
committerschweikh <schweikh@FreeBSD.org>2002-12-30 11:31:49 +0000
commitda70768ffa22009b882353a8fdb4548a02d6e166 (patch)
treecc918c602ea11e87737e1153de4e77a4b9457202 /textproc/gmat
parent1b1278e1d9aef918b4ec7a28c4e7a3fe3607f71f (diff)
downloadFreeBSD-ports-da70768ffa22009b882353a8fdb4548a02d6e166.zip
FreeBSD-ports-da70768ffa22009b882353a8fdb4548a02d6e166.tar.gz
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)
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 fa41cba..0aa5944 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 0000000..af0ded9
--- /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 691e5f7..dbbdbba 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
OpenPOWER on IntegriCloud