mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
9f347da861
- Convert to USES=tar [1] - Use @sample pkg directive PR: ports/190199 [1] Submitted by: freebsd@nagilum.org
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# Created by: Martin Blapp
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= imapproxy
|
|
PORTVERSION= 1.2.7
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF/squirrelmail/imap_proxy/${PORTVERSION}
|
|
PKGNAMEPREFIX= up-
|
|
DISTNAME= squirrelmail-imap_proxy-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Caching IMAP proxy server
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
OPTIONS_DEFINE= DOVECOT DOCS
|
|
DOVECOT_DESC= Use with dovecot2
|
|
|
|
USES= tar:bzip2 pathfix
|
|
USE_OPENSSL= yes
|
|
USE_AUTOTOOLS= autoheader
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOVECOT}
|
|
SUB_LIST+= DOVECOT="dovecot"
|
|
RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot2
|
|
.else
|
|
SUB_LIST+= DOVECOT=""
|
|
.endif
|
|
|
|
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)
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|