version 1.45, 2004/06/21 21:28:29 |
version 1.46, 2004/07/20 12:01:13 |
|
|
# |
# |
|
|
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} |