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

Diff for /ports/Makefile between version 1.67 and 1.68

version 1.67, 2011/11/12 16:37:35 version 1.68, 2012/03/09 10:57:54
Line 7 
Line 7 
 PORTSTOP ?= yes  PORTSTOP ?= yes
 DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database  DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database
   
   
 .if defined(SUBDIR)  .if defined(SUBDIR)
 # nothing to do  # nothing to do
 .elif defined(key) || defined(name) || defined(category) || defined(author)  .elif defined(key) || defined(name) || defined(category) || defined(author)
Line 105 
Line 104 
 .  endif  .  endif
 .endif  .endif
   
 mirror-maker:  
         @mkdir -p ${MIRROR_MK:H}  
 .if !empty(LOCKDIR)  
         @echo "EXEC = " >${MIRROR_MK}  
         @echo 'LOCKDIR = ${LOCKDIR}' >>${MIRROR_MK}  
         @echo 'PORTSDIR = ${PORTSDIR}' >>${MIRROR_MK}  
         @echo 'LOCK_CMD = perl $${PORTSDIR}/infrastructure/bin/dolock' >>${MIRROR_MK}  
         @echo 'UNLOCK_CMD = rm -f' >>${MIRROR_MK}  
         @echo 'SIMPLE_LOCK = $${LOCK_CMD} $${LOCKDIR}/$$$$lock.lock; trap "$${UNLOCK_CMD} $${LOCKDIR}/$$$$lock.lock" 0 1 2 3 13 15' >>${MIRROR_MK}  
 .else  
         @echo "EXEC = exec" >${MIRROR_MK}  
         @echo 'SIMPLE_LOCK = :' >>${MIRROR_MK}  
 .endif  
   
         @echo '' >>${MIRROR_MK}  
         @echo "default:: ftp cdrom" >>${MIRROR_MK}  
         @echo ".PHONY: default all ftp cdrom .FORCE" >>${MIRROR_MK}  
         @echo ".FORCE:" >>${MIRROR_MK}  
         @_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' \  
                 _FETCH_MAKEFILE=${MIRROR_MK}  
   
 homepages.html:  homepages.html:
         @echo '<html><ul>' >$@          @echo '<html><ul>' >$@
         @${_MAKE} homepage-links ECHO_MSG='echo >&2' >>$@          @${_MAKE} homepage-links ECHO_MSG='echo >&2' >>$@
Line 142 
Line 116 
         @pkg_mklocatedb -a -d ${.CURDIR}/packages/${MACHINE_ARCH}/all/ \          @pkg_mklocatedb -a -d ${.CURDIR}/packages/${MACHINE_ARCH}/all/ \
             >${.CURDIR}/packages/${MACHINE_ARCH}/ftp/pkglocatedb              >${.CURDIR}/packages/${MACHINE_ARCH}/ftp/pkglocatedb
   
 .PHONY: mirror-maker index search distfiles-update-locatedb \  .PHONY: index search distfiles-update-locatedb \
         pkglocatedb print-licenses print-index          pkglocatedb print-licenses print-index

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68