version 1.59, 2018/06/28 01:05:01 |
version 1.61, 2018/11/12 03:52:47 |
|
|
|
|
DISTNAME= ganglia-3.7.2 |
DISTNAME= ganglia-3.7.2 |
PKGNAME= ganglia-monitor-core-3.7.2 |
PKGNAME= ganglia-monitor-core-3.7.2 |
PKGREVISION= 5 |
PKGREVISION= 6 |
CATEGORIES= net parallel |
CATEGORIES= net parallel |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/} |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/} |
|
|
Line 76 SUBST_VARS.paths+= GANGLIA_VARBASE |
|
Line 76 SUBST_VARS.paths+= GANGLIA_VARBASE |
|
## gmond.conf.5 and gmond.conf.html can be generated from conf.pod, but |
## gmond.conf.5 and gmond.conf.html can be generated from conf.pod, but |
## doing so requires perl installed in the build stage. |
## doing so requires perl installed in the build stage. |
SUBST_CLASSES+= etcdir |
SUBST_CLASSES+= etcdir |
SUBST_STAGE.etcdir= post-patch |
SUBST_STAGE.etcdir= pre-configure |
SUBST_FILES.etcdir= ${WRKSRC}/README \ |
SUBST_FILES.etcdir= ${WRKSRC}/README \ |
${WRKSRC}/mans/gmetad.1 \ |
${WRKSRC}/mans/gmetad.1 \ |
${WRKSRC}/mans/gmond.1 |
${WRKSRC}/mans/gmond.1 |
SUBST_SED.etcdir= -e "s|/etc/ganglia/\(gm.*d\.conf\)|${PREFIX}/etc/\1|g" |
SUBST_SED.etcdir= -e "s|/etc/ganglia/\(gm.*d\.conf\)|${PREFIX}/etc/\1|g" |
|
|
SUBST_CLASSES+= linux_init |
SUBST_CLASSES+= linux_init |
SUBST_STAGE.linux_init= post-patch |
SUBST_STAGE.linux_init= pre-configure |
SUBST_FILES.linux_init= gmond/gmond.init |
SUBST_FILES.linux_init= gmond/gmond.init |
SUBST_FILES.linux_init+= gmetad/gmetad.init |
SUBST_FILES.linux_init+= gmetad/gmetad.init |
SUBST_SED.linux_init= -e 's|/usr/sbin|${PREFIX}/sbin|g' |
SUBST_SED.linux_init= -e 's|/usr/sbin|${PREFIX}/sbin|g' |
Line 92 SUBST_SED.linux_init+= -e 's|/etc/gangl |
|
Line 92 SUBST_SED.linux_init+= -e 's|/etc/gangl |
|
SUBST_SED.linux_init+= -e 's|/var/lock/subsys|${PREFIX}&|g' |
SUBST_SED.linux_init+= -e 's|/var/lock/subsys|${PREFIX}&|g' |
|
|
SUBST_CLASSES+= systemd |
SUBST_CLASSES+= systemd |
SUBST_STAGE.systemd= post-patch |
SUBST_STAGE.systemd= pre-configure |
SUBST_FILES.systemd= gmond/gmond.service gmetad/gmetad.service |
SUBST_FILES.systemd= gmond/gmond.service gmetad/gmetad.service |
SUBST_SED.systemd= -e 's|@runstatedir@|${PREFIX}/var/run|g' |
SUBST_SED.systemd= -e 's|@runstatedir@|${PREFIX}/var/run|g' |
SUBST_SED.systemd+= -e 's|@sbindir@|${PREFIX}/sbin|g' |
SUBST_SED.systemd+= -e 's|@sbindir@|${PREFIX}/sbin|g' |