summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-10 18:44:31 +0000
committerjlam <jlam>2005-06-10 18:44:31 +0000
commit2f4b9490801a430f3454b7e4dba86d29b1338555 (patch)
tree3d152987d251b117039a15a30fd4227230990d11 /print
parent01ad0361c3e2b4f55e85e5ef68873c3ca016e79a (diff)
downloadpkgsrc-2f4b9490801a430f3454b7e4dba86d29b1338555.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