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

Diff for /ports/Makefile between version 1.35 and 1.51

version 1.35, 2001/11/12 14:19:17 version 1.51, 2006/10/18 13:52:33
Line 3 
Line 3 
 #  #
   
 PKGPATH=  PKGPATH=
 .if defined(key) || defined(category) || defined(author)  .if defined(SUBDIR)
   # nothing to do
   .elif defined(key) || defined(name) || defined(category) || defined(author)
   
 # set up subdirs from the index, assume it's up-to-date  # set up subdirs from the index, assume it's up-to-date
 _CMD=perl ${.CURDIR}/infrastructure/build/index-retrieve index='${.CURDIR}/INDEX'  _CMD=perl ${.CURDIR}/infrastructure/build/index-retrieve index='${.CURDIR}/INDEX'
 .  if defined(key)  .    if defined(key)
 _CMD+=key='${key}'  _CMD+=key='${key}'
 .  endif  .    endif
 .  if defined(category)  .    if defined(name)
   _CMD+=maintainer='${name}'
   .    endif
   .    if defined(category)
 _CMD+=category='${category}'  _CMD+=category='${category}'
 .  endif  .    endif
 .  if defined(maintainer)  .    if defined(maintainer)
 _CMD+=maintainer='${maintainer}'  _CMD+=maintainer='${maintainer}'
 .  endif  .    endif
 SUBDIR != ${_CMD}  SUBDIR != ${_CMD}
 .elif defined(SUBDIRLIST)  .elif defined(SUBDIRLIST)
 SUBDIR != sed -e 's,[   ]*\#.*,,' -e '/^[       ]*$$/d' ${SUBDIRLIST}  SUBDIR != sed -e 's,[   ]*\#.*,,' -e '/^[       ]*$$/d' ${SUBDIRLIST}
Line 24 
Line 29 
 SUBDIR += astro  SUBDIR += astro
 SUBDIR += audio  SUBDIR += audio
 SUBDIR += benchmarks  SUBDIR += benchmarks
   SUBDIR += biology
   SUBDIR += books
 SUBDIR += cad  SUBDIR += cad
 SUBDIR += chinese  SUBDIR += chinese
 SUBDIR += comms  SUBDIR += comms
Line 34 
Line 41 
 SUBDIR += education  SUBDIR += education
 SUBDIR += emulators  SUBDIR += emulators
 SUBDIR += games  SUBDIR += games
 #SUBDIR += german  
 SUBDIR += graphics  SUBDIR += graphics
 SUBDIR += japanese  SUBDIR += japanese
 SUBDIR += java  SUBDIR += java
Line 42 
Line 48 
 SUBDIR += lang  SUBDIR += lang
 SUBDIR += mail  SUBDIR += mail
 SUBDIR += math  SUBDIR += math
 SUBDIR += mbone  
 SUBDIR += misc  SUBDIR += misc
   SUBDIR += multimedia
 SUBDIR += net  SUBDIR += net
 SUBDIR += news  SUBDIR += news
 SUBDIR += palm  SUBDIR += palm
Line 54 
Line 60 
 SUBDIR += security  SUBDIR += security
 SUBDIR += shells  SUBDIR += shells
 SUBDIR += sysutils  SUBDIR += sysutils
   SUBDIR += telephony
 SUBDIR += textproc  SUBDIR += textproc
 #SUBDIR += vietnamese  
 SUBDIR += www  SUBDIR += www
 SUBDIR += x11  SUBDIR += x11
 .  if exists(mystuff) && !make(describe)  
 SUBDIR += mystuff  
 .  endif  
 .endif  .endif
   
 PORTSTOP?=      yes  PORTSTOP?=      yes
Line 77 
Line 80 
         @echo "Done."          @echo "Done."
   
 print-index:    ${.CURDIR}/INDEX  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\nL-deps:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10); }' < ${.CURDIR}/INDEX
   
 print-licenses: ${.CURDIR}/INDEX  print-licenses: ${.CURDIR}/INDEX
         @printf "Port                                    PC PF DC DF Maint\n"          @printf "Port                                    PC PF DC DF Maint\n"
         @awk -F\| '{printf("%-40.39s%-3.2s%-3.2s%-3.2s%-3.2s%-25.25s\n",$$2,$$11,$$12,$$13,$$14,$$6);}' < ${.CURDIR}/INDEX          @awk -F\| '{printf("%-40.39s%-3.2s%-3.2s%-3.2s%-3.2s%-25.25s\n",$$2,$$12,$$13,$$14,$$15,$$6);}' < ${.CURDIR}/INDEX
   
 search: ${.CURDIR}/INDEX  search: ${.CURDIR}/INDEX
 .if !defined(key)  .if !defined(key) && !defined(name)
         @echo "The search target requires a keyword parameter,"          @echo "The search target requires a keyword or name parameter,"
         @echo "e.g.: \"make search key=somekeyword\""          @echo "e.g.: \"make search key=somekeyword\" \"make search name=somename\""
 .else  .else
         @egrep -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); }'  . if defined(key)
           @egrep -i -- "${key}" ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nL-deps:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArchs:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10, $$11); }'
   . else
           @awk -F\| '$$1 ~ /${name}/ { printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nL-deps:\t%s\nB-deps:\t%s\nR-deps:\t%s\nArchs:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$10, $$11); }' ${.CURDIR}/INDEX
   . endif
 .endif  .endif
   
   
Line 100 
Line 107 
         @echo "EXEC=exec" >${MIRROR_MK}          @echo "EXEC=exec" >${MIRROR_MK}
         @echo "default:: ftp cdrom" >>${MIRROR_MK}          @echo "default:: ftp cdrom" >>${MIRROR_MK}
         @echo ".PHONY: default all ftp cdrom" >>${MIRROR_MK}          @echo ".PHONY: default all ftp cdrom" >>${MIRROR_MK}
         @${MAKE} fetch-makefile \          @_DONE_FILES=`mktemp /tmp/depends.XXXXXXXXX|| exit 1`; \
           export _DONE_FILES; \
           trap "rm -f $${_DONE_FILES}" 0 1 2 3 13 15; \
           ${MAKE} fetch-makefile \
                 ECHO_MSG='echo >&2' \                  ECHO_MSG='echo >&2' \
                 >>${MIRROR_MK}                  >>${MIRROR_MK}
   
   homepages.html:
           @echo '<html><ul>' >$@
           @${MAKE} homepage-links ECHO_MSG='echo >&2' >>$@
           @echo '</ul></html>' >>$@
   
 DISTFILES_DB?=${.CURDIR}/infrastructure/db/locate.database  DISTFILES_DB?=${.CURDIR}/infrastructure/db/locate.database
   
 distfiles-update-locatedb:  distfiles-update-locatedb:
         @PORTSDIR=${.CURDIR} /bin/sh ${.CURDIR}/infrastructure/fetch/distfiles-update-locatedb ${DISTFILES_DB}          @PORTSDIR=${.CURDIR} /bin/sh ${.CURDIR}/infrastructure/fetch/distfiles-update-locatedb ${DISTFILES_DB}
   
   pkglocatedb:
           @pkg_mklocatedb ${.CURDIR}/packages/${MACHINE_ARCH}/all/* \
               >${.CURDIR}/packages/${MACHINE_ARCH}/ftp/pkglocatedb
   
 .PHONY: mirror-maker index search distfiles-update-locatedb \  .PHONY: mirror-maker index search distfiles-update-locatedb \
         print-licenses print-index          pkglocatedb print-licenses print-index

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.51