openbsd-ports/mail/imapproxy/Makefile

40 lines
931 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2007/09/12 19:54:48 brad Exp $
COMMENT= caching IMAP proxy to be used with webmail clients
DISTNAME= up-imapproxy-1.2.5
PKGNAME= ${DISTNAME:S/^up-//}p1
CATEGORIES= mail
HOMEPAGE= http://www.imapproxy.org/
MAINTAINER= Holger Mauermann <holger@mauermann.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/downloads/
WANTLIB= curses c ssl crypto pthread
CONFIGURE_STYLE=gnu
2006-10-18 06:03:50 -04:00
NO_REGRESS= Yes
pre-build:
@perl -pi -e "s,!!SYSCONFDIR!!,${SYSCONFDIR}," \
${WRKSRC}/include/imapproxy.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imapproxy
${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
${PREFIX}/share/examples/imapproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imapproxy
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.ssl \
${PREFIX}/share/doc/imapproxy
.include <bsd.port.mk>