diff options
-rw-r--r-- | print/ghostview/Makefile | 7 | ||||
-rw-r--r-- | print/ghostview/pkg-install | 9 | ||||
-rw-r--r-- | print/gv/Makefile | 7 | ||||
-rw-r--r-- | print/gv/pkg-install | 9 |
4 files changed, 26 insertions, 6 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 diff --git a/print/gv/Makefile b/print/gv/Makefile index 2878388..2b1bac2 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 0000000..2d7c72f --- /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 |