summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 72210e42db5..0555a9ece5f 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.634 2001/01/04 15:10:50 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.635 2001/01/05 17:37:12 agc Exp $
#
# This file is in the public domain.
#
@@ -2942,6 +2942,12 @@ print-run-depends-list:
.endif
.endif
+.if !target(show-license)
+show-license show-licence:
+ @if [ "${LICENSE}" != "" ]; then \
+ ${CAT} ${PKGSRCDIR}/licenses/${LICENSE}; \
+ fi
+.endif
# Stat all the files of one pkg and sum the sizes up.
#