summaryrefslogtreecommitdiff
path: root/mail/mess822/Makefile
blob: 258b326047b1fa2fca40f950e9dd226078a3f3cb (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
40
41
42
43
# $NetBSD: Makefile,v 1.32 2019/06/19 17:43:28 schmonz Exp $
#

DISTNAME=		mess822-0.58
PKGREVISION=		8
CATEGORIES=		mail
MASTER_SITES=		http://cr.yp.to/software/

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		http://cr.yp.to/mess822.html
COMMENT=		Library for parsing Internet mail messages
LICENSE=		public-domain

DEPENDS+=		libtai>=0.60nb5:../../devel/libtai
DEPENDS+=		qmail>=1.03nb7:../../mail/qmail

DJB_RESTRICTED=		no

DJB_BUILD_TARGETS=	install instcheck

AUTO_MKDIRS=		yes

SUBST_FILES.djbware+=	cdb_seek.c

SUBST_CLASSES+=		paths
SUBST_STAGE.paths=	do-configure
SUBST_FILES.paths=	hier.c
SUBST_VARS.paths=	PKGMANDIR

MESS822PATCHES=		qmailqueue:${QMAILQUEUE_PATCH}
QMAILQUEUE_PATCH=	mess822-0.58-qmailqueue-20170527.patch
PATCHFILES+=		${QMAILQUEUE_PATCH}
SITES.${QMAILQUEUE_PATCH}=https://schmonz.com/qmail/mess822qmailqueue/

BUILD_DEFS+=		MESS822PATCHES

pre-build:
	cp ${BUILDLINK_DIR}/include/*.h ${WRKSRC}
	cp ${BUILDLINK_DIR}/lib/*.a ${WRKSRC}

.include "../../devel/libtai/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"