diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-02-13 01:38:10 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-02-13 01:38:10 +0800 |
commit | d268d7ec68a6d0b39da2adc9528c6dceb87937cb (patch) | |
tree | 0488c8a854b383c7d20e6463a38b4f9337431bfb /mail | |
parent | e19b52da18a3b100e2ad6905982ee58c7113e28a (diff) | |
download | freebsd-ports-gnome-d268d7ec68a6d0b39da2adc9528c6dceb87937cb.tar.gz freebsd-ports-gnome-d268d7ec68a6d0b39da2adc9528c6dceb87937cb.tar.zst freebsd-ports-gnome-d268d7ec68a6d0b39da2adc9528c6dceb87937cb.zip |
- Update to 1.21 [1]
- Add support for LUA [1]
- Trim header
- Remove unneeded QMAIL_PREFIX (pulled in from bsd.mail.mk already)
- Remove ABI version from LIB_DEPENDS
- Convert NOPORTDOCS -> DOCS
PR: ports/174742 [1] (based on)
Submitted by: Uffe Jakobsen <uffe@uffe.org> [1]
Approved by: maintainer timeout
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailfront/Makefile | 32 | ||||
-rw-r--r-- | mail/mailfront/distinfo | 4 | ||||
-rw-r--r-- | mail/mailfront/pkg-plist | 2 |
3 files changed, 26 insertions, 12 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile index 7e8c9fc6c5e8..14d5c5be76fe 100644 --- a/mail/mailfront/Makefile +++ b/mail/mailfront/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: mailfront -# Date created: 03 Mar 2003 -# Whom: Sergei Kolobov <sergei@kolobov.com> -# +# Created by: Sergei Kolobov <sergei@kolobov.com> # $FreeBSD$ -# PORTNAME= mailfront -PORTVERSION= 1.18 +PORTVERSION= 1.21 CATEGORIES= mail MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ http://untroubled.org/${PORTNAME}/archive/ @@ -14,13 +10,14 @@ MASTER_SITES= http://untroubled.org/${PORTNAME}/ \ MAINTAINER= tarkhil@over.ru COMMENT= Mail server network protocol front-ends -LIB_DEPENDS= cvm-v2client.2:${PORTSDIR}/security/cvm +LIB_DEPENDS= cvm-v2client:${PORTSDIR}/security/cvm + +OPTIONS_DEFINE= LUA WANT_QMAIL= yes -QMAIL_PREFIX?= /var/qmail CFLAGS+= -I${CVM_INC} CFLAGS_SO= ${CFLAGS} -fPIC -shared -L${CVM_LIB} -LDFLAGS+= -g -L${CVM_LIB} -rdynamic +LDFLAGS+= -g -L${CVM_LIB} BGLIBS_INC= ${LOCALBASE}/include/bglibs BGLIBS_LIB= ${LOCALBASE}/lib/bglibs CVM_INC= ${LOCALBASE}/include @@ -31,6 +28,21 @@ DOCS= NEWS README TODO *.html .include <bsd.port.pre.mk> +ALL_TARGET= all + +.if ${PORT_OPTIONS:MLUA} +ALL_TARGET+= lua +USE_LUA= yes +CFLAGS+= -I${LUA_INCDIR} +CFLAGS_SO+= -L${LUA_LIBDIR} +LDFLAGS+= -L${LUA_LIBDIR} +PLIST_SUB+= LUA="" +.else +PLIST_SUB+= LUA="@comment " +.endif + +LDFLAGS+= -rdynamic + do-configure: ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin ${ECHO_CMD} "${PREFIX}/include" > ${WRKSRC}/conf-include @@ -42,7 +54,7 @@ do-configure: ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs ${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} diff --git a/mail/mailfront/distinfo b/mail/mailfront/distinfo index fed269d2b2df..5ef5b0b3ae0f 100644 --- a/mail/mailfront/distinfo +++ b/mail/mailfront/distinfo @@ -1,2 +1,2 @@ -SHA256 (mailfront-1.18.tar.gz) = 18d2815949f6126fa4b6a2496c07121e13b89db0d0847538c7c6746c6f8db896 -SIZE (mailfront-1.18.tar.gz) = 109988 +SHA256 (mailfront-1.21.tar.gz) = 219dcefafc1a458407ac0605168499f2e3e585cd14b89659809e5bcda2c82825 +SIZE (mailfront-1.21.tar.gz) = 113966 diff --git a/mail/mailfront/pkg-plist b/mail/mailfront/pkg-plist index 51dfd0fe0fa7..3028272a8387 100644 --- a/mail/mailfront/pkg-plist +++ b/mail/mailfront/pkg-plist @@ -18,6 +18,7 @@ libexec/mailfront/plugin-check-fqdn.so libexec/mailfront/plugin-clamav.so libexec/mailfront/plugin-counters.so libexec/mailfront/plugin-cvm-validate.so +%%LUA%%libexec/mailfront/plugin-lua.so libexec/mailfront/plugin-mailrules.so libexec/mailfront/plugin-patterns.so libexec/mailfront/plugin-qmail-validate.so @@ -45,6 +46,7 @@ libexec/mailfront/protocol-smtp.so %%PORTDOCS%%%%DOCSDIR%%/plugin-counters.html %%PORTDOCS%%%%DOCSDIR%%/plugin-cvm-validate.html %%PORTDOCS%%%%DOCSDIR%%/plugin-force-file.html +%%PORTDOCS%%%%DOCSDIR%%/plugin-lua.html %%PORTDOCS%%%%DOCSDIR%%/plugin-mailrules.html %%PORTDOCS%%%%DOCSDIR%%/plugin-patterns.html %%PORTDOCS%%%%DOCSDIR%%/plugin-qmail-validate.html |