summaryrefslogtreecommitdiff
path: root/mail/qmail-acceptutils/Makefile
blob: a36977a5f50480f188f03df35425c7aa331898dd (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
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.16 2020/12/14 11:57:25 schmonz Exp $

DISTNAME=		netqmail-1.06
PKGNAME=		qmail-acceptutils-${ACPATCHVERSION}
CATEGORIES=		mail
MASTER_SITES=		http://netqmail.org/

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		https://schmonz.com/qmail/acceptutils/
COMMENT=		Offer TLS and SMTP AUTH with new features and no patch conflicts
LICENSE=		public-domain

ACPATCHVERSION=		20201214
ACPATCH=		${DISTNAME}-acceptutils-${ACPATCHVERSION}.patch
PATCHFILES+=		${ACPATCH}
SITES.${ACPATCH}=	${HOMEPAGE}

DEPENDS+=		mess822-[0-9]*:../../mail/mess822
DEPENDS+=		ucspi-ssl-[0-9]*:../../net/ucspi-ssl

CONFLICTS+=		qmail<=1.03nb32

BUILD_TARGET=		acceptutils

USE_LANGUAGES=		c c99

ACCEPTUTILS=		authup checknotroot fixsmtpio \
			qmail-qfilter-addtlsheader

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man8

do-install:
	for i in ${ACCEPTUTILS}; do					\
		${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/bin/$$i; \
		${INSTALL_MAN} ${WRKSRC}/$$i.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/$$i.8; \
	done

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