2019-05-23 21:22:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2019/05/23 19:23:09 rillig Exp $
|
2006-05-08 23:58:31 +02:00
|
|
|
|
2007-06-07 17:12:01 +02:00
|
|
|
DISTNAME= up-imapproxy-1.2.5
|
2016-03-05 12:27:40 +01:00
|
|
|
PKGREVISION= 7
|
2006-05-08 23:58:31 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.imapproxy.org/downloads/
|
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-05-08 23:58:31 +02:00
|
|
|
HOMEPAGE= http://www.imapproxy.org/
|
|
|
|
COMMENT= Connection caching IMAP proxy server
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
RCD_SCRIPTS= upimapproxy
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.paths= pre-configure
|
2006-05-08 23:58:31 +02:00
|
|
|
SUBST_FILES.paths= include/imapproxy.h
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.paths= PKG_SYSCONFDIR
|
2006-05-08 23:58:31 +02:00
|
|
|
SUBST_MESSAGE.paths= Fixing hard coded paths.
|
|
|
|
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/up-imapproxy/imapproxy.conf \
|
|
|
|
${PKG_SYSCONFDIR}/imapproxy.conf
|
|
|
|
|
2007-06-07 17:12:01 +02:00
|
|
|
INSTALLATION_DIRS+= sbin share/doc/up-imapproxy share/examples/up-imapproxy
|
2010-02-04 15:21:10 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
|
2007-06-07 17:12:01 +02:00
|
|
|
|
2006-05-08 23:58:31 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
|
|
|
|
post-install:
|
2010-02-04 15:21:10 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/up-imapproxy
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ssl ${DESTDIR}${PREFIX}/share/doc/up-imapproxy
|
2006-05-08 23:58:31 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.known_issues \
|
2010-02-04 15:21:10 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/up-imapproxy
|
2006-05-08 23:58:31 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
|
2010-02-04 15:21:10 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/up-imapproxy
|
2006-05-08 23:58:31 +02:00
|
|
|
|
2011-12-17 11:16:08 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2006-05-08 23:58:31 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|