diff options
author | sahil <sahil@FreeBSD.org> | 2010-07-05 13:41:01 +0800 |
---|---|---|
committer | sahil <sahil@FreeBSD.org> | 2010-07-05 13:41:01 +0800 |
commit | 064d529adbb6472ae332a18d611dc4e2e2e1de0a (patch) | |
tree | 03ec6360aaebfa17bc2d48817734b8bb02647afc /mail/dovecot-sieve | |
parent | b94cf37d481bf0e95e23ce21148bbee02d5feb79 (diff) | |
download | freebsd-ports-gnome-064d529adbb6472ae332a18d611dc4e2e2e1de0a.tar.gz freebsd-ports-gnome-064d529adbb6472ae332a18d611dc4e2e2e1de0a.tar.zst freebsd-ports-gnome-064d529adbb6472ae332a18d611dc4e2e2e1de0a.zip |
- 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
Diffstat (limited to 'mail/dovecot-sieve')
-rw-r--r-- | mail/dovecot-sieve/Makefile | 18 | ||||
-rw-r--r-- | mail/dovecot-sieve/distinfo | 6 |
2 files changed, 19 insertions, 5 deletions
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile index a798b36cbebe..0687bd09f750 100644 --- a/mail/dovecot-sieve/Makefile +++ b/mail/dovecot-sieve/Makefile @@ -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} diff --git a/mail/dovecot-sieve/distinfo b/mail/dovecot-sieve/distinfo index 64078f31da5b..2fb9b832ea04 100644 --- a/mail/dovecot-sieve/distinfo +++ b/mail/dovecot-sieve/distinfo @@ -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 |