Annotation of pkgsrc/mk/pkgformat/pkg/pkgformat.mk, revision 1.2
1.2 ! wiz 1: # $NetBSD: pkgformat.mk,v 1.1 2011/10/15 00:23:09 reed Exp $
1.1 reed 2: #
3: # This Makefile fragment provides variable and target overrides that are
4: # specific to the pkgsrc native package format.
5: #
6:
7: # PKG_FILELIST_CMD outputs the list of files owned by ${PKGNAME} as
8: # registered on the system.
9: #
10: # For DESTDIR support, just use _DEPENDS_PLIST instead.
11: #
12: .if ${_USE_DESTDIR} == "no"
13: PKG_FILELIST_CMD= ${PKG_INFO} -qL ${PKGNAME:Q}
14: .else
15: PKG_FILELIST_CMD= ${SED} -e "/^@/d" -e "s|^|${PREFIX}/|" ${_DEPENDS_PLIST}
16: .endif
17:
18: .include "depends.mk"
19: .include "check.mk"
20: .include "metadata.mk"
21: .include "install.mk"
22: .include "deinstall.mk"
23: .include "replace.mk"
24: .include "package.mk"
25:
26: .include "utility.mk"
CVSweb <webmaster@jp.NetBSD.org>