From f13d94e747f5b4c8dd2c99dfe6c269f3860a889b Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 14 Jan 1997 09:13:16 +0000 Subject: 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. --- print/ghostview/Makefile | 7 ++++--- print/ghostview/pkg-install | 9 +++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 print/ghostview/pkg-install (limited to 'print/ghostview') diff --git a/print/ghostview/Makefile b/print/ghostview/Makefile index a382ce5..e4362a3 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 diff --git a/print/ghostview/pkg-install b/print/ghostview/pkg-install new file mode 100644 index 0000000..2d7c72f --- /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 -- cgit v1.1