summaryrefslogtreecommitdiff
path: root/shells/nologinmsg
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/nologinmsg
parentfabf0814ae6021db0c71d3158c030251ddcd3609 (diff)
downloadpkgsrc-53581f277ac4d334d9aa11a4c416df49d49bf04e.tar.gz
DESTDIR support
Diffstat (limited to 'shells/nologinmsg')
-rw-r--r--shells/nologinmsg/Makefile8
1 files changed, 5 insertions, 3 deletions
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"