1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/mail/up-imapproxy/Makefile
Pav Lucistnik 9fd453f7ed - Fix build with OpenSSL 0.9.8b in 7-CURRENT
PR:		ports/102824
Submitted by:	simon
Approved by:	maintainer timeout (mbr; 2 months)
2006-11-23 17:24:44 +00:00

34 lines
821 B
Makefile

# New ports collection makefile for: imapproxy
# Date created: 11.05.04
# Whom: Martin Blapp
#
# $FreeBSD$
#
PORTNAME= imapproxy
PORTVERSION= 1.2.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.imapproxy.org/downloads/
PKGNAMEPREFIX= up-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= mbr@FreeBSD.org
COMMENT= A caching IMAP proxy server
GNU_CONFIGURE= YES
USE_RC_SUBR= imapproxyd.sh
post-patch:
${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.default
.if !exists(${PREFIX}/etc/imapproxyd.conf)
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>