1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/mail/up-imapproxy/Makefile
2008-02-27 16:58:18 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: imapproxy
# Date created: 11.05.04
# Whom: Martin Blapp
#
# $FreeBSD$
#
PORTNAME= imapproxy
PORTVERSION= 1.2.6
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
DOCS= COPYING ChangeLog README README.debian \
README.known_issues README.ssl
SBINS= in.imapproxyd pimpstat
SUB_FILES= pkg-message
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
post-patch:
${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${INSTALL_PROGRAM} ${SBINS:S,^,${WRKSRC}/bin/,} ${PREFIX}/sbin
@${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>