pkgsrc-wip/spcm/Makefile

32 lines
702 B
Makefile

# $NetBSD$
DISTNAME= spcm-0.4.2.32
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=outpaddling/}
GITHUB_PROJECT= SPCM
GITHUB_TAG= 924bc14e0f2918802e3e38d17ff3396df89a3164
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= http://acadix.biz/spcm.php
COMMENT= Simple, portable cluster management
LICENSE= 2-clause-bsd
# Add py-hostlist dep
DATADIR= ${PREFIX}/share/spcm
SUBST_CLASSES+= sbin
SUBST_STAGE.sbin= pre-configure
SUBST_FILES.sbin+= Common/Src/cluster-passwd.c
SUBST_SED.sbin= -e 's|%%PREFIX%%|${PREFIX}|g'
DEPENDS+= auto-admin>=0.6.9.3:../../wip/auto-admin
USE_TOOLS+= bash
.include "../../mk/bsd.prefs.mk"
MAKE_ENV+= PREFIX=${PREFIX} DATADIR=${DATADIR}
.include "../../mk/bsd.pkg.mk"