pkgsrc/math/herisvm/Makefile

28 lines
771 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2022/10/11 14:38:47 taca Exp $
2017-02-17 12:12:15 +01:00
DISTNAME= herisvm-0.8.0
PKGREVISION= 3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/}
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://github.com/cheusov/herisvm
COMMENT= svm-train wrapper running cross-validation in parallel
LICENSE= mit
DEPENDS+= ${RUBY_BASE}-[0-9]*:${RUBY_SRCDIR}
USE_TOOLS+= pod2man bash
SUBST_CLASSES+= ruby
SUBST_STAGE.ruby= pre-configure
SUBST_FILES.ruby= scripts/*
SUBST_SED.ruby+= -e 's|/.*ruby|${PREFIX}/bin/${RUBY_NAME}|g'
SUBST_MESSAGE.ruby= Fixing ruby interpreter name.
REPLACE_BASH= scripts/*
.include "../../lang/ruby/replace.mk"
.include "../../lang/ruby/rubyversion.mk"
.include "../../devel/mk-configure/mk-c.mk"
.include "../../mk/bsd.pkg.mk"