pkgsrc-wip/cacti-plugin-thold/Makefile
Aleksej Saushev a849059e7c Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-09-24 18:26:51 +00:00

37 lines
891 B
Makefile

# $NetBSD: Makefile,v 1.6 2012/09/24 18:26:51 asau Exp $
#
DISTNAME= thold-0.4.1
PKGNAME= cacti-plugin-${DISTNAME}
CATEGORIES= net
MASTER_SITES= http://mirror.cactiusers.org/downloads/plugins/
MAINTAINER= pettai@nordu.net
HOMEPAGE= http://cactiusers.org/
COMMENT= Threshold plugin to cacti
USE_LANGUAGES= # none
NO_BUILD= yes
WRKSRC= ${WRKDIR}/thold
BUILD_DEPENDS+= gtar-[0-9]*:../../archivers/gtar
DEPENDS+= cacti>=0.8.7h:../../net/cacti
DEPENDS+= cacti-plugin-settings-[0-9]*:../../wip/cacti-plugin-settings
USE_TOOLS+= gtar
CACTIDIR= ${PREFIX}/share/cacti
PLUGINDIR= ${CACTIDIR}/plugins/thold
MESSAGE_SUBST+= CACTIDIR=${CACTIDIR}
MESSAGE_SUBST+= PLUGINDIR=${PLUGINDIR}
INSTALLATION_DIRS+= ${PLUGINDIR}
do-extract:
${GTAR} xzf ${DISTDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
do-install:
${CP} -R ${WRKSRC}/* ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"