mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
befcb09665
- Switch to Debian snapshot 1.2.8pre - Add OpenSSL 1.1 patch from Debian - Supports TLSv1.1 and TLSv1.2 too Obtained from: http://packages.debian.org/source/up-imapproxy
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
# Created by: Martin Blapp
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= imapproxy
|
|
DISTVERSION= 1.2.8-pre20171105
|
|
CATEGORIES= mail
|
|
PKGNAMEPREFIX= up-
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= Caching IMAP proxy server
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= autoreconf tar:bzip2 ncurses pathfix ssl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rlaager
|
|
GH_PROJECT= ${PORTNAME}-pkg
|
|
GH_TAGNAME= upstream/1.2.8_svn20171105
|
|
|
|
OPTIONS_DEFINE= DOVECOT DOCS
|
|
|
|
DOVECOT_DESC= Use with dovecot2
|
|
DOVECOT_RUN_DEPENDS= dovecot:mail/dovecot
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
|
|
|
|
USE_RC_SUBR= imapproxyd
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
DOCS= ChangeLog README README.debian README.known_issues README.ssl
|
|
SBIN= in.imapproxyd pimpstat
|
|
|
|
post-patch:
|
|
${MKDIR} ${WRKSRC}/bin
|
|
|
|
do-install:
|
|
.for i in ${SBIN}
|
|
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/sbin)
|
|
.endfor
|
|
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \
|
|
${STAGEDIR}${PREFIX}/etc/imapproxyd.conf.sample)
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|