7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
29 lines
793 B
Makefile
29 lines
793 B
Makefile
# $NetBSD: Makefile,v 1.15 2014/05/29 23:37:31 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pflogsumm-1.1.0
|
|
PKGREVISION= 3
|
|
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= yes
|
|
USE_TOOLS+= perl:run
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 sbin
|
|
|
|
do-build:
|
|
${SED} 's;/usr/bin/perl;${PERL5};' ${WRKSRC}/pflogsumm.pl \
|
|
> ${WRKSRC}/pflogsumm
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pflogsumm ${DESTDIR}${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/pflogsumm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|