diff options
author | tnn <tnn> | 2009-10-29 21:34:12 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-10-29 21:34:12 +0000 |
commit | 269181d93904c85aaeea6312270ddca7c39c2d33 (patch) | |
tree | 203d5782c5a414f801e4f24082040da33e351293 | |
parent | 5b6bb8cdfb4575cd6f506f155c881f0628420c9e (diff) | |
download | pkgsrc-269181d93904c85aaeea6312270ddca7c39c2d33.tar.gz |
Support DESTDIR and PKGMANDIR
-rw-r--r-- | sysutils/genpasswd/Makefile | 9 |
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" |