summaryrefslogtreecommitdiff
path: root/mail/sendmail-qtool/Makefile
blob: 40d6e3d4bd5d764c7e9f45e3b1c05650471f368b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.14 2021/05/24 19:52:53 wiz Exp $

PKGNAME=	sendmail-qtool-${DIST_VERS}
PKGREVISION=	6
COMMENT=	Perl script to manage sendmail queue entries

PKG_OPTIONS=	#hack to please Makefile.common

.include "../../mail/sendmail/Makefile.common"

USE_TOOLS+=	pax
USE_TOOLS+=	perl:run

REPLACE_PERL=		contrib/qtool.pl

INSTALLATION_DIRS=	sbin  ${PKGMANDIR}/man8

do-build:

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/qtool.pl \
		${DESTDIR}${PREFIX}/sbin/sendmail-qtool
	${INSTALL_MAN} ${WRKSRC}/contrib/qtool.8 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/sendmail-qtool.8

.include "../../mk/bsd.pkg.mk"