summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-03-06 08:14:26 +0000
committerasami <asami@FreeBSD.org>1996-03-06 08:14:26 +0000
commitf4f3d81bd0fee1f4d0e491fc3b8330a183a3a4fe (patch)
tree4b906d19455efec98af0267d3084bb184d7f4737 /share/mk
parent986c4ed5ddf2bf650c7c7f82860e402367c4ad0a (diff)
downloadFreeBSD-src-f4f3d81bd0fee1f4d0e491fc3b8330a183a3a4fe.zip
FreeBSD-src-f4f3d81bd0fee1f4d0e491fc3b8330a183a3a4fe.tar.gz
Delete all references to the variable ${KEYWORD} that never quite flew.
(Sorry Jordan, but your other idea (${CATEGORIES}) was a major hit.) Also remove the keyword field in the INDEX line and replace it with two columns: build-time dependencies and run-time dependencies. They are both list of package names (minus the ".tgz").
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.port.mk20
1 files changed, 14 insertions, 6 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index a60af82..b6a143d 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.193 1996/02/16 11:19:00 jkh Exp $
+# $Id: bsd.port.mk,v 1.194 1996/03/06 08:08:16 asami Exp $
#
# Please view me with 4 column tabs!
@@ -35,8 +35,6 @@
# (default: ports@FreeBSD.ORG).
# CATEGORIES - A list of descriptive categories into which this port falls
# (default: orphans).
-# KEYWORDS - A list of descriptive keywords that might index well for this
-# port (default: orphans).
#
# Variables that typically apply to an individual port. Non-Boolean
# variables without defaults are *mandatory*.
@@ -371,7 +369,6 @@ EXTRACT_ONLY?= ${DISTFILES}
# Documentation
MAINTAINER?= ports@FreeBSD.ORG
CATEGORIES?= orphans
-KEYWORDS+= ${CATEGORIES}
# Note this has to start with a capital letter (or more accurately, it
# shouldn't match "[a-z]*"), see the target "delete-package-links" below.
@@ -1138,6 +1135,14 @@ misc-depends:
.endif
+.if !target(depends-list)
+depends-list:
+ @for i in ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${DEPENDS}; do \
+ dir=`/bin/echo $$i | /usr/bin/sed -e 's/.*://'`; \
+ (cd $$dir ; ${MAKE} package-name depends-list); \
+ done
+.endif
+
################################################################
# Everything after here are internal targets and really
# shouldn't be touched by anybody but the release engineers.
@@ -1147,7 +1152,7 @@ misc-depends:
# a large index. Format is:
#
# distribution-name|port-path|installation-prefix|comment| \
-# description-file|maintainer|categories|keywords
+# description-file|maintainer|categories|build deps|run deps
#
.if !target(describe)
describe:
@@ -1163,7 +1168,10 @@ describe:
else \
${ECHO} -n "|/dev/null"; \
fi
- @${ECHO} -n "|${MAINTAINER}|${CATEGORIES}|${KEYWORDS}"
+ @${ECHO} -n "|${MAINTAINER}|${CATEGORIES}|"
+ @${ECHO} -n `make depends-list|sort|uniq`
+ @${ECHO} -n "|"
+ @${ECHO} -n `make package-depends|sort|uniq`
@${ECHO} ""
.endif
OpenPOWER on IntegriCloud