pkgsrc/mail/up-imapproxy/Makefile
rillig c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2019/05/23 19:23:09 rillig Exp $
DISTNAME= up-imapproxy-1.2.5
PKGREVISION= 7
CATEGORIES= mail
MASTER_SITES= http://www.imapproxy.org/downloads/
MAINTAINER= pkgsrc-users@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= pre-configure
SUBST_FILES.paths= include/imapproxy.h
SUBST_VARS.paths= PKG_SYSCONFDIR
SUBST_MESSAGE.paths= Fixing hard coded paths.
CONF_FILES= ${PREFIX}/share/examples/up-imapproxy/imapproxy.conf \
${PKG_SYSCONFDIR}/imapproxy.conf
INSTALLATION_DIRS+= sbin share/doc/up-imapproxy share/examples/up-imapproxy
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/README.ssl ${DESTDIR}${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/README.known_issues \
${DESTDIR}${PREFIX}/share/doc/up-imapproxy
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
${DESTDIR}${PREFIX}/share/examples/up-imapproxy
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"