aboutsummaryrefslogtreecommitdiff
path: root/mail/rmilter/Makefile
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2014-01-17 16:52:23 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2014-01-17 16:52:23 +0000
commit5af305bc828bb5c73f5563214b19154e5a1c5f2d (patch)
tree3c7c45e609e45fe27192c9ffa16a158912e865d4 /mail/rmilter/Makefile
parent33435d026d71042ec86062a30186b8db13c9af10 (diff)
downloadports-5af305bc828bb5c73f5563214b19154e5a1c5f2d.tar.gz
ports-5af305bc828bb5c73f5563214b19154e5a1c5f2d.zip
Notes
Diffstat (limited to 'mail/rmilter/Makefile')
-rw-r--r--mail/rmilter/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/mail/rmilter/Makefile b/mail/rmilter/Makefile
index 23422357cbc1..3cb9f25a1e68 100644
--- a/mail/rmilter/Makefile
+++ b/mail/rmilter/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rmilter
-PORTVERSION= 1.5.47
+PORTVERSION= 1.6.0
CATEGORIES= mail
MAINTAINER= vsevolod@FreeBSD.org
@@ -13,33 +13,25 @@ USE_GITHUB= yes
GH_ACCOUNT= vstakhov
GH_PROJECT= ${PORTNAME}
GH_TAG= ${PORTVERSION}
-GH_COMMIT= 3d7b91c
+GH_COMMIT= 9814531
USE_RC_SUBR= yes
+USES= cmake
+USE_OPENSSL= yes
PLIST_FILES= sbin/rmilter etc/rc.d/rmilter.sh \
etc/rmilter.conf.sample \
man/man8/rmilter.8.gz
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --enable-dkim
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+CMAKE_ARGS+= -DENABLE_SPF=ON \
+ -DENABLE_DKIM=ON
WITH_SENDMAIL_BASE= yes
-.ifdef WITH_DEBUG
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
libspf2.so:${PORTSDIR}/mail/libspf2 \
libopendkim.so:${PORTSDIR}/mail/opendkim
-CFLAGS+= ${PTHREAD_CFLAGS}
-LIBS+= ${PTHREAD_LIBS}
-
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
@@ -47,6 +39,6 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rmilter.sh ${STAGEDIR}${PREFIX}/etc/rc.d/
${INSTALL_PROGRAM} ${WRKSRC}/rmilter ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/rmilter.conf.sample ${STAGEDIR}${PREFIX}/etc/
- ${INSTALL_MAN} ${WRKSRC}/rmilter.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/doc/rmilter.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
.include <bsd.port.post.mk>