1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/net-mgmt/cacti88-spine/Makefile
Danilo G. Baio 5d8cd181d7 Repocopy from net-mgmt/cacti-spine (r419786) -> net-mgmt/cacti88-spine
Multithreaded poller for Cacti written in C

New releases of Cacti are still unable to work with useful plugins like
"GPS Map" and "Network Weathermap".

PR:		219686
Submitted by:	Vinicius Zavam <egypcio@googlemail.com>
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D11024
2017-06-06 01:10:34 +00:00

41 lines
1.0 KiB
Makefile

# Created by: clement@FreeBSD.org
# $FreeBSD$
PORTNAME= spine
PORTVERSION= 0.8.8h
CATEGORIES= net-mgmt
MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/
PKGNAMEPREFIX= cacti88-
DISTNAME= cacti-${PORTNAME}-${PORTVERSION}
MAINTAINER= egypcio@googlemail.com
COMMENT= Multithreaded poller for Cacti written in C
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \
libpkg.so:ports-mgmt/pkg
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
CPPFLAGS+= `net-snmp-config --cflags`
LDFLAGS+= `net-snmp-config --libs`
USES= libtool mysql ssl
CONFLICTS_INSTALL= cacti spine
PORTSCOUT= limit:^0.*
post-patch:
@${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h
do-build:
@cd ${WRKSRC}; ${MAKE}
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist ${STAGEDIR}${PREFIX}/etc/spine.conf.sample
.include <bsd.port.mk>