aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-09-08 16:57:16 +0800
committerbeech <beech@FreeBSD.org>2008-09-08 16:57:16 +0800
commite922d4290fbb5a7959a71633da5d98287783ad8d (patch)
tree052d41a35ab3ad78f7789f06388c49bd276baab0
parent2ea66af31c5bea6d567e524d813f4b867d6e864f (diff)
downloadfreebsd-ports-gnome-e922d4290fbb5a7959a71633da5d98287783ad8d.tar.gz
freebsd-ports-gnome-e922d4290fbb5a7959a71633da5d98287783ad8d.tar.zst
freebsd-ports-gnome-e922d4290fbb5a7959a71633da5d98287783ad8d.zip
- Fix text in COMMENT, pkg-descr and pkg-message
- Install PORTDOCS PR: ports/127202 Submitted by: Yarema <yds@CoolRat.org> (maintainer)
-rw-r--r--mail/dovecot-sieve/Makefile31
-rw-r--r--mail/dovecot-sieve/files/pkg-message.in (renamed from mail/dovecot-sieve/pkg-message)4
-rw-r--r--mail/dovecot-sieve/pkg-descr6
3 files changed, 32 insertions, 9 deletions
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile
index b37f994747c8..9d39169fc2e4 100644
--- a/mail/dovecot-sieve/Makefile
+++ b/mail/dovecot-sieve/Makefile
@@ -7,18 +7,43 @@
PORTNAME= dovecot-sieve
PORTVERSION= 1.1.5
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/sieve/ \
http://www.is-root.com/myports/
-MAINTAINER= yds@coolrat.org
-COMMENT= A sieve plugin for the Dovecot LDA called 'deliver'
+MAINTAINER= yds@CoolRat.org
+COMMENT= A Sieve plugin for the Dovecot 'deliver' LDA
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
+RUN_DEPENDS= dovecot>=1.1.*:${PORTSDIR}/mail/dovecot
USE_LDCONFIG= ${PREFIX}/lib/dovecot/lda
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} --with-dovecot=`make -C ${PORTSDIR}/mail/dovecot -V WRKSRC`
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --with-dovecot=`${MAKE} -C ${PORTSDIR}/mail/dovecot -V WRKSRC`
+SUB_FILES= pkg-message
+.if !defined(NOPORTDOCS)
+PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README \
+ AUTHORS.CMU COPYING.CMU NEWS.CMU README.CMU
+.endif
+
+post-extract:
+ @${LN} -f ${WRKSRC}/src/libsieve/AUTHORS ${WRKSRC}/AUTHORS.CMU
+ @${LN} -f ${WRKSRC}/src/libsieve/COPYING ${WRKSRC}/COPYING.CMU
+ @${LN} -f ${WRKSRC}/src/libsieve/NEWS ${WRKSRC}/NEWS.CMU
+ @${LN} -f ${WRKSRC}/src/libsieve/README ${WRKSRC}/README.CMU
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/mail/dovecot-sieve/pkg-message b/mail/dovecot-sieve/files/pkg-message.in
index da9ec298549b..05a7c5ea7b3e 100644
--- a/mail/dovecot-sieve/pkg-message
+++ b/mail/dovecot-sieve/files/pkg-message.in
@@ -1,6 +1,6 @@
---------------------------------------------------------------------
- This port assumes you are known with Dovecot and have it installed
+ This port assumes you are familiar with Dovecot and have it installed
and running on the system you have installed this plugin on.
You can enable the plugin with this directive in your dovecot.conf:
@@ -11,6 +11,6 @@
Further information on configuration can be found at:
- http://wiki.dovecot.org/
+ http://Wiki.Dovecot.org/LDA/Sieve
---------------------------------------------------------------------
diff --git a/mail/dovecot-sieve/pkg-descr b/mail/dovecot-sieve/pkg-descr
index 7a19d5b394f4..c15c394f5c52 100644
--- a/mail/dovecot-sieve/pkg-descr
+++ b/mail/dovecot-sieve/pkg-descr
@@ -1,9 +1,7 @@
-From the Dovecot wiki on LDA (WWW: http://wiki.dovecot.org/LDA/Sieve)
-
-Sieve language support by a plugin for the deliver LDA
+Sieve language support by a plugin for the Dovecot deliver LDA
* Mail filtering
* Mail forwarding
* Vacation auto-reply
-WWW: http://www.dovecot.org
+WWW: http://Wiki.Dovecot.org/LDA/Sieve