[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports

Annotation of ports/Makefile, Revision 1.19

1.19    ! turan       1: # $OpenBSD: Makefile,v 1.18 2000/02/22 03:45:11 turan Exp $
1.1       niklas      2: # $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
                      3: #
                      4:
                      5: SUBDIR += archivers
1.2       angelos     6: SUBDIR += astro
1.3       niklas      7: SUBDIR += audio
1.1       niklas      8: SUBDIR += benchmarks
1.11      marc        9: SUBDIR += cad
1.1       niklas     10: SUBDIR += chinese
                     11: SUBDIR += comms
1.9       angelos    12: SUBDIR += converters
1.1       niklas     13: SUBDIR += databases
                     14: SUBDIR += devel
                     15: SUBDIR += editors
                     16: SUBDIR += emulators
                     17: SUBDIR += games
                     18: #SUBDIR += german
                     19: SUBDIR += graphics
1.13      marc       20: SUBDIR += japanese
1.1       niklas     21: #SUBDIR += korean
1.6       niklas     22: SUBDIR += lang
1.1       niklas     23: SUBDIR += mail
1.10      angelos    24: SUBDIR += math
1.14      marc       25: SUBDIR += mbone
1.1       niklas     26: SUBDIR += misc
                     27: SUBDIR += net
                     28: SUBDIR += news
1.4       niklas     29: SUBDIR += plan9
1.7       angelos    30: SUBDIR += print
1.12      form       31: SUBDIR += russian
1.1       niklas     32: SUBDIR += security
                     33: SUBDIR += shells
                     34: SUBDIR += sysutils
                     35: SUBDIR += textproc
                     36: #SUBDIR += vietnamese
                     37: SUBDIR += www
1.5       niklas     38: SUBDIR += x11
1.1       niklas     39:
1.8       niklas     40: PORTSTOP?=     yes
1.1       niklas     41:
                     42: .include <bsd.port.subdir.mk>
                     43:
                     44: index:
                     45:        @rm -f ${.CURDIR}/INDEX
                     46:        @make ${.CURDIR}/INDEX
                     47:
                     48: ${.CURDIR}/INDEX:
1.16      espie      49:        @echo "Generating INDEX..."
                     50:        @make describe ECHO_MSG="echo 1>&2" > ${.CURDIR}/INDEX
                     51:        @echo "Done."
1.1       niklas     52:
                     53: print-index:   ${.CURDIR}/INDEX
                     54:        @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
1.17      turan      55:
                     56: print-licenses: ${.CURDIR}/INDEX
1.18      turan      57:        @printf "Port                               PC PF DC DF L-Type    Maint\n"
1.19    ! turan      58:        @awk -F\| '{printf("%-35.34s%-3.2s%-3.2s%-3.2s%-3.2s%-10.9s%-20.20s\n",$$2,$$11,$$12,$$13,$$14,$$15,$$6);}' < ${.CURDIR}/INDEX
1.1       niklas     59:
                     60: search:        ${.CURDIR}/INDEX
                     61: .if !defined(key)
                     62:        @echo "The search target requires a keyword parameter,"
                     63:        @echo "e.g.: \"make search key=somekeyword\""
                     64: .else
1.15      marc       65:        @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\nArchs:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }'
1.1       niklas     66: .endif