summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-03-08 14:26:26 +0000
committerfrueauf <frueauf>1998-03-08 14:26:26 +0000
commit252b345665788c5db7f173d9269499669e9df905 (patch)
tree89a8845f0e7ed1e93e517e021d6dfddc139a480e /Makefile
parent7e96d9affc12338feb5f8d04800f830186003a4e (diff)
downloadpkgsrc-252b345665788c5db7f173d9269499669e9df905.tar.gz
Sync with bsd.port.mk: use "ARCH:" field for "print-index:" and "search:".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4b4f5a77a2b..45d388dd6f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1998/03/05 09:09:55 mellon Exp $
+# $NetBSD: Makefile,v 1.8 1998/03/08 14:26:26 frueauf Exp $
# FreeBSD Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp
#
@@ -51,12 +51,12 @@ ${.CURDIR}/INDEX:
@echo " Done."
print-index: ${.CURDIR}/INDEX
- @awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }' < ${.CURDIR}/INDEX
+ @awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX
search: ${.CURDIR}/INDEX
.if !defined(key)
@echo "The search target requires a keyword parameter,"
@echo "e.g.: \"make search key=somekeyword\""
.else
- @grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'
+ @grep ${key} ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArch:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }'
.endif