blob: 5efa1d93e61bfc6b5d3ceb9aea8109eeced7c878 (
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
51
52
53
54
55
|
PORTNAME= bincimap
PORTVERSION= 1.2.13
PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}final
MAINTAINER= ports@FreeBSD.org
COMMENT= Light-weight IMAP server for Maildir
WWW= https://sourceforge.net/projects/bincimap/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= checkpassword-pam:security/checkpassword-pam \
tcpserver:sysutils/ucspi-tcp
USE_CXXSTD= c++14
USE_RC_SUBR= bincimapd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${ETCDIR}
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share/
DOCS= AUTHORS ChangeLog README doc/bincimap* \
doc/manual/bincimap-manual.ps
EXAMPLES= conf/bincimap.conf conf/checkpassword.pl conf/toimapdir \
conf/tomaildir++ conf/xinetd-bincimap conf/xinetd-bincimaps
CONTRIB= contrib/README contrib/authenticators/bincimap-auth-teapop.sh
OPTIONS_DEFINE= DOCS EXAMPLES OPENSSL
OPTIONS_DEFAULT= OPENSSL
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_OFF= --without-ssl
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/conf/bincimap.conf \
${STAGEDIR}${ETCDIR}/bincimap.conf.sample
cd ${WRKSRC}/man && ${INSTALL_MAN} bincimap-up.1 bincimapd.1 \
${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/man/bincimap.conf.5 \
${STAGEDIR}${PREFIX}/share/man/man5
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${CONTRIB} \
${STAGEDIR}${EXAMPLESDIR}/contrib
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|