mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Add Subversion capability to the update traget
This commit is contained in:
parent
c8e601d4ed
commit
a0e668c212
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300899
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -152,6 +152,7 @@ print-index: ${INDEXDIR}/${INDEXFILE}
|
||||||
@awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nE-deps:\t%s\nP-deps:\t%s\nF-deps:\t%s\nWWW:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$11, $$12, $$13, $$10); }' < ${INDEXDIR}/${INDEXFILE}
|
@awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\nE-deps:\t%s\nP-deps:\t%s\nF-deps:\t%s\nWWW:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9, $$11, $$12, $$13, $$10); }' < ${INDEXDIR}/${INDEXFILE}
|
||||||
|
|
||||||
CVS?= cvs
|
CVS?= cvs
|
||||||
|
SVN?= svn
|
||||||
SUP?= csup
|
SUP?= csup
|
||||||
PORTSNAP?= portsnap
|
PORTSNAP?= portsnap
|
||||||
PORTSNAP_FLAGS?= -p ${.CURDIR}
|
PORTSNAP_FLAGS?= -p ${.CURDIR}
|
||||||
|
@ -170,6 +171,12 @@ update:
|
||||||
@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
|
@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I!
|
cd ${.CURDIR}; ${CVS} -R -q update -A -P -d -I!
|
||||||
|
.else
|
||||||
|
.if exists(${.CURDIR}/.svn)
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Updating ${.CURDIR} from svn repository"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
cd ${.CURDIR}; ${SVN} -q update
|
||||||
.else
|
.else
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Running ${PORTSNAP}"
|
@echo ">>> Running ${PORTSNAP}"
|
||||||
|
@ -186,3 +193,4 @@ update:
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue