pkgsrc/devel/ruby-power_assert/Makefile
tnn ac61af1040 ruby-power_assert: skip the package if the version is same as ruby-base
avoids this error in bulk builds:
=> Creating binary package .../packages/ruby31-power_assert-2.0.1.tgz
pkg_add: Conflicting PLIST with ruby31-base-3.1.2nb3: lib/ruby/gems/3.1.0/cache/power_assert-2.0.1.gem
2022-08-19 14:16:47 +00:00

20 lines
501 B
Makefile

# $NetBSD: Makefile,v 1.24 2022/08/19 14:16:47 tnn Exp $
DISTNAME= power_assert-2.0.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ruby/power_assert
COMMENT= Power Assert for Ruby
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
.include "../../lang/ruby/rubyversion.mk"
.if "power_assert-${RUBY_POWER_ASSERT_VER}" == ${DISTNAME}
PKG_SKIP_REASON+= "${DISTNAME} is included in ${RUBY_BASE}"
.endif
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"