diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile index 5562b4532ec2..2b4a5bdff6d5 100644 --- a/net-mgmt/cacti-spine/Makefile +++ b/net-mgmt/cacti-spine/Makefile @@ -1,32 +1,34 @@ PORTNAME= spine PORTVERSION= 1.2.26 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.cacti.net/downloads/${PORTNAME}/ DISTNAME= cacti-${PORTNAME}-${PORTVERSION} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Multithreaded poller for Cacti written in C WWW= https://cacti.net/spine_info.php LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} -GNU_CONFIGURE= YES +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE} CPPFLAGS+= `net-snmp-config --cflags` LDFLAGS+= `net-snmp-config --libs` -lexecinfo USES= libtool mysql ssl autoreconf CONFLICTS_INSTALL= cacti88 post-patch: @${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/spine.conf.dist ${STAGEDIR}${PREFIX}/etc/spine.conf.sample .include diff --git a/net-mgmt/cacti-spine/pkg-plist b/net-mgmt/cacti-spine/pkg-plist index 64eda3e404fa..d4de71d5b100 100644 --- a/net-mgmt/cacti-spine/pkg-plist +++ b/net-mgmt/cacti-spine/pkg-plist @@ -1,3 +1,3 @@ bin/spine @sample etc/spine.conf.sample -man/man1/spine.1.gz +share/man/man1/spine.1.gz