mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
724926ac15
- Convert to USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip (Also some white space fixes in dependent ports) Approved by: portmgr (implicit, bump unstaged port)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rmilter
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
|
|
MAINTAINER= vsevolod@FreeBSD.org
|
|
COMMENT= Milter that performs spamd, clamav, and spf checks
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
|
|
libspf2.so:${PORTSDIR}/mail/libspf2 \
|
|
libopendkim.so:${PORTSDIR}/mail/opendkim
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= vstakhov
|
|
GH_PROJECT= ${PORTNAME}
|
|
GH_TAG= ${PORTVERSION}
|
|
GH_COMMIT= a8d7db5
|
|
|
|
USE_RC_SUBR= yes
|
|
USES= cmake:outsource bison
|
|
USE_OPENSSL= yes
|
|
|
|
PLIST_FILES= sbin/rmilter etc/rc.d/rmilter.sh \
|
|
etc/rmilter.conf.sample \
|
|
man/man8/rmilter.8.gz
|
|
|
|
CMAKE_ARGS+= -DENABLE_SPF=ON \
|
|
-DENABLE_DKIM=ON
|
|
|
|
WITH_SENDMAIL_BASE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Workaround to prevent bsd.milter.mk from breaking the build with the recent clang
|
|
WITHOUT_MILTER_LDFLAGS= yes
|
|
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rmilter.sh ${STAGEDIR}${PREFIX}/etc/rc.d/
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/rmilter ${STAGEDIR}${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/rmilter.conf.sample ${STAGEDIR}${PREFIX}/etc/
|
|
${INSTALL_MAN} ${WRKSRC}/doc/rmilter.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
|
|
|
|
.include <bsd.port.post.mk>
|