remove last remnants of mirror-maker

This commit is contained in:
espie 2012-03-09 10:57:54 +00:00
parent fcab1e4a5d
commit 88ea86a07a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.67 2011/11/12 16:37:35 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.68 2012/03/09 10:57:54 espie Exp $
# $FreeBSD: Makefile,v 1.36 1997/10/04 15:54:31 jkh Exp $
#
@ -7,7 +7,6 @@ MIRROR_MK ?= ${.CURDIR}/distfiles/Makefile
PORTSTOP ?= yes
DISTFILES_DB ?= ${.CURDIR}/infrastructure/db/locate.database
.if defined(SUBDIR)
# nothing to do
.elif defined(key) || defined(name) || defined(category) || defined(author)
@ -105,31 +104,6 @@ search: ${.CURDIR}/INDEX
. 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:
@echo '<html><ul>' >$@
@${_MAKE} homepage-links ECHO_MSG='echo >&2' >>$@
@ -142,5 +116,5 @@ pkglocatedb:
@pkg_mklocatedb -a -d ${.CURDIR}/packages/${MACHINE_ARCH}/all/ \
>${.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