pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/genpasswd Support DESTDIR and PKGMANDIR
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8dbc9113cfb
branches: trunk
changeset: 566750:e8dbc9113cfb
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Oct 29 21:34:12 2009 +0000
description:
Support DESTDIR and PKGMANDIR
diffstat:
sysutils/genpasswd/Makefile | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 3a7876c75bc9 -r e8dbc9113cfb sysutils/genpasswd/Makefile
--- a/sysutils/genpasswd/Makefile Thu Oct 29 21:23:19 2009 +0000
+++ b/sysutils/genpasswd/Makefile Thu Oct 29 21:34:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2005/11/02 18:44:40 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2009/10/29 21:34:12 tnn Exp $
#
DISTNAME= genpasswd-1.5
@@ -8,9 +8,14 @@
MAINTAINER= kim%tac.nyc.ny.us@localhost
COMMENT= Random password generator
-NO_CONFIGURE= yes
+PKG_DESTDIR_SUPPORT= user-destdir
-INSTALL_TARGET= install install.man DEST=${PREFIX}
+NO_CONFIGURE= yes
+INSTALL_TARGET= install install.man \
+ DEST=${DESTDIR}${PREFIX} \
+ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
Home |
Main Index |
Thread Index |
Old Index