Project

General

Profile

Bug #3053 » patch-Makefileusr.patch

daftaupe, 11/24/2017 02:10 PM

View differences:

etc/Makefile.usr
release-sys-extract:
cd ${.CURDIR} && tar xvpjf src-sys.tar.bz2
dports-check: git-check
@/bin/test ! -d ${.CURDIR}/dports/.git || \
dports-check:
@/bin/test ! -d ${.CURDIR}/dports || \
(echo "Error: ${.CURDIR}/dports already exists"; /usr/bin/false)
dports-check-shallow: git-check
@/bin/test ! -d ${.CURDIR}/dports/.git || \
(echo "Error: ${.CURDIR}/dports/.git 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-create-shallow: dports-check
dports-create-shallow: dports-check-shallow
@echo "If problems occur you may have to rm -rf dports and try again."
@echo
git clone --depth=1 git://${GITHOST_DPORTS}/dports.git \
(1-1/3)