summaryrefslogtreecommitdiff
path: root/print/magicfilter
diff options
context:
space:
mode:
authorjlam <jlam>2005-11-28 06:41:20 +0000
committerjlam <jlam>2005-11-28 06:41:20 +0000
commit9db6c646b68577a8922b10f4abbca7b50dbfb641 (patch)
tree97d106419153be05872243d53d0c35426e7d6dc6 /print/magicfilter
parent5ddc900951e951816aa20985beed2a888ead76f0 (diff)
downloadpkgsrc-9db6c646b68577a8922b10f4abbca7b50dbfb641.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"