summaryrefslogtreecommitdiff
path: root/mail/mess822/Makefile
blob: aae1a8c7e18287791cb095e076e82f9ca448115d (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
44
# $NetBSD: Makefile,v 1.31 2018/10/24 16:33:40 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+=	libtai>=0.60nb5:../../devel/libtai
DEPENDS+=		${DEPENDS_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"