File:
[cvs.NetBSD.org] /
pkgsrc /
net /
cacti-spine /
Makefile
Revision
1.8:
download - view:
text,
annotated -
select for diffs
Tue Aug 1 14:59:03 2017 UTC (7 years, 4 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
HEAD
Follow some http -> https redirects.
# $NetBSD: Makefile,v 1.8 2017/08/01 14:59:03 wiz Exp $
#
DISTNAME= cacti-spine-0.8.8h
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= https://www.cacti.net/downloads/spine/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= https://www.cacti.net/spine_info.php
COMMENT= Spine is a poller for Cacti for large installations
LICENSE= gnu-lgpl-v2.1
DEPENDS+= cacti>=0.8.7:../../net/cacti
USE_LANGUAGES= c
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.net-snmp}
DOCDIR= share/doc/cacti-spine
EXAMPLES_DIR= examples
EGDIR= ${PREFIX}/${DOCDIR}/${EXAMPLES_DIR}
CONF_FILES= ${EGDIR}/spine.conf.dist ${PKG_SYSCONFDIR}/spine.conf
INSTALLATION_DIRS= ${DOCDIR}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= ${WRKSRC}/spine.h
SUBST_SED.paths= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR:Q}|g'
INSTALL_MAKE_FLAGS+= configdir=${EGDIR}
LDFLAGS.SunOS+= -lm
post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE* ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README* ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../mk/mysql.buildlink3.mk"
.include "../../net/net-snmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>