summaryrefslogtreecommitdiff
path: root/shells/nologinmsg
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 14:53:31 +0000
committerjoerg <joerg>2010-01-27 14:53:31 +0000
commit2862ad2978f987fea83c7da3a19ac2ee1d438b9c (patch)
tree9ab5b1b34d05344e88d1d60fa7de03eae6d1b378 /shells/nologinmsg
parent03ac12bdd85de7132af517cff79a2dec230202b1 (diff)
downloadpkgsrc-2862ad2978f987fea83c7da3a19ac2ee1d438b9c.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"