pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/a2ps a2ps uses the "file" command to detect the ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6eb3d1ef781
branches: trunk
changeset: 495472:d6eb3d1ef781
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jun 10 18:44:31 2005 +0000
description:
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:
print/a2ps/Makefile | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 3cb0111b23c0 -r d6eb3d1ef781 print/a2ps/Makefile
--- a/print/a2ps/Makefile Fri Jun 10 18:26:36 2005 +0000
+++ b/print/a2ps/Makefile Fri Jun 10 18:44:31 2005 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index