summaryrefslogtreecommitdiff
path: root/print/a2ps
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
commit6778d2c3b3f9ce1947368f97494aa42b15425b61 (patch)
tree3d152987d251b117039a15a30fd4227230990d11 /print/a2ps
parent64f190d4ad8a8ede9fc6b810f5054bf67aba1483 (diff)
downloadpkgsrc-6778d2c3b3f9ce1947368f97494aa42b15425b61.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/a2ps')
-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