summaryrefslogtreecommitdiff
path: root/net/bmon
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/bmon
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bmon')
-rw-r--r--net/bmon/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/bmon/Makefile b/net/bmon/Makefile
index 040261a5a02..0b8107cc022 100644
--- a/net/bmon/Makefile
+++ b/net/bmon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:02 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:29 joerg Exp $
#
DISTNAME= bmon-2.0.1
@@ -11,6 +11,7 @@ HOMEPAGE= http://people.suug.ch/~tgr/bmon/
COMMENT= Bmon is an interface bandwidth monitor
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
MAKE_FILE= GNUmakefile
@@ -26,14 +27,13 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/bmon
CONF_FILES= ${EGDIR}/bmon.conf ${PKG_SYSCONFDIR}/bmon.conf
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/bmon
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bmon
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/bmon ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/bmon.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/etc/bmon.conf \
- ${PREFIX}/share/examples/bmon/bmon.conf
+ ${DESTDIR}${PREFIX}/share/examples/bmon/bmon.conf
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"