summaryrefslogtreecommitdiff
path: root/mail/sendmail-qtool/Makefile
blob: 98847a26fe47e843cf0165da5fe1c86a740d8ab2 (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
27
# $NetBSD: Makefile,v 1.1.1.1 2010/10/28 20:22:14 bouyer Exp $

PKGNAME=	sendmail-qtool-${DIST_VERS}
COMMENT=	perl script to manage sendmail queue entries

PKG_DESTDIR_SUPPORT=	user-destdir

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"