blob: e21e7505b0b1bf89db3ccb22a9cf3ebe03f0992f (
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
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.33 2021/09/29 19:00:55 adam Exp $
#
DISTNAME= mailfront-2.22
PKGREVISION= 6
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}archive/
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://untroubled.org/mailfront/
COMMENT= Mail server network protocol front-ends
LICENSE= gnu-gpl-v2
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS+= qmail>=1.03nb8:../../mail/qmail
DJB_MAKE_TARGETS= NO
BUILD_TARGET= all
DJB_CONFIG_CMDS+= ${ECHO} ${PREFIX}/include > conf-include; \
${ECHO} ${PREFIX}/lib/${PKGBASE} > conf-modules;
FILES_SUBST+= QMAIL_DAEMON_USER=${QMAIL_DAEMON_USER:Q}
FILES_SUBST+= QMAIL_LOG_USER=${QMAIL_LOG_USER:Q}
RCD_SCRIPTS= smtpfront
INSTALLATION_DIRS= share/doc/mailfront
INSTALL_ENV+= install_prefix=${DESTDIR:Q}
BUILD_DEFS+= QMAIL_DAEMON_USER QMAIL_LOG_USER
USE_LIBTOOL= yes
MAKE_JOBS_SAFE= no # due to hacky libtoolization
PKG_SYSCONFSUBDIR= qmail
.include "options.mk"
post-install:
cd ${WRKSRC}; \
for f in ANNOUNCEMENT NEWS README *.html; do \
${INSTALL_DATA} $${f} \
${DESTDIR}${PREFIX}/share/doc/mailfront; \
done
BUILDLINK_API_DEPENDS.bglibs+= bglibs>=2.01
.include "../../devel/bglibs/buildlink3.mk"
BUILDLINK_API_DEPENDS.cvm+= cvm>=0.97
.include "../../security/cvm/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
|