blob: 5d82d84bcafe0cbdc1d0eb21a081495ad1e9958f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.3 2015/06/11 08:45:48 nils Exp $
#
DISTNAME= cacti-spine-0.8.8c
CATEGORIES= net
MASTER_SITES= http://www.cacti.net/downloads/spine/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://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}
INSTALL_MAKE_FLAGS+= configdir=${EGDIR}
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"
|