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

Annotation of ports/Makefile, Revision 1.1

1.1     ! niklas      1: # $OpenBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
        !             2: # $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
        !             3: #
        !             4:
        !             5: SUBDIR += archivers
        !             6: #SUBDIR += astro
        !             7: #SUBDIR += audio
        !             8: SUBDIR += benchmarks
        !             9: #SUBDIR += cad
        !            10: SUBDIR += chinese
        !            11: SUBDIR += comms
        !            12: #SUBDIR += converters
        !            13: SUBDIR += databases
        !            14: SUBDIR += devel
        !            15: SUBDIR += editors
        !            16: SUBDIR += emulators
        !            17: SUBDIR += games
        !            18: #SUBDIR += german
        !            19: SUBDIR += graphics
        !            20: #SUBDIR += japanese
        !            21: #SUBDIR += korean
        !            22: #SUBDIR += lang
        !            23: SUBDIR += mail
        !            24: #SUBDIR += math
        !            25: #SUBDIR += mbone
        !            26: SUBDIR += misc
        !            27: SUBDIR += net
        !            28: SUBDIR += news
        !            29: #SUBDIR += plan9
        !            30: #SUBDIR += print
        !            31: #SUBDIR += russian
        !            32: SUBDIR += security
        !            33: SUBDIR += shells
        !            34: SUBDIR += sysutils
        !            35: SUBDIR += textproc
        !            36: #SUBDIR += vietnamese
        !            37: SUBDIR += www
        !            38: #SUBDIR += x11
        !            39:
        !            40: PORTSTOP=      yes
        !            41:
        !            42: .include <bsd.port.subdir.mk>
        !            43:
        !            44: index:
        !            45:        @rm -f ${.CURDIR}/INDEX
        !            46:        @make ${.CURDIR}/INDEX
        !            47:
        !            48: ${.CURDIR}/INDEX:
        !            49:        @echo -n "Generating INDEX - please wait.."
        !            50:        @make describe ECHO_MSG="echo > /dev/null" > ${.CURDIR}/INDEX
        !            51:        @echo " Done."
        !            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
        !            55:
        !            56: search:        ${.CURDIR}/INDEX
        !            57: .if !defined(key)
        !            58:        @echo "The search target requires a keyword parameter,"
        !            59:        @echo "e.g.: \"make search key=somekeyword\""
        !            60: .else
        !            61:        @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); }'
        !            62: .endif