ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/Makefile
(Generate patch)

Comparing trunk/Makefile (file contents):
Revision 17103 by laffer1, Sun Sep 14 17:01:11 2014 UTC vs.
Revision 17377 by laffer1, Fri Sep 19 23:07:33 2014 UTC

# Line 147 | Line 147 | print-index:   ${INDEXDIR}/${INDEXFILE}
147   GIT?= git
148   SVN?= svn
149   RSYNC?= rsync
150 PORTSNAP?= portsnap
151 PORTSNAP_FLAGS?= -p ${.CURDIR}
150   .if !target(update)
151   update:
152   .if exists(${.CURDIR}/.svn)
# Line 166 | Line 164 | update:
164          @echo ">>> Updating with ${RSYNC} from ${PORTS_RSYNC_SOURCE}"
165          @echo "--------------------------------------------------------------"
166          @${RSYNC} ${RSYNC_FLAGS} ${PORTS_RSYNC_SOURCE}/ ${.CURDIR}/
169 .else
170        @echo "--------------------------------------------------------------"
171        @echo ">>> Running ${PORTSNAP}"
172        @echo "--------------------------------------------------------------"
173 .if !exists(${PORTSDIR}/.portsnap.INDEX)
174        @echo "Error: 'make update' uses portsnap(8) by default and"
175        @echo "needs ${PORTSDIR} to be created by portsnap on its first run."
176        @echo "Please run 'portsnap fetch extract' first."
177 .else
178        @${PORTSNAP} ${PORTSNAP_FLAGS} fetch
179        @${PORTSNAP} ${PORTSNAP_FLAGS} update
180 .endif
167   .endif
168   .endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines