Bug #3053 » 0001-Add-dports-download-check-target.patch
etc/Makefile.usr | ||
---|---|---|
@/bin/test ! -d ${.CURDIR}/dports/.git || \
|
||
(echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
|
||
dports-download-check:
|
||
@/bin/test ! -d ${.CURDIR}/dports || \
|
||
(echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
|
||
dports-check-hasdir: git-check
|
||
@/bin/test -d ${.CURDIR}/dports || \
|
||
(echo "Error: ${.CURDIR}/dports does not exist"; /usr/bin/false)
|
||
... | ... | |
@echo ${WSTARS}
|
||
.endif
|
||
dports-download: dports-check
|
||
dports-download: dports-download-check
|
||
rm -f ${DPTBALL}
|
||
fetch -o ${DPTBALL} ${DPDLURL}
|
||
tar -xf ${DPTBALL} -C ${.CURDIR}
|