summaryrefslogtreecommitdiff
path: root/shells/mudsh
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 14:53:31 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 14:53:31 +0000
commit53581f277ac4d334d9aa11a4c416df49d49bf04e (patch)
tree9ab5b1b34d05344e88d1d60fa7de03eae6d1b378 /shells/mudsh
parentfabf0814ae6021db0c71d3158c030251ddcd3609 (diff)
downloadpkgsrc-53581f277ac4d334d9aa11a4c416df49d49bf04e.tar.gz
DESTDIR support
Diffstat (limited to 'shells/mudsh')
-rw-r--r--shells/mudsh/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/shells/mudsh/Makefile b/shells/mudsh/Makefile
index 034bda2ad9b..9181ceccc8c 100644
--- a/shells/mudsh/Makefile
+++ b/shells/mudsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/05/21 21:59:13 zafer Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 14:53:31 joerg Exp $
#
DISTNAME= mudsh
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xirium.com/tech/mud-shell/index.html
COMMENT= M.U.D. game-like shell
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
@@ -22,6 +24,6 @@ do-build:
${WRKSRC}/mudsh.orig >${WRKSRC}/mudsh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/mudsh ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/mudsh ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"