summaryrefslogtreecommitdiff
path: root/sysutils/bbsload
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 /sysutils/bbsload
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'sysutils/bbsload')
-rw-r--r--sysutils/bbsload/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/bbsload/Makefile b/sysutils/bbsload/Makefile
index cbbda169c62..ae02e0c0dd9 100644
--- a/sysutils/bbsload/Makefile
+++ b/sysutils/bbsload/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/15 21:46:54 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:35 joerg Exp $
#
DISTNAME= bbsload-0.2.6
@@ -10,10 +10,14 @@ MAINTAINER= pino@dohd.org
HOMEPAGE= http://bbtools.windsofstorm.net/
COMMENT= Small (in dimensions) tool to display the average load
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_X11BASE= YES
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
@@ -21,7 +25,7 @@ MAKE_ENV+= LIBS.pkgsrc=-lkinfo
.endif
post-install:
- ${INSTALL_MAN} ${WRKSRC}/bbsload.1 ${PREFIX}/${PKGMANDIR}/man1/bbsload.1
+ ${INSTALL_MAN} ${WRKSRC}/bbsload.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bbsload.1
BUILDLINK_DEPMETHOD.libXt?= build