summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-10 18:44:31 +0000
committerjlam <jlam@pkgsrc.org>2005-06-10 18:44:31 +0000
commita9769292875e6dd48794bee6edd80db85ea8027e (patch)
tree3d152987d251b117039a15a30fd4227230990d11 /print
parentcb8e761a4dd5084ffd7cc5c59aaafc2a26884a1d (diff)
downloadpkgsrc-a9769292875e6dd48794bee6edd80db85ea8027e.tar.gz
a2ps uses the "file" command to detect the file type of the print job.
Explicitly note that it needs this tool. Also, the tools framework knows about mktemp, so use USE_TOOLS+=mktemp instead of the homegrown code. Bump the PKGREVISION to 8.
Diffstat (limited to 'print')
-rw-r--r--print/a2ps/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index 25ddf18bc2c..eba59465411 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2005/06/09 14:53:49 salo Exp $
+# $NetBSD: Makefile,v 1.55 2005/06/10 18:44:31 jlam Exp $
DISTNAME= a2ps-4.13b
PKGNAME= a2ps-4.13.0.2
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=a2ps/} \
ftp://ftp.enst.fr/pub/unix/a2ps/
@@ -16,17 +16,17 @@ DEPENDS+= psutils>=1.17:../../print/psutils
.include "../../mk/bsd.prefs.mk"
-.if empty(OPSYS:M*BSD)
-DEPENDS+= mktemp>=1.5:../../sysutils/mktemp
-.endif
-
WRKSRC= ${WRKDIR}/a2ps-4.13
STRIP= # empty
USE_PERL5= yes
-USE_TOOLS+= gmake
USE_LIBTOOL= yes
+USE_TOOLS+= file gmake mktemp
+TOOLS_DEPMETHOD.file= DEPENDS
+TOOLS_DEPMETHOD.mktemp= DEPENDS
+CONFIGURE_ENV+= file_prog=${FILE_CMD:Q}
+
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES