diff options
-rw-r--r-- | mail/dovecot-sieve/Makefile | 21 | ||||
-rw-r--r-- | mail/dovecot-sieve/pkg-plist | 5 |
2 files changed, 11 insertions, 15 deletions
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile index ebb2a7a2f025..93631a30ec97 100644 --- a/mail/dovecot-sieve/Makefile +++ b/mail/dovecot-sieve/Makefile @@ -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@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> diff --git a/mail/dovecot-sieve/pkg-plist b/mail/dovecot-sieve/pkg-plist index 357b87ecda47..d5f1bab8a8d2 100644 --- a/mail/dovecot-sieve/pkg-plist +++ b/mail/dovecot-sieve/pkg-plist @@ -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 -@dirrmtry lib/dovecot/lda -@dirrmtry lib/dovecot +man/man1/sieve-test.1.gz +man/man1/sievec.1.gz +man/man1/sieved.1.gz |