summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-01-14 09:13:16 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-01-14 09:13:16 +0000
commit75a9e1beaa12bbf61f88db9a68ae4abb619967ed (patch)
tree5be6284597bc58f7874ab9d784cd27f5c080c829 /print/gv
parentMove $FreeBSD$ up right next to $NetBSD$ (oh, the solidarity! :). (diff)
Remove RUN_DEPENDS to gs, there are too many versions around (3
English and 3 Japanese) and we don't want the package to have a @pkgdep on a particular version.
Notes
Notes: svn path=/head/; revision=5354
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile7
-rw-r--r--print/gv/pkg-install9
2 files changed, 13 insertions, 3 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 28783886e6c7..2b1bac236b51 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 Apr 1996
# Whom: thomas@ghpc8.ihf.rwth-aachen.de
#
-# $Id: Makefile,v 1.3 1996/08/27 07:25:43 tg Exp $
+# $Id: Makefile,v 1.4 1996/11/12 07:06:28 tg Exp $
#
DISTNAME= gv_2_7_6
@@ -14,11 +14,12 @@ MASTER_SITES= ftp://iphthf.physik.uni-mainz.de/pub/gv/unix/
MAINTAINER= tg@freebsd.org
LIB_DEPENDS= Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript4
PATCH_STRIP= -p1
WRKSRC= ${WRKDIR}/gv
USE_IMAKE= yes
-.include <bsd.port.mk>
+post-install:
+ @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+.include <bsd.port.mk>
diff --git a/print/gv/pkg-install b/print/gv/pkg-install
new file mode 100644
index 000000000000..2d7c72fb0528
--- /dev/null
+++ b/print/gv/pkg-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+if ! which gs >/dev/null; then
+ echo "I can't find ghostscript (gs) in your search path."
+ echo "Please install your favorite version of ghostscript,"
+ echo "otherwise this program is useless."
+fi