blob: bd5df09d2a7b98d786c37389b8c795ca5d732ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.19 2006/07/14 19:54:47 jlam Exp $
#
# This version of mtree installs into ${PKG_TOOLS_BIN}.
#
.include "Makefile.common"
CATEGORIES= pkgtools
NO_PKGTOOLS_REQD_CHECK= # defined
PKG_PRESERVE= # defined
PKG_TOOLS_PREFIX= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
# XXX This breaks for those who set their own LOCALBASE to "/usr" and also
# XXX set PKGMANDIR to be other than "share/man".
# XXX
.if !empty(PKG_TOOLS_PREFIX:M/usr)
PKGMANDIR= share/man
.endif
.include "../../mk/bsd.pkg.mk"
PREFIX:= ${PKG_TOOLS_PREFIX}
|