aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot2-pigeonhole
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2013-07-16 17:51:12 +0000
committerMark Felder <feld@FreeBSD.org>2013-07-16 17:51:12 +0000
commitf552f11557409c66287642d7c6d5cefd4ca2f15d (patch)
treefadf593acf51409ea014916f35b23582715edaa1 /mail/dovecot2-pigeonhole
parent2e70abcba85d4a5b35265823db97e76235c9240e (diff)
downloadports-f552f11557409c66287642d7c6d5cefd4ca2f15d.tar.gz
ports-f552f11557409c66287642d7c6d5cefd4ca2f15d.zip
Notes
Diffstat (limited to 'mail/dovecot2-pigeonhole')
-rw-r--r--mail/dovecot2-pigeonhole/Makefile53
-rw-r--r--mail/dovecot2-pigeonhole/pkg-plist128
2 files changed, 76 insertions, 105 deletions
diff --git a/mail/dovecot2-pigeonhole/Makefile b/mail/dovecot2-pigeonhole/Makefile
index 167d272c8e52..a6b9b060ee50 100644
--- a/mail/dovecot2-pigeonhole/Makefile
+++ b/mail/dovecot2-pigeonhole/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dovecot-pigeonhole
PORTVERSION= 0.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
@@ -12,15 +12,17 @@ MAINTAINER= bra@fsn.hu
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
-RUN_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
+BUILD_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
+RUN_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
DOVECOTVERSION= 2.2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --prefix=${PREFIX} \
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
+ --without-dovecot-install-dirs \
--docdir=${DOCSDIR} \
--with-dovecot="${LOCALBASE}/lib/dovecot"
LDFLAGS+= -L${LOCALBASE}/lib
@@ -28,50 +30,17 @@ USE_LDCONFIG= ${PREFIX}/lib/dovecot
MAN1= sieve-dump.1 sieve-filter.1 sieve-test.1 sievec.1 sieved.1
MAN7= pigeonhole.7
+PORTDOCS= doc/extensions/* doc/plugins/* doc/rfc/*
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-/\//}
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-EXTENSIONDOCS= editheader.txt include.txt spamtest-virustest.txt \
- vacation.txt vnd.dovecot.duplicate.txt
-PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO \
- script-location-dict.txt ${EXTENSIONDOCS}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:S/-/\//}
-PORTEXAMPLES= *.sieve
-.endif
+.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -E '\
- s!^(install-data-am:) install-sieve_docDATA!\1!; \
+ s!^(install-data-am:) install-sieve_docDATA!\1!; \
s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
${WRKSRC}/doc/Makefile.in
-.if ${PORT_OPTIONS:MDOCS}
-.for f in ${EXTENSIONDOCS}
- @${LN} -f ${WRKSRC}/doc/extensions/${f} ${WRKSRC}/
-.endfor
- @${LN} -f ${WRKSRC}/doc/script-location-dict.txt ${WRKSRC}/
-.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
-.for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/examples/*.sieve ${EXAMPLESDIR}
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}"
-.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/dovecot2-pigeonhole/pkg-plist b/mail/dovecot2-pigeonhole/pkg-plist
index 11687cb9a96d..d52e93f7de40 100644
--- a/mail/dovecot2-pigeonhole/pkg-plist
+++ b/mail/dovecot2-pigeonhole/pkg-plist
@@ -1,63 +1,66 @@
+%%DOCSDIR%%/example-config/conf.d/20-managesieve.conf
+%%DOCSDIR%%/example-config/conf.d/90-sieve-extprograms.conf
+%%DOCSDIR%%/example-config/conf.d/90-sieve.conf
bin/sieve-dump
bin/sieve-filter
bin/sieve-test
bin/sievec
-include/dovecot/sieve/edit-mail.h
-include/dovecot/sieve/pigeonhole-config.h
-include/dovecot/sieve/rfc2822.h
-include/dovecot/sieve/sieve-actions.h
-include/dovecot/sieve/sieve-address-parts.h
-include/dovecot/sieve/sieve-address.h
-include/dovecot/sieve/sieve-ast.h
-include/dovecot/sieve/sieve-binary-dumper.h
-include/dovecot/sieve/sieve-binary-private.h
-include/dovecot/sieve/sieve-binary.h
-include/dovecot/sieve/sieve-code-dumper.h
-include/dovecot/sieve/sieve-code.h
-include/dovecot/sieve/sieve-commands.h
-include/dovecot/sieve/sieve-common.h
-include/dovecot/sieve/sieve-comparators.h
-include/dovecot/sieve/sieve-config.h
-include/dovecot/sieve/sieve-dump.h
-include/dovecot/sieve/sieve-error-private.h
-include/dovecot/sieve/sieve-error.h
-include/dovecot/sieve/sieve-ext-copy.h
-include/dovecot/sieve/sieve-ext-enotify.h
-include/dovecot/sieve/sieve-ext-environment.h
-include/dovecot/sieve/sieve-ext-variables.h
-include/dovecot/sieve/sieve-extensions.h
-include/dovecot/sieve/sieve-generator.h
-include/dovecot/sieve/sieve-interpreter.h
-include/dovecot/sieve/sieve-lexer.h
-include/dovecot/sieve/sieve-limits.h
-include/dovecot/sieve/sieve-match-types.h
-include/dovecot/sieve/sieve-match.h
-include/dovecot/sieve/sieve-message.h
-include/dovecot/sieve/sieve-objects.h
-include/dovecot/sieve/sieve-parser.h
-include/dovecot/sieve/sieve-plugins.h
-include/dovecot/sieve/sieve-result.h
-include/dovecot/sieve/sieve-runtime-trace.h
-include/dovecot/sieve/sieve-runtime.h
-include/dovecot/sieve/sieve-script-private.h
-include/dovecot/sieve/sieve-script.h
-include/dovecot/sieve/sieve-script-file.h
-include/dovecot/sieve/sieve-settings.h
-include/dovecot/sieve/sieve-smtp.h
-include/dovecot/sieve/sieve-stringlist.h
-include/dovecot/sieve/sieve-types.h
-include/dovecot/sieve/sieve-validator.h
-include/dovecot/sieve/sieve.h
-lib/dovecot/lib90_sieve_plugin.a
-lib/dovecot/lib90_sieve_plugin.la
-lib/dovecot/lib90_sieve_plugin.so
-lib/dovecot/libdovecot-sieve.a
-lib/dovecot/libdovecot-sieve.la
-lib/dovecot/libdovecot-sieve.so
-lib/dovecot/libdovecot-sieve.so.0
+include/dovecot-2.2-pigeonhole/sieve/edit-mail.h
+include/dovecot-2.2-pigeonhole/sieve/pigeonhole-config.h
+include/dovecot-2.2-pigeonhole/sieve/rfc2822.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-actions.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-address-parts.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-address.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-ast.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-binary-dumper.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-binary-private.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-binary.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-code-dumper.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-code.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-commands.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-common.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-comparators.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-config.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-dump.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-error-private.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-error.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-ext-copy.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-ext-enotify.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-ext-environment.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-ext-variables.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-extensions.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-generator.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-interpreter.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-lexer.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-limits.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-match-types.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-match.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-message.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-objects.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-parser.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-plugins.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-result.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-runtime-trace.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-runtime.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-script-file.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-script-private.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-script.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-settings.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-smtp.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-stringlist.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-types.h
+include/dovecot-2.2-pigeonhole/sieve/sieve-validator.h
+include/dovecot-2.2-pigeonhole/sieve/sieve.h
+lib/dovecot-2.2-pigeonhole/libdovecot-sieve.a
+lib/dovecot-2.2-pigeonhole/libdovecot-sieve.la
+lib/dovecot-2.2-pigeonhole/libdovecot-sieve.so
+lib/dovecot-2.2-pigeonhole/libdovecot-sieve.so.0
lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.a
lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.la
lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
+lib/dovecot/lib90_sieve_plugin.a
+lib/dovecot/lib90_sieve_plugin.la
+lib/dovecot/lib90_sieve_plugin.so
lib/dovecot/settings/libmanagesieve_login_settings.a
lib/dovecot/settings/libmanagesieve_login_settings.la
lib/dovecot/settings/libmanagesieve_login_settings.so
@@ -69,15 +72,14 @@ lib/dovecot/sieve/lib90_sieve_extprograms_plugin.la
lib/dovecot/sieve/lib90_sieve_extprograms_plugin.so
libexec/dovecot/managesieve
libexec/dovecot/managesieve-login
-share/doc/dovecot/example-config/conf.d/20-managesieve.conf
-share/doc/dovecot/example-config/conf.d/90-sieve.conf
-share/doc/dovecot/example-config/conf.d/90-sieve-extprograms.conf
-@dirrmtry share/doc/dovecot/example-config/conf.d
-@dirrmtry share/doc/dovecot/example-config
-@dirrmtry share/doc/dovecot
@dirrmtry libexec/dovecot
-@dirrm lib/dovecot/sieve
-@dirrm lib/dovecot/settings
+@dirrmtry lib/dovecot/sieve
+@dirrmtry lib/dovecot/settings
+@dirrmtry lib/dovecot/doveadm
+@dirrmtry lib/dovecot-2.2-pigeonhole
@dirrmtry lib/dovecot
-@dirrm include/dovecot/sieve
-@dirrmtry include/dovecot
+@dirrm include/dovecot-2.2-pigeonhole/sieve
+@dirrm include/dovecot-2.2-pigeonhole
+@dirrm %%DOCSDIR%%/example-config/conf.d
+@dirrm %%DOCSDIR%%/example-config
+@dirrm %%DOCSDIR%%