aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/cacti-spine/Makefile8
-rw-r--r--net-mgmt/cacti-spine/distinfo4
-rw-r--r--net-mgmt/cacti-spine/pkg-plist1
3 files changed, 9 insertions, 4 deletions
diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile
index 9cbebd20124a..7b3f2f739dd0 100644
--- a/net-mgmt/cacti-spine/Makefile
+++ b/net-mgmt/cacti-spine/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= spine
-PORTVERSION= 0.8.8f
+PORTVERSION= 0.8.8g
CATEGORIES= net-mgmt
MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/
DISTNAME= cacti-${PORTNAME}-${PORTVERSION}
@@ -12,12 +12,13 @@ COMMENT= Multithreaded poller for Cacti written in C
LICENSE= GPLv2
+BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}
CPPFLAGS+= `net-snmp-config --cflags`
-LDFLAGS+= `net-snmp-config --libs`
+LDFLAGS+= `net-snmp-config --libs`
USES= libtool
USE_MYSQL= YES
USE_OPENSSL= YES
@@ -25,6 +26,9 @@ USE_OPENSSL= YES
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
diff --git a/net-mgmt/cacti-spine/distinfo b/net-mgmt/cacti-spine/distinfo
index 29cc5d7d3605..497c467cdb90 100644
--- a/net-mgmt/cacti-spine/distinfo
+++ b/net-mgmt/cacti-spine/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cacti-spine-0.8.8f.tar.gz) = d0599239187f2f5a29f82b809e6941447f18bb7b170cd42e67455633b195e3c7
-SIZE (cacti-spine-0.8.8f.tar.gz) = 757078
+SHA256 (cacti-spine-0.8.8g.tar.gz) = f7d60d5663f6fe8f730363763f31d110589c725e482c943f0f8287359a6db533
+SIZE (cacti-spine-0.8.8g.tar.gz) = 805321
diff --git a/net-mgmt/cacti-spine/pkg-plist b/net-mgmt/cacti-spine/pkg-plist
index 152c17fb2b6a..0048c640b520 100644
--- a/net-mgmt/cacti-spine/pkg-plist
+++ b/net-mgmt/cacti-spine/pkg-plist
@@ -1,2 +1,3 @@
bin/spine
+man/man1/spine.1.gz
@sample etc/spine.conf.sample