summaryrefslogtreecommitdiff
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
commitaa1832bff1f6df79c6e4781d5b3aea1f1200a3b8 (patch)
tree9ab5b1b34d05344e88d1d60fa7de03eae6d1b378
parent5dbe3921cfb2113fd4a82e47b3911ed261db9eaf (diff)
downloadpkgsrc-aa1832bff1f6df79c6e4781d5b3aea1f1200a3b8.tar.gz
DESTDIR support
-rw-r--r--shells/mudsh/Makefile6
-rw-r--r--shells/nologinmsg/Makefile8
2 files changed, 9 insertions, 5 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"
diff --git a/shells/nologinmsg/Makefile b/shells/nologinmsg/Makefile
index 5e8ca831c5a..5bd08a9f741 100644
--- a/shells/nologinmsg/Makefile
+++ b/shells/nologinmsg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/09/08 21:57:13 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 14:54:06 joerg Exp $
DISTNAME= nologinmsg-1.0
PKGREVISION= 2
@@ -9,6 +9,8 @@ MAINTAINER= cjep@NetBSD.org
#HOMEPAGE=
COMMENT= More functional native binary replacement for /sbin/nologin
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_FEATURES= getprogname
SUBST_CLASSES+= nlm
@@ -23,8 +25,8 @@ do-build:
-o nologinmsg nologinmsg.c ${LIBS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nologinmsg ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/nologinmsg.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/nologinmsg ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nologinmsg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../devel/sysexits/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"