mail/ruby-notmuch: New port for the Ruby interface to notmuch mail

PR:		282401
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Joseph Mingrone 2024-10-31 01:43:48 -03:00
parent 121e40d73e
commit fa2e39cbb8
No known key found for this signature in database
GPG key ID: 36A40C83B0D6EF9E
4 changed files with 28 additions and 0 deletions

View file

@ -593,6 +593,7 @@
SUBDIR += rspamd
SUBDIR += rspamd-devel
SUBDIR += rss2email3
SUBDIR += ruby-notmuch
SUBDIR += rubygem-actionmailbox60
SUBDIR += rubygem-actionmailbox61
SUBDIR += rubygem-actionmailbox70

View file

@ -0,0 +1,25 @@
CATEGORIES= mail ruby
PKGNAMEPREFIX= ruby-
COMMENT= Ruby interface for the Notmuch email search and tagging library
LICENSE= GPLv3
LIB_DEPENDS= libnotmuch.so:mail/notmuch \
libtalloc.so:devel/talloc
USES= gmake pkgconfig python:build,test ruby
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --without-emacs
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} \
RUBY=${RUBY_CMD}
ALL_TARGET= ruby-bindings
MASTERDIR= ${.CURDIR}/../notmuch
do-install:
${MAKE_CMD} DESTDIR=${STAGEDIR} -C ${WRKSRC}/bindings/ruby install
${STRIP_CMD} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR}/notmuch.so
.include "${MASTERDIR}/Makefile"

View file

@ -0,0 +1 @@
Ruby interface to the notmuch mail search and index library

View file

@ -0,0 +1 @@
%%RUBY_VENDORARCHLIBDIR%%/notmuch.so