pkgsrc/mail/up-imapproxy/Makefile
adrianp 5605e23cc4 Proxies IMAP transactions between an IMAP client and an IMAP server. The
general idea is that the client should never know that it's not talking to
the real IMAP server. The only thing that makes this a slightly unique Imap
Proxy server is that it caches server connections.
2006-05-08 21:58:31 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2006/05/08 21:58:31 adrianp Exp $
DISTNAME= up-imapproxy-1.2.4
CATEGORIES= mail
MASTER_SITES= http://www.imapproxy.org/downloads/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.imapproxy.org/
COMMENT= Connection caching IMAP proxy server
GNU_CONFIGURE= YES
RCD_SCRIPTS= upimapproxy
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= include/imapproxy.h
SUBST_SED.paths= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.paths= Fixing hard coded paths.
CONF_FILES= ${PREFIX}/share/examples/up-imapproxy/imapproxy.conf \
${PKG_SYSCONFDIR}/imapproxy.conf
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/README.ssl ${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/README.known_issues \
${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
${PREFIX}/share/examples/up-imapproxy
.include "../../mk/bsd.pkg.mk"