svn commit: r354441 - head/mail/dovecot-sieve

Olli Hauer ohauer at FreeBSD.org
Sun May 18 17:10:06 UTC 2014


Author: ohauer
Date: Sun May 18 17:10:05 2014
New Revision: 354441
URL: http://svnweb.freebsd.org/changeset/ports/354441
QAT: https://qat.redports.org/buildarchive/r354441/

Log:
  - add stage support
  - bump PORTREVISION
  - add USES=libtool:keepla
  - add LICENSE
  - fix pkg-plist (do not try to remove mail/dovecot folders)
  
  PR:		ports/189079
  Submitted by:	ohauer
  Reviewed by:	maintainer timeout (3 weeks)

Modified:
  head/mail/dovecot-sieve/Makefile
  head/mail/dovecot-sieve/pkg-plist

Modified: head/mail/dovecot-sieve/Makefile
==============================================================================
--- head/mail/dovecot-sieve/Makefile	Sun May 18 17:07:41 2014	(r354440)
+++ head/mail/dovecot-sieve/Makefile	Sun May 18 17:10:05 2014	(r354441)
@@ -4,18 +4,22 @@
 PORTNAME=	dovecot-sieve
 PORTVERSION=	${DOVECOTVERSION}+${DISTVERSION}
 DISTVERSION=	0.1.19
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
 
 MAINTAINER=	yds at CoolRat.org
-COMMENT=	A Sieve plugin for the Dovecot 'deliver' LDA
+COMMENT=	Sieve plugin for the Dovecot 'deliver' LDA
+
+LICENSE=	LGPL21
 
 BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
 RUN_DEPENDS=	dovecot>=${DOVECOTVERSION}.*:${PORTSDIR}/mail/dovecot
 
 DOVECOTVERSION=	1.2
 
+USES=		libtool:keepla
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
@@ -26,15 +30,10 @@ USE_LDCONFIG=	${PREFIX}/lib/dovecot/lda
 
 SUB_FILES=	pkg-message
 
-MAN1=		sieve-test.1 sievec.1 sieved.1
-
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-/\//}
 
-.if !defined(NOPORTDOCS)
 PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt
-.endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '\
 		s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
@@ -47,12 +46,8 @@ post-patch:
 	@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
-.for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lda/lib90_sieve_plugin.so
 
 .include <bsd.port.mk>

Modified: head/mail/dovecot-sieve/pkg-plist
==============================================================================
--- head/mail/dovecot-sieve/pkg-plist	Sun May 18 17:07:41 2014	(r354440)
+++ head/mail/dovecot-sieve/pkg-plist	Sun May 18 17:10:05 2014	(r354441)
@@ -4,5 +4,6 @@ bin/sieved
 lib/dovecot/lda/lib90_sieve_plugin.a
 lib/dovecot/lda/lib90_sieve_plugin.la
 lib/dovecot/lda/lib90_sieve_plugin.so
- at dirrmtry lib/dovecot/lda
- at dirrmtry lib/dovecot
+man/man1/sieve-test.1.gz
+man/man1/sievec.1.gz
+man/man1/sieved.1.gz


More information about the svn-ports-all mailing list