kn 076d29f16b Split databases/tdb into -main and -python package
net/samba is the only consumer requiring Python bindings, so this split
enables all other consumers (netatalk3, neomutt, fdm, rhythmbox, pulseaudio)
to avoid the dependency on Python 2.

Bump all consumers due to tdb's PKGPATH change.

Wanted by many
Feedback OK jca sthen
2021-01-23 23:17:47 +00:00

36 lines
894 B
Makefile

# $OpenBSD: Makefile,v 1.25 2021/01/23 23:17:48 kn Exp $
COMMENT= fetch, filter and deliver mail
V= 2.0
DISTNAME= fdm-$V
CATEGORIES= mail
REVISION= 1
MAINTAINER= Nicholas Marriott <nicm@openbsd.org>
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= c crypto pcre ssl z tdb>=3.0
MASTER_SITES= https://github.com/nicm/fdm/releases/download/$V/
DEBUG_PACKAGES= ${BUILD_PACKAGES}
LIB_DEPENDS += databases/tdb>=1.2.7 \
devel/pcre
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-pcre
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/fdm
${INSTALL_SCRIPT} ${WRKSRC}/fdm-sanitize ${PREFIX}/share/fdm
${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>