Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  8 Sep 2008 02:52:47 -0400 (EDT)
From:      Yarema <yds@CoolRat.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Beech Rintoul <Beech@FreeBSD.org>
Subject:   ports/127202: [PATCH] mail/dovecot-sieve
Message-ID:  <20080908065248.0EB486432D48@orion.dppl.com>
Resent-Message-ID: <200809080700.m8870BrI041164@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127202
>Category:       ports
>Synopsis:       [PATCH] mail/dovecot-sieve
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 08 07:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yarema
>Release:        FreeBSD 6.4-PRERELEASE amd64
>Organization:
NYCBUG.org
>Environment:
System:	FreeBSD 6.4-PRERELEASE amd64
	FreeBSD 7.1-PRERELEASE amd64
>Description:
Fix text in COMMENT, pkg-descr and pkg-message
Install PORTDOCS
>How-To-Repeat:
cd /usr/ports/mail/dovecot-sieve/ && make install
>Fix:
diff -u -r -N dovecot-sieve~/Makefile dovecot-sieve/Makefile
--- dovecot-sieve~/Makefile	2008-08-22 03:28:32.000000000 -0400
+++ dovecot-sieve/Makefile	2008-09-08 02:36:37.739659587 -0400
@@ -7,18 +7,42 @@
 
 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`
+
+.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 -u -r -N dovecot-sieve~/pkg-descr dovecot-sieve/pkg-descr
--- dovecot-sieve~/pkg-descr	2007-01-09 16:10:41.000000000 -0500
+++ dovecot-sieve/pkg-descr	2008-04-22 21:15:13.000000000 -0400
@@ -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
diff -u -r -N dovecot-sieve~/pkg-message dovecot-sieve/pkg-message
--- dovecot-sieve~/pkg-message	2007-01-09 16:10:41.000000000 -0500
+++ dovecot-sieve/pkg-message	2008-04-22 20:59:09.000000000 -0400
@@ -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
 
----------------------------------------------------------------------
+----------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080908065248.0EB486432D48>