Project

General

Profile

0001-Add-dports-download-check-target.patch

daftaupe, 11/29/2017 01:43 AM

View differences:

etc/Makefile.usr
104 104
	@/bin/test ! -d ${.CURDIR}/dports/.git || \
105 105
		   (echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
106 106

  
107
dports-download-check:
108
	@/bin/test ! -d ${.CURDIR}/dports || \
109
		   (echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
110

  
107 111
dports-check-hasdir: git-check
108 112
	@/bin/test -d ${.CURDIR}/dports || \
109 113
		   (echo "Error: ${.CURDIR}/dports does not exist"; /usr/bin/false)
......
132 136
	@echo ${WSTARS}
133 137
.endif
134 138

  
135
dports-download: dports-check
139
dports-download: dports-download-check
136 140
	rm -f ${DPTBALL}
137 141
	fetch -o ${DPTBALL} ${DPDLURL}
138 142
	tar -xf ${DPTBALL} -C ${.CURDIR}
139
-