diff options
author | taca <taca@pkgsrc.org> | 2022-09-03 04:10:15 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2022-09-03 04:10:15 +0000 |
commit | ab5fa86f21a3661b3f804b713c429d44a83f3bb3 (patch) | |
tree | 137093ebc0a803ce4e892de2ff426d59495a3f26 | |
parent | 350250a2b290822fea87ce63955c1813cb3056a5 (diff) | |
download | pkgsrc-ab5fa86f21a3661b3f804b713c429d44a83f3bb3.tar.gz |
net/ruby-net-imap: add dependencies
* This package is mainly for redmine50 on Ruby 2.7.
* This package require ruby-net-protocol and ruby-digest on Ruby 2.7.
* Remove a duplicate entry from PLIST.
Bump PKGREVISION.
-rw-r--r-- | net/ruby-net-imap/Makefile | 11 | ||||
-rw-r--r-- | net/ruby-net-imap/PLIST | 3 |
2 files changed, 11 insertions, 3 deletions
diff --git a/net/ruby-net-imap/Makefile b/net/ruby-net-imap/Makefile index e1da37f9b90..4c8ad56c8d9 100644 --- a/net/ruby-net-imap/Makefile +++ b/net/ruby-net-imap/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.1 2022/08/28 04:09:37 taca Exp $ +# $NetBSD: Makefile,v 1.2 2022/09/03 04:10:15 taca Exp $ DISTNAME= net-imap-0.2.3 +PKGREVISION= 1 CATEGORIES= net mail MAINTAINER= pkgsrc-users@NetBSD.org @@ -8,10 +9,18 @@ HOMEPAGE= https://github.com/ruby/net-imap COMMENT= Ruby client api for Internet Message Access Protocol LICENSE= 2-clause-bsd OR ruby-license +# This package is mainly for redmine50 on Ruby 2.7. + USE_LANGUAGES= # none # Ruby 3.1 has the same version in it. RUBY_VERSIONS_ACCEPTED= 27 30 +.include "../../lang/ruby/rubyversion.mk" +.if ${RUBY_VER} == 27 +DEPENDS+= ${RUBY_PKGPREFIX}-net-protocol:../../net/ruby-net-protocol +DEPENDS+= ${RUBY_PKGPREFIX}-digest:../../security/ruby-digest +.endif + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/ruby-net-imap/PLIST b/net/ruby-net-imap/PLIST index 761a25a66e4..366498111bc 100644 --- a/net/ruby-net-imap/PLIST +++ b/net/ruby-net-imap/PLIST @@ -1,5 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2022/08/28 04:09:37 taca Exp $ -${GEM_HOME}/cache/${GEM_NAME}.gem +@comment $NetBSD: PLIST,v 1.2 2022/09/03 04:10:15 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.github/workflows/test.yml ${GEM_LIBDIR}/.gitignore |