Project

General

Profile

Bug #3053 » 0001-Add-dports-download-check-target.patch

daftaupe, 11/29/2017 01:43 AM

View differences:

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}
(2-2/3)