summaryrefslogtreecommitdiff
path: root/mail/milter-greylist-devel/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-02-09 12:30:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-02-09 12:30:03 +0000
commit6bd6df0b9a5c447949e1079e74598691af27e96d (patch)
tree5bad80a38b1d9c219408fc31bb4997e0108be2c9 /mail/milter-greylist-devel/Makefile
parent- Update to 1.3.6 (diff)
- Update to 2.0b1
PR: ports/77274 Submitted by: Cyril Guibourg <aragorn+ports@teaser.fr> (maintainer)
Notes
Notes: svn path=/head/; revision=128370
Diffstat (limited to 'mail/milter-greylist-devel/Makefile')
-rw-r--r--mail/milter-greylist-devel/Makefile25
1 files changed, 22 insertions, 3 deletions
diff --git a/mail/milter-greylist-devel/Makefile b/mail/milter-greylist-devel/Makefile
index 65ab8049c1c9..c123517e15ce 100644
--- a/mail/milter-greylist-devel/Makefile
+++ b/mail/milter-greylist-devel/Makefile
@@ -5,11 +5,11 @@
# $FreeBSD$
#
-PORTNAME= milter-greylist
-PORTVERSION= 1.7.5
+PORTNAME= milter-greylist-devel
+DISTVERSION= 2.0b1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
-PKGNAMESUFFIX= -devel
+DISTNAME= milter-greylist-${DISTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= aragorn+ports@teaser.fr
@@ -18,9 +18,13 @@ COMMENT= Easy-to-use greylist milter for sendmail (development)
MAN5= greylist.conf.5
MAN8= milter-greylist.8
+CFLAGS+= ${PTHREAD_CFLAGS}
+LIBS+= ${PTHREAD_LIBS}
+
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-user=smmsp
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LIBS}"
ALL_TARGET= milter-greylist
@@ -51,6 +55,21 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/greylist.conf ${EXAMPLESDIR}
.endif
+
+ @${TEST} -f /var/db/milter-greylist/greylist.db && ( \
+ ${ECHO} "***********************************************************"; \
+ ${ECHO} "***********************************************************"; \
+ ${ECHO} "** **"; \
+ ${ECHO} "** WARNING **"; \
+ ${ECHO} "** **"; \
+ ${ECHO} "** The default dump file location has changed. **"; \
+ ${ECHO} "** Please move greylist.db from /var/db/milter-greylist/ **"; \
+ ${ECHO} "** to /var/milter-greylist/ **"; \
+ ${ECHO} "** **"; \
+ ${ECHO} "***********************************************************"; \
+ ${ECHO} "***********************************************************"; \
+ ) || ${TRUE}
+
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>