1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # $OpenBSD: Makefile,v 1.22 2016/03/01 05:18:57 mmcc Exp $
- COMMENT= remote IMAP filtering utility
- V= 2.6.6
- DISTNAME= imapfilter-${V}
- GH_TAGNAME= v${V}
- GH_ACCOUNT= lefcha
- GH_PROJECT= imapfilter
- CATEGORIES= mail
- MAINTAINER= Michael McConville <mmcco@mykolab.com>
- # MIT/X
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += c crypto m ssl pcre ${MODLUA_WANTLIB}
- MODULES= lang/lua
- MODLUA_SA= Yes
- LIB_DEPENDS= devel/pcre \
- ${MODLUA_LIB_DEPENDS}
- MAKE_FLAGS= CC="${CC}" \
- PREFIX="${TRUEPREFIX}" \
- LIBLUA="${MODLUA_LIB}" \
- MYCFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${MODLUA_INCL_DIR}" \
- MYLDFLAGS="-L${LOCALBASE}/lib"
- NO_TEST= Yes
- pre-configure:
- perl -pi -e 's,-ldl,,' ${WRKSRC}/src/Makefile
- post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imapfilter
- ${INSTALL_DATA} ${WRKSRC}/samples/*.lua \
- ${PREFIX}/share/examples/imapfilter/
- .include <bsd.port.mk>
|