From nobody Wed Jan 24 21:41:07 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TKy7l4JTGz58mLj; Wed, 24 Jan 2024 21:41:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TKy7l3QDzz4XQn; Wed, 24 Jan 2024 21:41:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706132467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xxBs9pD5qpzrzzX0/ZnuGtH+M+X0S10oW2zdVaPhJ6I=; b=OTzLnbqHdums+re1j9uaMOKJIdn4weoKKoznEej5IsoGIY1+BYbzCz7ippnA+GBl8dWwuV fGLVVRZc4Vu0KqHem16YSHuVLQahnbkZAGXlqnOSk3TPiTyHZQG/0hl4QOx3uN4xsi9e7f eBetHMHK/XNumacK0obVlXHtA/GX2LmtX5Sl8LNe4V2HLT3xHnopucWL4q+QXKkYAuth8I Olyo2jBdABpitJOPmToxGAGcE8nvJVws2PB4Ja5sTDilFMPN3L4sbVfFTXNt0HXyzzmd+l +7UJT1qWdTphIRhDYLLVFVkc0K7VHgrul9A+24geb65mvyHM9YL6oQME3bBv7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706132467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xxBs9pD5qpzrzzX0/ZnuGtH+M+X0S10oW2zdVaPhJ6I=; b=EaWcb0jC6ei1JOKrZDxvQINg/IRYeif1UVtHS1DRfkJ3nB+58oMIV14dCJQd1MTkU5mTTr 31Rvbhxa2alp+YQyfXVVuiXZhCGsW+eZpdq6PkmAIr9DDxCPMxp26+fPCXamaoRiAtWn+H lb8gt/XPgMOIMFKQSq+9I/FKkv2UBCcLxeT/kR2bKyqiHT1oArhdh3D3XdtNHocNwhcn+z vWyEwAwcafF4wQlqV7Lg/M38zw6EfGtfkedi2EUgKwueqNL7OgzHjDFX1bI5nbD6wbjf1p X+gDy2q/qVPldkxNXHL6e9NNbe8oh9YQChUs+vkIAJR4NTONSet8SLkInP+Txw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706132467; a=rsa-sha256; cv=none; b=VkNVqjIxJg+g6n+twQ8tvrLeR5f0c4OJJOm1ZNMrLAd90iv9rMWdsVHsA4TkhI8PJzkqpz WskTgDSkTepf7hRMT2rGYOTa7yxlOtQYDNtUj6MQUyQkpxtrmVJ2rOkwMrDmRgkAYydOqC gU/bC4nlAOfG9JJ54kg5uq94rlzmxvLlI6Px/uf4z2I8uCr2O7C61LCDDmn1LJFRM2bxZ9 ybIqNam+/Yu42Q5f1SdIGTfZah6yMNLzdMEGFXMnn+5vcuSlXDzCgEthVyCHjAX3soF4I+ fmNzFVx1fzEtFaScE5K3yyaSPAjbh+7CJSmEMZ5wQxqLuIsQGbOj/vQLwjkxBw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TKy7l2SZyzX5s; Wed, 24 Jan 2024 21:41:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40OLf7vT001549; Wed, 24 Jan 2024 21:41:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40OLf7Vh001546; Wed, 24 Jan 2024 21:41:07 GMT (envelope-from git) Date: Wed, 24 Jan 2024 21:41:07 GMT Message-Id: <202401242141.40OLf7Vh001546@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: dde3eadf2029 - main - mail/dovecot-pigeonhole: add an EXAMPLES option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dde3eadf2029d2700c4fcef546f86d6cdc26b467 Auto-Submitted: auto-generated The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=dde3eadf2029d2700c4fcef546f86d6cdc26b467 commit dde3eadf2029d2700c4fcef546f86d6cdc26b467 Author: Larry Rosenman AuthorDate: 2024-01-24 21:39:54 +0000 Commit: Larry Rosenman CommitDate: 2024-01-24 21:41:05 +0000 mail/dovecot-pigeonhole: add an EXAMPLES option - install the example scripts from the tarball Requested by: mwl --- mail/dovecot-pigeonhole/Makefile | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/mail/dovecot-pigeonhole/Makefile b/mail/dovecot-pigeonhole/Makefile index f9451ad52d16..5c3e2932d82b 100644 --- a/mail/dovecot-pigeonhole/Makefile +++ b/mail/dovecot-pigeonhole/Makefile @@ -1,5 +1,6 @@ PORTNAME= dovecot-pigeonhole PORTVERSION= 0.5.21 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} @@ -24,8 +25,8 @@ INSTALL_TARGET= install-strip USES= compiler:c11 libtool ssl USE_LDCONFIG= ${PREFIX}/lib/dovecot -OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE -OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE +OPTIONS_DEFINE= DOCS EXAMPLES LDAP MANAGESIEVE +OPTIONS_DEFAULT=EXAMPLES MANAGESIEVE GSSAPI_NONE OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT @@ -52,6 +53,7 @@ LDAP_LDFLAGS= -L${LOCALBASE}/lib LDAP_USES= ldap PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/* +PORTEXAMPLES= * post-patch: @${REINPLACE_CMD} -E '\ @@ -59,4 +61,19 @@ post-patch: s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \ ${WRKSRC}/doc/Makefile.in +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + + ${CP} ${WRKSRC}/examples/elvey.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/jerry.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/mjohnson.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/mklose.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/relational.rfc5231.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/rfc3028.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/sanjay.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/sieve_examples.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/subaddress.rfc5233.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/vacation.sieve ${STAGEDIR}${EXAMPLESDIR} + ${CP} ${WRKSRC}/examples/vivil.sieve ${STAGEDIR}${EXAMPLESDIR} + .include