summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/genpasswd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/genpasswd/Makefile b/sysutils/genpasswd/Makefile
index 031354d5a86..fdcbe59d3eb 100644
--- a/sysutils/genpasswd/Makefile
+++ b/sysutils/genpasswd/Makefile
@@ -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 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Random password generator
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
+INSTALL_TARGET= install install.man \
+ DEST=${DESTDIR}${PREFIX} \
+ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-INSTALL_TARGET= install install.man DEST=${PREFIX}
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"