- Update to 0.1.17

PR:		ports/147997
Submitted by:	Denny Lin <dennylin93@hs.ntnu.edu.tw>
Approved by:	Yarema <yds@CoolRat.org> (maintainer)
		wxs@/itetcu@ (mentors, implicit)
Feature safe:	yes
This commit is contained in:
Sahil Tandon 2010-07-05 05:41:01 +00:00
parent 6af0287c16
commit 579dd80bbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257380
2 changed files with 19 additions and 5 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= dovecot-sieve
PORTVERSION= ${DOVECOTVERSION}+${DISTVERSION}
DISTVERSION= 0.1.15
DISTVERSION= 0.1.17
CATEGORIES= mail
MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
@ -23,6 +23,7 @@ DOVECOTVERSION= 1.2
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} \
--docdir=${DOCSDIR} \
--with-dovecot=`${MAKE} -C ${PORTSDIR}/mail/dovecot -V WRKSRC`
CONFIGURE_ENV= LDFLAGS='${LDFLAGS}'
LDFLAGS+= -L${LOCALBASE}/lib
@ -32,10 +33,23 @@ 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
PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt
.endif
post-patch:
@${REINPLACE_CMD} -e '\
s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
s!$${docdir}/dovecot/sieve!$${docdir}!g;\
' ${WRKSRC}/configure
@${REINPLACE_CMD} -E -e '\
/^docfiles = spamtest-virustest.txt$$/D;\
/^[[:space:]]+test -z "\$$\(sieve_docdir\)" \|\| \$$\(MKDIR_P\) "\$$\(DESTDIR\)\$$\(sieve_docdir\)"$$/D;\
' ${WRKSRC}/doc/Makefile.in
@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}

View file

@ -1,3 +1,3 @@
MD5 (dovecot-1.2-sieve-0.1.15.tar.gz) = 2246fbbcf304d3ec1df0db2d091fe05a
SHA256 (dovecot-1.2-sieve-0.1.15.tar.gz) = edddc49237d5cb07a7938de9850b475b071e9350b2035f99a15db7a56882295c
SIZE (dovecot-1.2-sieve-0.1.15.tar.gz) = 1051262
MD5 (dovecot-1.2-sieve-0.1.17.tar.gz) = ba17a8a08386eb2731793b74317003e2
SHA256 (dovecot-1.2-sieve-0.1.17.tar.gz) = e02a4a1b5958bbe1c8e216f11d00166e33c31b304cbd4180de29b1a1dd5e7d0b
SIZE (dovecot-1.2-sieve-0.1.17.tar.gz) = 1029070