1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/up-imapproxy/Makefile
Pawel Pekala 9e86a8c2aa - Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE

PR:		ports/172244
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-11-02 13:59:50 +00:00

58 lines
1.2 KiB
Makefile

# Created by: Martin Blapp
# $FreeBSD$
PORTNAME= imapproxy
PORTVERSION= 1.2.7
PORTREVISION= 2
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
USE_BZIP2= yes
USE_GNOME= gnomehack
USE_OPENSSL= yes
USE_AUTOTOOLS= autoheader
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
MAKE_JOBS_SAFE= yes
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>=1.0:${PORTSDIR}/mail/dovecot2
.else
SUB_LIST+= DOVECOT=""
.endif
do-install:
.for i in ${SBIN}
(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/sbin)
.endfor
(cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \
${PREFIX}/etc/imapproxyd.conf.sample)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>