summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-09-03 04:12:03 +0000
committertaca <taca@pkgsrc.org>2022-09-03 04:12:03 +0000
commitf10ad79d49baff05affcefd11a6f46c8b610ddca (patch)
tree96e5cb8b5cfe8d6f0f652295f087ae48cac76a10 /net
parentf00de684c244e30717b3fc3ab96b0117b2e0aaf7 (diff)
downloadpkgsrc-f10ad79d49baff05affcefd11a6f46c8b610ddca.tar.gz
net/ruby-net-smtp: 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. Bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r--net/ruby-net-smtp/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/net/ruby-net-smtp/Makefile b/net/ruby-net-smtp/Makefile
index 74a714c7461..bd7c2c28f74 100644
--- a/net/ruby-net-smtp/Makefile
+++ b/net/ruby-net-smtp/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/08/28 04:16:30 taca Exp $
+# $NetBSD: Makefile,v 1.2 2022/09/03 04:12:03 taca Exp $
DISTNAME= net-smtp-0.3.1
+PKGREVISION= 1
CATEGORIES= net mail
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,10 +9,18 @@ HOMEPAGE= https://github.com/ruby/net-smtp
COMMENT= Simple Mail Transfer Protocol client library for Ruby
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"