2020-01-28 09:21:24 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2020/01/28 09:21:24 stsp Exp $
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2007-08-02 06:18:37 +00:00
|
|
|
COMMENT= fetch, filter and deliver mail
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2019-04-27 10:16:27 +00:00
|
|
|
V= 2.0
|
2015-06-19 08:53:44 +00:00
|
|
|
DISTNAME= fdm-$V
|
2007-01-18 21:47:01 +00:00
|
|
|
CATEGORIES= mail
|
2020-01-28 09:21:24 +00:00
|
|
|
REVISION= 0
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2014-10-23 07:21:06 +00:00
|
|
|
MAINTAINER= Nicholas Marriott <nicm@openbsd.org>
|
2007-01-18 21:47:01 +00:00
|
|
|
|
|
|
|
# BSD
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2019-04-27 10:16:27 +00:00
|
|
|
WANTLIB= c crypto pcre ssl z tdb>=3.0
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2015-06-19 08:53:44 +00:00
|
|
|
MASTER_SITES= https://github.com/nicm/fdm/releases/download/$V/
|
2007-01-18 21:47:01 +00:00
|
|
|
|
2020-01-28 09:21:24 +00:00
|
|
|
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
2019-04-27 10:16:27 +00:00
|
|
|
LIB_DEPENDS += databases/tdb>=1.2.7 \
|
|
|
|
devel/pcre
|
2007-08-02 06:18:37 +00:00
|
|
|
|
2015-12-03 14:21:33 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2019-04-27 10:16:27 +00:00
|
|
|
CONFIGURE_ARGS = --enable-pcre
|
2013-03-06 15:12:01 +00:00
|
|
|
|
2007-01-18 21:47:01 +00:00
|
|
|
post-install:
|
2007-02-06 07:27:24 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/fdm
|
2007-08-02 06:18:37 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fdm-sanitize ${PREFIX}/share/fdm
|
2007-01-18 21:47:01 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fdm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fdm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/fdm
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fdm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/fdm
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|