summaryrefslogtreecommitdiff
path: root/net-mgmt/cacti-spine/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/cacti-spine/Makefile')
-rw-r--r--net-mgmt/cacti-spine/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile
new file mode 100644
index 000000000000..00e4525a509e
--- /dev/null
+++ b/net-mgmt/cacti-spine/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: cactid
+# Date created: Feb 26 2005
+# Whom: clement@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= cactid
+PORTVERSION= 0.8.6.d
+CATEGORIES= net
+MASTER_SITES= http://www.cacti.net/downloads/cactid/
+DISTNAME= cacti-${PORTNAME}-0.8.6d
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A multithreaded poller for Cacti written in C
+
+LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
+
+GNU_CONFIGURE= YES
+USE_MYSQL= YES
+USE_OPENSSL= YES
+USE_REINPLACE= YES
+
+post-patch:
+ @${REINPLACE_CMD} 's,%%PREFIX%%,${PREFIX},' \
+ ${WRKSRC}/cactid.h
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/cactid.conf ${EXAMPLESDIR}
+ @[ -e ${PREFIX}/etc/cactid.conf ] || \
+ ${INSTALL_DATA} ${EXAMPLESDIR}/cactid.conf ${PREFIX}/etc/
+
+.include <bsd.port.mk>