summaryrefslogtreecommitdiff
path: root/print/magicfilter
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-11-28 06:41:20 +0000
committerjlam <jlam@pkgsrc.org>2005-11-28 06:41:20 +0000
commite6e49a2f0f499b5bffcaf043e9b4f7727b7ebd6f (patch)
tree97d106419153be05872243d53d0c35426e7d6dc6 /print/magicfilter
parentec87e5b5a9978501b8e3859f3bbbcb61cf88d32c (diff)
downloadpkgsrc-e6e49a2f0f499b5bffcaf043e9b4f7727b7ebd6f.tar.gz
Change all instances of including mk/ghostscript.mk into asking for
the appropriate tool via USE_TOOLS (usually "gs:run"), and remove ghostscript.mk. This change removes a rather out-dated file from pkgsrc and switches packages to use the more compact implementation of the Ghostcript-handling inside the tools framework.
Diffstat (limited to 'print/magicfilter')
-rw-r--r--print/magicfilter/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
index c93571a2ee9..33292abb9ed 100644
--- a/print/magicfilter/Makefile
+++ b/print/magicfilter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2005/11/11 18:50:25 tonio Exp $
+# $NetBSD: Makefile,v 1.45 2005/11/28 06:41:22 jlam Exp $
DISTNAME= magicfilter-1.2
PKGREVISION= 4
@@ -14,9 +14,9 @@ DEPENDS+= a2ps-[0-9]*:../../print/a2ps
DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
DEPENDS+= papersize-[0-9]*:../../print/papersize
-USE_TOOLS+= gmake gzip
+USE_TOOLS+= gmake gs:run gzip
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= GHOSTSCRIPT=${LOCALBASE}/bin/gs
+CONFIGURE_ENV+= GHOSTSCRIPT=${TOOLS_PATH.gs}
CONFIGURE_ENV+= GZIP=${TOOLS_GZIP_CMD:Q}
TEX_ACCEPTED= teTeX1 teTeX2 teTeX3
@@ -44,6 +44,5 @@ post-install:
done)
@${ECHO} "@dirrm ${FILTER_DIR}" >>${PLIST_SRC}
-.include "../../mk/ghostscript.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"