Browse files

- Update to 1.5.45

- Use github master site.
- Fix staging.
- Update LIB_DEPENDS style.
  • Loading branch information...
1 parent d4be30c commit a481388dc9a16e607548b2200ade962f11235d4f @vstakhov vstakhov committed Nov 30, 2013
Showing with 21 additions and 15 deletions.
  1. +19 −13 mail/rmilter/Makefile
  2. +2 −2 mail/rmilter/distinfo
View
32 mail/rmilter/Makefile
@@ -1,16 +1,25 @@
# $FreeBSD$
PORTNAME= rmilter
-PORTVERSION= 1.5.43
+PORTVERSION= 1.5.45
CATEGORIES= mail
-MASTER_SITES= http://cdn.bitbucket.org/vstakhov/rmilter/downloads/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Milter that performs spamd, clamav, and spf checks
LICENSE= BSD
-PLIST_FILES= sbin/rmilter etc/rc.d/rmilter.sh etc/rmilter.conf.sample
+USE_GITHUB= yes
+GH_ACCOUNT= vstakhov
+GH_PROJECT= ${PORTNAME}
+GH_TAG= ${PORTVERSION}
+GH_COMMIT= 746ac47
+
+USE_RC_SUBR= 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} \
@@ -24,23 +33,20 @@ WITH_SENDMAIL_BASE= yes
CONFIGURE_ARGS+= --enable-debug
.endif
-LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre \
- spf2:${PORTSDIR}/mail/libspf2 \
- opendkim:${PORTSDIR}/mail/opendkim
+LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
+ libspf2.so:${PORTSDIR}/mail/libspf2 \
+ libopendkim.so:${PORTSDIR}/mail/opendkim
CFLAGS+= ${PTHREAD_CFLAGS}
LIBS+= ${PTHREAD_LIBS}
-MAN8= rmilter.8
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/rmilter.sh ${PREFIX}/etc/rc.d/
- ${INSTALL_PROGRAM} ${WRKSRC}/rmilter ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/rmilter.conf.sample ${PREFIX}/etc/
- ${INSTALL_MAN} ${WRKSRC}/rmilter.8 ${MAN8PREFIX}/man/man8/
+ ${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/
.include <bsd.port.post.mk>
View
4 mail/rmilter/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rmilter-1.5.43.tar.gz) = b6ace517be8085e0e385adb0d32e25e3843fd58a9251895eaec26e2d01b75d0f
-SIZE (rmilter-1.5.43.tar.gz) = 104947
+SHA256 (rmilter-1.5.45.tar.gz) = 2bb7900beabf6223d5178f7ad683aa4ddc7ccf0cf0b7437c46108463e6155e80
+SIZE (rmilter-1.5.45.tar.gz) = 111601

0 comments on commit a481388

Please sign in to comment.