blob: 2827317415348b678be9fbd6d2b22fdf3079a7f5 (
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.36 2020/06/26 16:37:23 schmonz Exp $
#
DISTNAME= mess822-0.58
PKGREVISION= 8
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://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_CLASSES+= djberrno
SUBST_FILES.djberrno= cdb_seek.c error.h
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"
|