1 # $NetBSD: pkgformat.mk,v 1.3 2007/10/31 12:07:13 rillig Exp $
3 # This Makefile fragment provides variable and target overrides that are
4 # specific to the pkgsrc native package format.
7 # PKG_FILELIST_CMD outputs the list of files owned by ${PKGNAME} as
8 # registered on the system.
10 # For DESTDIR support, just use _DEPENDS_PLIST instead.
12 .if
${_USE_DESTDIR} == "no"
13 PKG_FILELIST_CMD
= ${PKG_INFO} -qL
${PKGNAME
:Q
}
15 PKG_FILELIST_CMD
= ${SED} -e
"/^@/d" -e
"s|^|${PREFIX}/|" ${_DEPENDS_PLIST}
20 .
include "metadata.mk"
22 .
include "deinstall.mk"