summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-13 06:53:31 +0000
committerjlam <jlam>2002-09-13 06:53:31 +0000
commit10035fcdc6e26e1c5e9db5abf0df0105d66671b5 (patch)
treed2e1cce582bf34cf1bb4f37c4673fcd268b32828
parent0a2a39bebc50e86a43dd22a214e196bb2116d058 (diff)
downloadpkgsrc-10035fcdc6e26e1c5e9db5abf0df0105d66671b5.tar.gz
Use ghostscript.mk.
-rw-r--r--cad/xcircuit/Makefile8
-rw-r--r--comms/hylafax/Makefile4
-rw-r--r--converters/doc2html/Makefile4
-rw-r--r--devel/doxygen/Makefile4
-rw-r--r--graphics/gri/Makefile5
-rw-r--r--graphics/iGMT/Makefile5
-rw-r--r--graphics/kdegraphics2/Makefile3
-rw-r--r--graphics/kdegraphics3/Makefile4
-rw-r--r--graphics/pstoedit/Makefile7
-rw-r--r--meta-pkgs/netbsd-doc-print/Makefile4
-rw-r--r--print/apsfilter/Makefile4
-rw-r--r--print/cupsomatic/Makefile4
-rw-r--r--print/dvipdfm/Makefile4
-rw-r--r--print/foomatic-gswrapper/Makefile5
-rw-r--r--print/ggv/Makefile5
-rw-r--r--print/gnome-print/Makefile4
-rw-r--r--print/gv/Makefile5
-rw-r--r--print/html2ps/Makefile4
-rw-r--r--print/if-psprint/Makefile4
-rw-r--r--print/magicfilter/Makefile4
-rw-r--r--print/mgv/Makefile5
-rw-r--r--print/stylewriter/Makefile4
-rw-r--r--textproc/latex2html/Makefile4
23 files changed, 50 insertions, 54 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index c4fd8f353f9..78e1b399687 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/03/13 17:36:41 fredb Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/13 06:53:31 jlam Exp $
DISTNAME= xcircuit-2.2.0
PKGREVISION= 1
@@ -9,16 +9,11 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://bach.ece.jhu.edu/~tim/programs/xcircuit/
COMMENT= Drawing program for X11 (especially for circuits)
-DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
-
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_IMAKE= yes
USE_X11BASE= yes
USE_XPM= yes
-GS_PREFIX_DEFAULT= ${LOCALBASE}
-EVAL_PREFIX+= GS_PREFIX=ghostscript
-
post-extract:
${RM} -fr ${WRKSRC}/examples/CVS
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
@@ -28,4 +23,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit/
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/xcircuit/
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 83a7215361d..53b6a683ea2 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2002/08/28 20:59:38 abs Exp $
+# $NetBSD: Makefile,v 1.27 2002/09/13 06:53:32 jlam Exp $
#
DISTNAME= hylafax-4.1
@@ -14,7 +14,6 @@ COMMENT= Telecommunication and fax server system
DEPENDS+= tiff-[0-9]*:../../graphics/tiff
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= mawk>=1.2.2:../../lang/mawk
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DIST_SUBDIR= hylafax
@@ -42,5 +41,6 @@ post-install:
${CHMOD} 4555 ${SUID_EXES}
${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/doc2html/Makefile b/converters/doc2html/Makefile
index 6d219b83c1b..6e815371d8e 100644
--- a/converters/doc2html/Makefile
+++ b/converters/doc2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/03/13 17:36:44 fredb Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/13 06:53:32 jlam Exp $
#
DISTNAME= doc2html
@@ -13,7 +13,6 @@ COMMENT= PERL external filter for htdig to convert numerous doc formats to HTML
DEPENDS+= xlhtml-[0-9]*:../../converters/xlHtml
DEPENDS+= rtf2html-[0-9]*:../../converters/rtf2html
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= xpdf-[0-9]*:../../print/xpdf
DEPENDS+= catdoc-[0-9]*:../../textproc/catdoc
@@ -32,4 +31,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${PREFIX}/bin/doc2html
${INSTALL_SCRIPT} ${WRKSRC}/pdf2html ${PREFIX}/bin/pdf2html
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index d8743818f40..b56b520b84b 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/06/17 16:40:26 agc Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/13 06:53:33 jlam Exp $
DISTNAME= doxygen-1.2.10.src
PKGNAME= doxygen-1.2.10
@@ -11,7 +11,6 @@ HOMEPAGE= http://www.doxygen.org/
COMMENT= documentation system for C++, Java, IDL and C
DEPENDS+= teTeX>=0.0:../../print/teTeX
-DEPENDS+= ghostscript>=0.0:../../print/ghostscript
USE_GMAKE= yes
USE_PERL5= yes
@@ -25,4 +24,5 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
post-install:
cd ${WRKSRC}; ${GMAKE} install_docs
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gri/Makefile b/graphics/gri/Makefile
index 08d07ab789e..9a0c039fbd3 100644
--- a/graphics/gri/Makefile
+++ b/graphics/gri/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:24 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/13 06:53:33 jlam Exp $
DISTNAME= gri-2.8.7
CATEGORIES= graphics
@@ -11,9 +11,9 @@ COMMENT= language for scientific graphics applications
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
-BUILD_DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
GNU_CONFIGURE= # defined
+USE_X11= # defined
USE_GMAKE= # defined
USE_BUILDLINK_ONLY= # defined
INFO_FILES= gri.info
@@ -24,5 +24,6 @@ pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf
.include "../../devel/netcdf/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/iGMT/Makefile b/graphics/iGMT/Makefile
index ca9c16d6866..f401930ce4f 100644
--- a/graphics/iGMT/Makefile
+++ b/graphics/iGMT/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/03/13 17:37:10 fredb Exp $
+# $NetBSD: Makefile,v 1.14 2002/09/13 06:53:33 jlam Exp $
DISTNAME= igmt_v1.2
PKGNAME= iGMT-1.2
@@ -13,12 +13,12 @@ COMMENT= Interactive Mapping of Geoscientific Datasets
DEPENDS+= GMT>=3.3.6:../../graphics/GMT
DEPENDS+= tcl>=8.0:../../lang/tcl
DEPENDS+= tk>=8.0:../../x11/tk
-DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
DEPENDS+= gv-[0-9]*:../../print/gv
DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
WRKSRC= ${WRKDIR}/igmt_1.2
NO_BUILD= yes
+USE_X11= yes
GMT_PREFIX_DEFAULT= ${LOCALBASE}
EVAL_PREFIX+= GMT_PREFIX=GMT
@@ -51,4 +51,5 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} example*.ps.gz \
${WRKSRC}/example*.dat ${PREFIX}/share/examples/igmt/
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/kdegraphics2/Makefile b/graphics/kdegraphics2/Makefile
index 8fc584517a2..7e6985e7803 100644
--- a/graphics/kdegraphics2/Makefile
+++ b/graphics/kdegraphics2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/09/04 14:47:37 agc Exp $
+# $NetBSD: Makefile,v 1.10 2002/09/13 06:53:34 jlam Exp $
DISTNAME= kdegraphics-2.2.2
PKGREVISION= 1
@@ -22,5 +22,6 @@ LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
.include "../../graphics/tiff/buildlink.mk"
.include "../../x11/kde2/buildlink.mk"
.include "../../x11/kdebase2/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index 237b09a5640..facd0109413 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/09/04 14:47:37 agc Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/13 06:53:34 jlam Exp $
DISTNAME= kdegraphics-3.0.3
CATEGORIES= graphics
@@ -6,7 +6,6 @@ COMMENT= Graphics programs for the KDE integrated X11 desktop
.include "../../x11/kde3/Makefile.kde3"
-DEPENDS+= ghostscript>=6.01:../../print/ghostscript
#DEPENDS+= gPhoto2
#DEPENDS+= gpio
@@ -21,5 +20,6 @@ LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
.include "../../graphics/imlib/buildlink.mk"
.include "../../x11/kde3/buildlink.mk"
.include "../../x11/kdebase3/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index 11373c118c1..f1676bd209f 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/07/02 12:52:53 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2002/09/13 06:53:35 jlam Exp $
DISTNAME= pstoedit_3_31
PKGNAME= pstoedit-3.31
@@ -12,8 +12,6 @@ COMMENT= Convert PostScript / PDF into various vector graphic formats
# Requires C++ support of plotutils.
DEPENDS+= plotutils>=2.4.1:../../graphics/plotutils
-# Any ghostscript pkg will probably do, if not a font pkg.
-DEPENDS+= ghostscript-[^f]*:../../print/ghostscript
RESTRICTED?= "The author writes: If you include this program on a CDROM, please send me a copy of the CD, or if it goes with a book, of the book."
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -26,7 +24,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBTOOL="${LIBTOOL}" LIBPLOTTERLA="${X11PREFIX}/lib/libplotter.la"
CONFIGURE_ENV+= CXXFLAGS="${CFLAGS} -Dunix"
CONFIGURE_ENV+= LDLIBS="-Wl,-R${X11BASE}/lib -L${X11BASE}/lib"
-CONFIGURE_ENV+= AWK=${AWK} GS=${PREFIX}/bin/gs
+CONFIGURE_ENV+= AWK=${AWK} GS=${LOCALBASE}/bin/gs
CONFIGURE_ARGS+=--datadir=${PREFIX}/share
CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/pstoedit # plugin dir -- unused for now
ALL_TARGET=
@@ -42,4 +40,5 @@ post-install:
${INSTALL_DATA} ${DOCSRC}/*.htm ${DOCDIR}
${INSTALL_DATA} ${DOCSRC}/readme.txt ${DOCDIR}
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/meta-pkgs/netbsd-doc-print/Makefile b/meta-pkgs/netbsd-doc-print/Makefile
index f0cae62de9f..76db197535b 100644
--- a/meta-pkgs/netbsd-doc-print/Makefile
+++ b/meta-pkgs/netbsd-doc-print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/07/11 19:44:29 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2002/09/13 06:53:35 jlam Exp $
#
DISTNAME= netbsd-doc-print-1.1
@@ -11,7 +11,6 @@ MAINTAINER= hubertf@netbsd.org
COMMENT= meta-package including all packages to convert SGML->PDF/PS
DEPENDS+= tex-jadetex>=2.20nb1:../../print/tex-jadetex
-DEPENDS+= ghostscript-[0-9]*:../../print/ghostscript
DEPENDS+= netbsd-doc-1.2:../netbsd-doc
EXTRACT_ONLY= # empty
@@ -22,4 +21,5 @@ NO_BUILD= yes
do-install: # empty
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile
index 6ab8ed09f68..d548fc5e89d 100644
--- a/print/apsfilter/Makefile
+++ b/print/apsfilter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/03/13 17:37:33 fredb Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/13 06:53:35 jlam Exp $
#
DISTNAME= apsfilter-7.2.2
@@ -11,7 +11,6 @@ HOMEPAGE= http://www.apsfilter.org/
COMMENT= number one magic filter for printing under Unix environment
DEPENDS= recode-[0-9]*:../../converters/recode
-DEPENDS+= ghostscript>=6.01:../../print/ghostscript
#DEPENDS+= html2ps-[0-9]*:../../print/html2ps
DEPENDS+= transfig-[0-9]*:../../print/transfig
DEPENDS+= jpeg-6b:../../graphics/jpeg
@@ -39,4 +38,5 @@ post-patch:
${SED} "s,@LOCALBASE@,${LOCALBASE},g" ${PKGDIR}/DEINSTALL \
> ${DEINSTALL_FILE}
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/cupsomatic/Makefile b/print/cupsomatic/Makefile
index 9b60918cbd9..fe3337e8d0f 100644
--- a/print/cupsomatic/Makefile
+++ b/print/cupsomatic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/03/21 03:48:15 fredb Exp $
+# $NetBSD: Makefile,v 1.13 2002/09/13 06:53:36 jlam Exp $
DISTNAME= cupsomatic
PKGNAME= ${DISTNAME}-2.2
@@ -28,7 +28,6 @@ DIST_SUBDIR= ${PKGNAME_NOREV}
DEPENDS+= cups>=1.1.14nb1:../../print/cups
DEPENDS+= foomatic-gswrapper>=1.2:../../print/foomatic-gswrapper
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= mpage-[0-9]*:../../print/mpage
USE_PERL5= yes
@@ -53,4 +52,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/$${file} ${FILTERDIR}; \
done
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/dvipdfm/Makefile b/print/dvipdfm/Makefile
index f3f8c57f031..9b6aa34d02f 100644
--- a/print/dvipdfm/Makefile
+++ b/print/dvipdfm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/05/08 11:54:02 markd Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/13 06:53:36 jlam Exp $
DISTNAME= dvipdfm-0.13.2c
CATEGORIES= print converters
@@ -9,7 +9,6 @@ HOMEPAGE= http://gaspra.kettering.edu/dvipdfm
COMMENT= a DVI to PDF translator
DEPENDS+= teTeX-bin>=1.0.6:../../print/teTeX-bin
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
WRKSRC= ${WRKDIR}/dvipdfm
GNU_CONFIGURE= # defined
@@ -29,4 +28,5 @@ post-install:
mktexlsr
.include "../../graphics/png/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/foomatic-gswrapper/Makefile b/print/foomatic-gswrapper/Makefile
index 0646a83905f..a106bb0a94c 100644
--- a/print/foomatic-gswrapper/Makefile
+++ b/print/foomatic-gswrapper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/08/25 21:50:28 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2002/09/13 06:53:37 jlam Exp $
DISTNAME= foomatic-gswrapper
PKGNAME= foomatic-gswrapper-1.2
@@ -18,8 +18,6 @@ COMMENT= Foomatic Ghostscript Wrapper
DIST_SUBDIR= ${PKGNAME_NOREV}
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
-
USE_BUILDLINK2= YES
WRKSRC= ${WRKDIR}
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}/${DISTNAME}
@@ -32,4 +30,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
.include "../../lang/perl5/buildlink2.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/ggv/Makefile b/print/ggv/Makefile
index 120bad203b5..07cc68b038a 100644
--- a/print/ggv/Makefile
+++ b/print/ggv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2002/09/10 16:06:48 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2002/09/13 06:53:37 jlam Exp $
#
DISTNAME= ggv-1.0.2
@@ -10,8 +10,6 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME frontend for GhostScript
-DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
-
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
@@ -20,4 +18,5 @@ BUILD_USES_MSGFMT= YES
CONFIGURE_ARGS+= --localstatedir=${X11PREFIX}/var/lib
.include "../../x11/gnome-core/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/gnome-print/Makefile b/print/gnome-print/Makefile
index f82524bd94e..065e514e870 100644
--- a/print/gnome-print/Makefile
+++ b/print/gnome-print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2002/08/26 19:39:29 mjl Exp $
+# $NetBSD: Makefile,v 1.49 2002/09/13 06:53:38 jlam Exp $
#
DISTNAME= gnome-print-0.36
@@ -15,6 +15,7 @@ BUILDLINK_DEPENDS.libxml= libxml>=1.8.8
BUILDLINK_DEPENDS.gdk-pixbuf= gdk-pixbuf>=0.7.0
USE_BUILDLINK_ONLY= YES
+USE_X11= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
@@ -28,5 +29,6 @@ MAKE_ENV+= HOME=${WRKSRC}
.include "../../graphics/gdk-pixbuf-gnome/buildlink.mk"
.include "../../textproc/libunicode/buildlink.mk"
.include "../../textproc/libxml/buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 18b304e393d..0ed34c380d9 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2002/03/13 17:37:35 fredb Exp $
+# $NetBSD: Makefile,v 1.32 2002/09/13 06:53:40 jlam Exp $
# FreeBSD Id: Makefile,v 1.16 1997/07/13 18:49:29 max Exp
#
@@ -11,8 +11,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://wwwthep.physik.uni-mainz.de/~plass/gv/
COMMENT= PostScript and PDF previewer
-DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
-
USE_IMAKE= yes
XAW_TYPE?= 3d
@@ -30,4 +28,5 @@ post-install:
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.doc
.include "../../mk/xaw.buildlink.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile
index 8c31612279c..a935b63fa66 100644
--- a/print/html2ps/Makefile
+++ b/print/html2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/03/13 17:37:35 fredb Exp $
+# $NetBSD: Makefile,v 1.9 2002/09/13 06:53:41 jlam Exp $
#
DISTNAME= html2ps-1.0b1
@@ -11,7 +11,6 @@ HOMEPAGE= http://www.tdb.uu.se/~jan/html2ps.html
COMMENT= HTML to PostScript converter
DEPENDS+= ImageMagick>=5.3.9nb1:../../graphics/ImageMagick
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= p5-PerlMagick-[0-9]*:../../graphics/p5-PerlMagick
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
@@ -28,4 +27,5 @@ do-install:
@cd ${WRKSRC} && ./install ${PREFIX}
@${INSTALL_DATA} ${WRKSRC}/sample ${PREFIX}/share/html2ps/sample.rc
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/if-psprint/Makefile b/print/if-psprint/Makefile
index 6d024021553..0bb579b0119 100644
--- a/print/if-psprint/Makefile
+++ b/print/if-psprint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/04/16 11:52:24 abs Exp $
+# $NetBSD: Makefile,v 1.11 2002/09/13 06:53:41 jlam Exp $
#
DISTNAME= if-psprint-1.5
@@ -9,7 +9,6 @@ MAINTAINER= abs@netbsd.org
HOMEPAGE= http://www.mono.org/abs/tools/if-psprint/
COMMENT= Print text or postscript to arbitrary printer, can use smb
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= enscript-[0-9]*:../../print/enscript
USE_PERL5= YES
@@ -24,4 +23,5 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/if-psprint ${PREFIX}/libexec/if-psprint
${INSTALL_MAN} ${WRKSRC}/if-psprint.1 ${PREFIX}/man/man1/if-psprint.1
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
index de67823ba2e..21762813b28 100644
--- a/print/magicfilter/Makefile
+++ b/print/magicfilter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2002/05/20 14:04:43 fredb Exp $
+# $NetBSD: Makefile,v 1.34 2002/09/13 06:53:41 jlam Exp $
DISTNAME= magicfilter-1.2
PKGREVISION= 2
@@ -11,7 +11,6 @@ COMMENT= customizable, extensible automatic printer filter
# Any version will do:
#
DEPENDS+= a2ps-[0-9]*:../../print/a2ps
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX-bin
DEPENDS+= papersize-[0-9]*:../../print/papersize
@@ -44,4 +43,5 @@ post-install:
done)
@${ECHO} "@dirrm ${FILTER_DIR}" >>${PLIST_SRC}
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/mgv/Makefile b/print/mgv/Makefile
index 918a6eab000..b5b79b1aadf 100644
--- a/print/mgv/Makefile
+++ b/print/mgv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/08/25 21:50:32 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2002/09/13 06:53:42 jlam Exp $
DISTNAME= mgv-3.1.5
PKGREVISION= 1
@@ -9,8 +9,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.trends.net/~mu/mgv.html
COMMENT= Motif/LessTif user interface for Ghostscript
-DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
-
GNU_CONFIGURE= yes
USE_X11BASE= yes
USE_BUILDLINK2= yes
@@ -26,4 +24,5 @@ post-install:
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/motif.buildlink2.mk"
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/stylewriter/Makefile b/print/stylewriter/Makefile
index b27b841f062..c7438a5b15a 100644
--- a/print/stylewriter/Makefile
+++ b/print/stylewriter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/03/13 17:37:38 fredb Exp $
+# $NetBSD: Makefile,v 1.13 2002/09/13 06:53:42 jlam Exp $
#
DISTNAME= stylewriter
@@ -11,7 +11,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.pobox.com/~monroe/styl/
COMMENT= Apple StyleWriter driver for un*x
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= enscript>=1.6.1:../../print/enscript
NO_CONFIGURE= yes
@@ -59,4 +58,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/styl.ppd ${PREFIX}/share/examples/stylewriter
${INSTALL_DATA_DIR} /var/spool/lpd/stylps
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
index 67a55a6ea4b..dce1b57deab 100644
--- a/textproc/latex2html/Makefile
+++ b/textproc/latex2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/05/08 11:26:12 markd Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/13 06:53:43 jlam Exp $
DISTNAME= latex2html-2002-1
PKGNAME= latex2html-2002.1
@@ -10,7 +10,6 @@ HOMEPAGE= http://www.latex2html.org
COMMENT= LaTeX to HTML converter
DEPENDS+= teTeX-bin>=1.0.6:../../print/teTeX-bin
-DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= netpbm>=9.7nb1:../../graphics/netpbm
USE_PERL5= # defined
@@ -26,4 +25,5 @@ CONFIGURE_ARGS+= --shlibdir=${PREFIX}/share/latex2html
CONFIGURE_ARGS+= --with-iconpath=${LATEX2HTML_ICONPATH}
.endif
+.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"