summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-09-08 06:59:26 +0000
committertron <tron@pkgsrc.org>2002-09-08 06:59:26 +0000
commit01817b5b438ef128c65a336ad92fb64a02ef572f (patch)
tree646e3830a5cf57c932718fcd745cd9dfa233d20a /mk
parent5a550e2e450357e49bfb038b418fc1e831b823b5 (diff)
downloadpkgsrc-01817b5b438ef128c65a336ad92fb64a02ef572f.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