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.
This commit is contained in:
parent
cb8e761a4d
commit
a976929287
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue