Install man page to PKGMANDIR instead of hard-coded "man".
This commit is contained in:
parent
45d9dae994
commit
e513ec3f9f
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ HOMEPAGE= http://www.reedmedia.net/software/gethost/
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue