2014-10-29 22:56:18 +00:00

42 lines
990 B
Makefile

# $OpenBSD: Makefile,v 1.37 2014/10/29 22:56:18 brad Exp $
SHARED_ONLY= Yes
COMMENT= Sieve mail filtering for Dovecot
V_SIEVE= 0.4.4
V_DOVECOT= 2.2
DISTNAME= dovecot-${V_DOVECOT}-pigeonhole-${V_SIEVE}
PKGNAME= dovecot-pigeonhole-${V_SIEVE}
EPOCH= 0
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/${V_DOVECOT}/
SHARED_LIBS= dovecot-sieve 2.0
HOMEPAGE= http://pigeonhole.dovecot.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= lib/dovecot/dovecot lib/dovecot/dovecot-lda \
lib/dovecot/dovecot-login lib/dovecot/dovecot-storage \
c crypto ssl ${MODLIBICONV_WANTLIB}
MODULES= converters/libiconv
LIB_DEPENDS= mail/dovecot
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --docdir=${PREFIX}/share/doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@find ${PREFIX}/lib/dovecot -name '*.a' -print | xargs rm
@find ${PREFIX}/lib/dovecot -name '*.la' -print | xargs rm
.include <bsd.port.mk>