pkgsrc-wip/cacti-plugin-rrdclean/Makefile
Thomas Klausner 2cdaf83864 Various packages: Remove url2pkg markers.
These are only needed the first time you quit the editor
during a url2pkg run. They shouldn't be committed.
2016-03-12 14:05:32 +01:00

38 lines
878 B
Makefile

# $NetBSD: Makefile,v 1.2 2015/06/10 13:43:17 ahp-nils Exp $
DISTNAME= rrdclean-v${VERSION}
PKGNAME= cacti-plugin-rrdclean-${VERSION}
CATEGORIES= net
MASTER_SITES= http://docs.cacti.net/_media/plugin:
MAINTAINER= nils@NetBSD.org
HOMEPAGE= http://docs.cacti.net/plugin:rrdclean
COMMENT= Cacti RRD File Cleaner
LICENSE= gnu-gpl-v2
VERSION= 0.41
EXTRACT_SUFX= .tgz
USE_LANGUAGES= # none
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rrdclean
EXTRACT_USING= gtar
BUILD_DEPENDS+= gtar-[0-9]*:../../archivers/gtar
DEPENDS+= cacti>=0.8.7g:../../net/cacti
USE_TOOLS+= gtar
USE_TOOLS+= pax
CACTIDIR= ${PREFIX}/share/cacti
PLUGINDIR= ${CACTIDIR}/plugins/rrdclean
MESSAGE_SUBST+= CACTIDIR=${CACTIDIR}
MESSAGE_SUBST+= PLUGINDIR=${PLUGINDIR}
INSTALLATION_DIRS+= ${PLUGINDIR}
do-install:
cd ${WRKSRC} && ${PAX} -wr * ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"