1 # $NetBSD: Makefile,v 1.16 2005/09/28 14:31:08 rillig Exp $
4 DISTNAME= mtree-20040722
9 MAINTAINER= grant@NetBSD.org
10 HOMEPAGE= http://www.NetBSD.org/
11 COMMENT= Utility for mapping and checking directory hierarchies
15 NO_PKGTOOLS_REQD_CHECK= # defined
18 NO_PKG_REGISTER= # defined
19 NO_PACKAGE= Deinstallation is not permitted
20 PKG_PRESERVE= # defined
22 .include "../../mk/bsd.prefs.mk"
25 @${CP} -R ${FILESDIR} ${WRKSRC}
27 .if defined(LIBNBCOMPAT_STYLE) && (${LIBNBCOMPAT_STYLE} == "inplace")
28 . include "../../pkgtools/libnbcompat/inplace.mk"
30 . include "../../pkgtools/libnbcompat/buildlink3.mk"
33 .include "../../mk/bsd.pkg.mk"
35 PREFIX:= ${PKG_TOOLS_BIN:C|/[^/]?bin$||}
36 .if ${PREFIX} == "/usr"
37 CONFIGURE_ARGS+= --mandir=${PREFIX}/share/man
39 CONFIGURE_ARGS+= --mandir=${PREFIX}/man