diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-03-08 14:26:26 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-03-08 14:26:26 +0000 |
commit | 840f25fe4d0e4b64b6e6b17ca3bab62acc619ea7 (patch) | |
tree | 89a8845f0e7ed1e93e517e021d6dfddc139a480e /Makefile | |
parent | 4e85e0b5a6afb624dd01f20e9ff3245ceaa764b1 (diff) | |
download | pkgsrc-840f25fe4d0e4b64b6e6b17ca3bab62acc619ea7.tar.gz |
Sync with bsd.port.mk: use "ARCH:" field for "print-index:" and "search:".
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |