2019-11-02 17:25:17 +01:00
|
|
|
# $NetBSD: Makefile,v 1.22 2019/11/02 16:25:22 rillig Exp $
|
2002-12-09 04:17:19 +01:00
|
|
|
#
|
|
|
|
|
2017-02-25 01:35:13 +01:00
|
|
|
DISTNAME= squirrelmail-imap_proxy-1.2.7
|
2010-03-22 09:10:36 +01:00
|
|
|
PKGNAME= imapproxy-1.2.7
|
2017-08-08 18:39:11 +02:00
|
|
|
PKGREVISION= 6
|
2002-12-09 04:17:19 +01:00
|
|
|
CATEGORIES= mail
|
2017-02-25 14:48:52 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
|
2002-12-09 04:17:19 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-03-22 09:10:36 +01:00
|
|
|
HOMEPAGE= http://www.imapproxy.org/
|
2002-12-09 04:17:19 +01:00
|
|
|
COMMENT= Simple connection caching IMAP proxy daemon
|
|
|
|
|
2010-03-22 09:10:36 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2019-11-02 17:25:17 +01:00
|
|
|
CONFIGURE_ARGS+= --exec_prefix=${DESTDIR}${PREFIX}
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
CFLAGS+= -DDEFAULT_CONFIG_FILE=\"${PREFIX}/etc/imapproxy.conf\"
|
|
|
|
CFLAGS+= -DDEFAULT_PID_FILE=\"${VARBASE}/run/imapproxy.pid\"
|
|
|
|
RCD_SCRIPTS= imapproxy
|
2010-03-22 09:10:36 +01:00
|
|
|
|
|
|
|
IMAPPROXY_USER?= imapproxy
|
|
|
|
IMAPPROXY_GROUP?= imapproxy
|
2019-11-02 17:25:17 +01:00
|
|
|
IMAPPROXY_CHROOT?= ${VARBASE}/chroot/imapproxy
|
|
|
|
IMAPPROXY_DOC?= share/doc/imapproxy
|
|
|
|
IMAPPROXY_EXAMPLES?= share/examples/imapproxy
|
|
|
|
|
|
|
|
PKG_GROUPS_VARS+= IMAPPROXY_GROUP
|
|
|
|
PKG_USERS_VARS+= IMAPPROXY_USER
|
|
|
|
PKG_GROUPS= ${IMAPPROXY_GROUP}
|
|
|
|
PKG_USERS= ${IMAPPROXY_USER}:${IMAPPROXY_GROUP}
|
|
|
|
PKG_GECOS.${IMAPPROXY_USER}= IMAP Proxy pseudo-user
|
|
|
|
PKG_HOME.${IMAPPROXY_USER}= ${IMAPPROXY_CHROOT}
|
2002-12-09 04:17:19 +01:00
|
|
|
|
2010-03-22 09:10:36 +01:00
|
|
|
INSTALLATION_DIRS+= sbin
|
|
|
|
INSTALLATION_DIRS+= ${IMAPPROXY_DOC}
|
|
|
|
INSTALLATION_DIRS+= ${IMAPPROXY_EXAMPLES}
|
2017-08-08 18:39:11 +02:00
|
|
|
|
|
|
|
MAKE_DIRS= ${VARBASE}/chroot
|
|
|
|
OWN_DIRS= ${VARBASE}/chroot/imapproxy
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2010-03-22 09:10:36 +01:00
|
|
|
post-install:
|
|
|
|
.for doc in COPYING ChangeLog README README.known_issues README.ssl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/${IMAPPROXY_DOC}
|
2002-12-09 04:17:19 +01:00
|
|
|
.endfor
|
2010-03-22 09:10:36 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
|
|
|
|
${DESTDIR}${PREFIX}/${IMAPPROXY_EXAMPLES}
|
2002-12-09 04:17:19 +01:00
|
|
|
|
2017-05-09 17:07:17 +02:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2015-01-18 16:52:05 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2002-12-09 04:17:19 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|