pkgsrc/mail/qmail-acceptutils/Makefile
schmonz 3948870bde Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:

1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed

Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.

Approved during the freeze by wiz@.
2020-06-25 05:42:36 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2020/06/25 05:42:39 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= 20181228
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
DJB_RESTRICTED= no
BUILD_TARGET= acceptutils
USE_LANGUAGES= c c99
ACCEPTUTILS= authup checknotroot fixsmtpio reup \
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"