pkgsrc/sysutils/pflogsumm/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

28 lines
745 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/07/16 01:19:20 jlam Exp $
#
DISTNAME= pflogsumm-1.1.0
CATEGORIES= sysutils mail
MASTER_SITES= ftp://jimsun.linxnet.com/pub/postfix_contrib/
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://jimsun.linxnet.com/postfix_contrib.html
COMMENT= Produce summaries from Postfix syslog data
DEPENDS+= p5-Date-Calc-[0-9]*:../../devel/p5-Date-Calc
.include "../../mk/bsd.prefs.mk"
NO_CONFIGURE= # defined
USE_TOOLS+= perl:run
INSTALLATION_DIRS= man/man1 sbin
do-build:
${SED} 's;/usr/bin/perl;${PERL5};' ${WRKSRC}/pflogsumm.pl \
> ${WRKSRC}/pflogsumm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pflogsumm ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pflogsumm.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"