pkgsrc-wip/cacti-plugin-realtime/Makefile~
Nils Ratusznik 589825a061 Import cacti-plugin-realtime-0.5-2 as wip/cacti-plugin-realtime.
Provides a method to view Cacti graphs
with a resolution of upto 5 seconds.
2013-02-18 10:10:29 +00:00

47 lines
1.1 KiB
Makefile

# $NetBSD: Makefile~,v 1.1 2013/02/18 10:10:29 ahp-nils Exp $
#
DISTNAME= realtime-v${VERSION}
PKGNAME= cacti-plugin-realtime-${VERSION}
CATEGORIES= net
MASTER_SITES= http://docs.cacti.net/_media/
MAINTAINER= pettai@nordu.net
HOMEPAGE= http://docs.cacti.net/
COMMENT= Provides a method to view Cacti graphs with a resolution of upto 5 sec
LICENSE= gnu-gpl-v2
VERSION= 0.5-2
EXTRACT_SUFX= .tgz
USE_LANGUAGES= # none
NO_BUILD= yes
WRKSRC= ${WRKDIR}/realtime
EXTRACT_USING= gtar
BUILD_DEPENDS+= gtar-[0-9]*:../../archivers/gtar
BUILD_DEPENDS+= curl-[0-9]*:../../www/curl
DEPENDS+= cacti>=0.8.7:../../net/cacti
USE_TOOLS+= gtar
USE_TOOLS+= pax
USE_TOOLS+= curl
PKG_DESTDIR_SUPPORT= user-destdir
CACTIDIR= ${PREFIX}/share/cacti
PLUGINDIR= ${CACTIDIR}/plugins/realtime
MESSAGE_SUBST+= CACTIDIR=${CACTIDIR}
MESSAGE_SUBST+= PLUGINDIR=${PLUGINDIR}
INSTALLATION_DIRS+= ${PLUGINDIR}
do-fetch:
curl ${MASTER_SITES:Q}plugin:${DISTNAME}${EXTRACT_SUFX} -o ${DISTDIR}/realtime-v${VERSION}${EXTRACT_SUFX}
do-install:
cd ${WRKSRC} && ${PAX} -wr * ${DESTDIR}${PLUGINDIR}
# url2pkg-marker (please do not remove this line.)
.include "../../mk/bsd.pkg.mk"