pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gethost Install man page to PKGMANDIR instead of h...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/808dafac17d6
branches:  trunk
changeset: 504876:808dafac17d6
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Dec 27 17:37:27 2005 +0000

description:
Install man page to PKGMANDIR instead of hard-coded "man".

diffstat:

 net/gethost/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 3f667eca0cea -r 808dafac17d6 net/gethost/Makefile
--- a/net/gethost/Makefile      Tue Dec 27 17:34:53 2005 +0000
+++ b/net/gethost/Makefile      Tue Dec 27 17:37:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/12/03 15:15:05 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/12/27 17:37:27 reed Exp $
 
 DISTNAME=      gethost-0.03
 CATEGORIES=    net
@@ -9,11 +9,11 @@
 COMMENT=       Hostname and IP resolver for testing /etc/hosts and nsswitch.conf
 
 PKG_INSTALLATION_TYPES= overwrite pkgviews
-INSTALLATION_DIRS=     bin man/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 BUILD_TARGET=  gethost
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/gethost ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/gethost.1 ${PREFIX}/man/man1
+       ${INSTALL_MAN} ${WRKSRC}/gethost.1 ${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index