diff options
Diffstat (limited to 'net/bmon/Makefile')
-rw-r--r-- | net/bmon/Makefile | 12 |
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" |