b0613b63a2
Respect LDFLAGS Bump PKGREVISION
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2011/12/17 10:16:08 sbd Exp $
|
|
|
|
DISTNAME= up-imapproxy-1.2.5
|
|
PKGREVISION= 3
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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
|
|
|
|
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"
|