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

Diff for /ports/Makefile between version 1.81 and 1.82

version 1.81, 2018/11/16 09:24:09 version 1.82, 2018/11/16 09:30:47
Line 6 
Line 6 
   
 PKGPATH =  PKGPATH =
 DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database  DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database
 INDEX = ${.CURDIR}/INDEX  INDEX = ${LOCALBASE}/share/ports-INDEX
   
 .if defined(SUBDIR)  .if defined(SUBDIR)
 # nothing to do  # nothing to do
 .elif defined(key) || defined(name) || defined(category) || defined(author)  .elif !make(search) && (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/bin/port-search-helper index='${INDEX}'  _CMD = perl ${.CURDIR}/infrastructure/bin/port-search-helper index='${INDEX}'
 .  if defined(key)  .  if defined(key)
Line 75 
Line 74 
   
 .include <bsd.port.subdir.mk>  .include <bsd.port.subdir.mk>
   
 index:  ${INDEX}:
         @rm -f ${.CURDIR}/INDEX          @echo "Please install portslist"
         @${_MAKE} USE_CCACHE=No ${.CURDIR}/INDEX          @echo "${SUDO} pkg_add portslist"
           @exit 1
   
 ${.CURDIR}/INDEX:  
         @echo "Generating INDEX..."  
         @${_MAKE} describe MACHINE_ARCH=amd64 ARCH=amd64 ECHO_MSG="echo 1>&2" > ${.CURDIR}/INDEX  
         @echo "Done."  
   
 print-index:    ${INDEX}  print-index:    ${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); }' < ${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); }' < ${INDEX}

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82