pkgsrc/pkgtools/pkgmanpages/Makefile
jlam 67300bec6e Update pkgmanpages to the latest version of packages.7 from HEAD src.
Include the file in-line in pkgsrc instead of fetching it.  This will
be used by the bootstrap to register the packages.7 manpage.
2006-07-14 22:13:19 +00:00

41 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.11 2006/07/14 22:13:19 jlam Exp $
DISTNAME= pkgmanpages-20050911
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= Manual page(s) for the packages collection
NO_PKGTOOLS_REQD_CHECK= # defined
PKG_PRESERVE= # defined
NO_CHECKSUM= yes
NO_MTREE= yes
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= ${PKGMANDIR}/man7
.include "../../mk/bsd.prefs.mk"
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
do-extract:
@${CP} -R ${FILESDIR} ${WRKSRC}
do-install:
${INSTALL_MAN} ${WRKSRC}/packages.7 ${PREFIX}/${PKGMANDIR}/man7
.include "../../mk/bsd.pkg.mk"
PREFIX:= ${PKG_TOOLS_PREFIX}