mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
By popular demand, make the search target use grep -i.
This commit is contained in:
parent
3a3e535685
commit
fcfd0c4a2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8103
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.34 1997/07/31 09:33:05 asami Exp $
|
||||
# $Id: Makefile,v 1.35 1997/08/19 07:10:01 fenner Exp $
|
||||
#
|
||||
|
||||
SUBDIR += archivers
|
||||
@ -57,5 +57,5 @@ search: ${.CURDIR}/INDEX
|
||||
@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 -i ${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); }'
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user