summaryrefslogtreecommitdiff
path: root/print/ghostview
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/ghostview
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/ghostview')
-rw-r--r--print/ghostview/Makefile7
-rw-r--r--print/ghostview/pkg-install9
2 files changed, 13 insertions, 3 deletions
diff --git a/print/ghostview/Makefile b/print/ghostview/Makefile
index a382ce53c293..e4362a31ecf1 100644
--- a/print/ghostview/Makefile
+++ b/print/ghostview/Makefile
@@ -3,7 +3,7 @@
# Date created: 21 October 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.7 1996/11/17 08:44:40 obrien Exp $
+# $Id: Makefile,v 1.8 1996/11/18 10:25:35 asami Exp $
#
DISTNAME= ghostview-1.5
@@ -12,8 +12,9 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript
-
USE_IMAKE= yes
+post-install:
+ @/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
.include <bsd.port.mk>
diff --git a/print/ghostview/pkg-install b/print/ghostview/pkg-install
new file mode 100644
index 000000000000..2d7c72fb0528
--- /dev/null
+++ b/print/ghostview/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