version 1.41, 2003/05/28 13:47:04 |
version 1.51, 2006/10/18 13:52:33 |
|
|
# |
# |
|
|
PKGPATH= |
PKGPATH= |
.if defined(key) || defined(name) || 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(name) |
. if defined(name) |
_CMD+=maintainer='${name}' |
_CMD+=maintainer='${name}' |
. endif |
. endif |
. if defined(category) |
. 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} |
|
|
SUBDIR += astro |
SUBDIR += astro |
SUBDIR += audio |
SUBDIR += audio |
SUBDIR += benchmarks |
SUBDIR += benchmarks |
|
SUBDIR += biology |
SUBDIR += books |
SUBDIR += books |
SUBDIR += cad |
SUBDIR += cad |
SUBDIR += chinese |
SUBDIR += chinese |
|
|
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 |
|
|
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 |
|
|
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) && !make(fetch-makefile) |
|
SUBDIR += mystuff |
|
. endif |
|
.endif |
.endif |
|
|
PORTSTOP?= yes |
PORTSTOP?= yes |
|
|
@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} |
|
|
|
|
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 |