diff options
author | asami <asami@FreeBSD.org> | 1997-01-14 09:13:16 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-01-14 09:13:16 +0000 |
commit | f13d94e747f5b4c8dd2c99dfe6c269f3860a889b (patch) | |
tree | e00b705613ff044b3ed77f5129ea816d34918146 /print/ghostview | |
parent | 8e3ead4e2a247e63adddfd5b5f513c6a3ae8912d (diff) | |
download | FreeBSD-ports-f13d94e747f5b4c8dd2c99dfe6c269f3860a889b.zip FreeBSD-ports-f13d94e747f5b4c8dd2c99dfe6c269f3860a889b.tar.gz |
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.
Diffstat (limited to 'print/ghostview')
-rw-r--r-- | print/ghostview/Makefile | 7 | ||||
-rw-r--r-- | print/ghostview/pkg-install | 9 |
2 files changed, 13 insertions, 3 deletions
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 <bsd.port.mk> 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 |