summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2002-09-08 06:59:26 +0000
committertron <tron>2002-09-08 06:59:26 +0000
commitc654c99a73df805c3993242fe98ffce36696098f (patch)
tree646e3830a5cf57c932718fcd745cd9dfa233d20a /mk
parent892090d1a6acf8957eebfec53205b0c005a04c3d (diff)
downloadpkgsrc-c654c99a73df805c3993242fe98ffce36696098f.tar.gz
Add a "list" target which invokes "pkg_info -L" for the current package.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 62ac0af70df..ed73c21b5f7 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1043 2002/09/06 08:10:40 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1044 2002/09/08 06:59:26 tron Exp $
#
# This file is in the public domain.
#
@@ -2954,6 +2954,10 @@ info: uptodate-pkgtools
check: uptodate-pkgtools
${_PKG_SILENT}${_PKG_DEBUG}${PKG_ADMIN} check ${PKGWILDCARD}
+# The 'list' target can be used to list the files installed by a package.
+list: uptodate-pkgtools
+ ${_PKG_SILENT}${_PKG_DEBUG}${PKG_INFO} -L ${PKGWILDCARD}
+
# Run pkglint:
lint:
${_PKG_SILENT}${_PKG_DEBUG}${LOCALBASE}/bin/pkglint