blob: a528d067c4b895bfd857bef9634b5fbbff47bf8a (
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
|
# $NetBSD: Makefile,v 1.1 2021/01/15 19:50:25 schmonz Exp $
DISTNAME= bincimap-1.2.13final
PKGNAME= ${DISTNAME:S/final$//}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bincimap/}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/bincimap/
COMMENT= IMAP server for Maildir using checkpassword
LICENSE= gnu-gpl-v2
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS+= pkg_alternatives-[0-9]*:../../pkgtools/pkg_alternatives
DEPENDS+= qmail-acceptutils-[0-9]*:../../mail/qmail-acceptutils
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${PREFIX:Q}/${EGDIR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
INSTALL_MAKE_FLAGS= sysconfdir=${PREFIX:Q}/${EGDIR:Q}
REPLACE_PERL= conf/checkpassword.pl conf/toimapdir conf/tomaildir++
SUBST_CLASSES+= nobody
SUBST_STAGE.nobody= pre-configure
SUBST_FILES.nobody= conf/bincimap.conf.in
SUBST_VARS.nobody= BINCIMAP_USER BINCIMAP_GROUP
PKG_USERS_VARS+= BINCIMAP_USER
PKG_GROUPS_VARS+= BINCIMAP_GROUP
PKG_GROUPS+= ${BINCIMAP_GROUP}
PKG_USERS+= ${BINCIMAP_USER}:${BINCIMAP_GROUP}
EGDIR= share/examples/${PKGBASE}
CONF_FILES+= ${PREFIX}/${EGDIR}/${PKGBASE}.conf \
${PKG_SYSCONFDIR}/${PKGBASE}.conf
RCD_SCRIPTS= bincimapd
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= ${EGDIR}
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
|