2 # Makefile - installed as /usr/Makefile
4 # Provides simple targets to download and maintain /usr/pkgsrc etc.
9 .if exists
(${.CURDIR
}/pkgsrc
/.git
)
10 .if exists
(${.CURDIR
}/pkgsrc
/Makefile
)
11 @echo
" make pkgsrc-update - update your pkgsrc repo from the net"
13 @echo
" make pkgsrc-checkout - initial checkout of your pre-packaged"
15 @echo
" make pkgsrc-update - update your pkgsrc repo from the net"
16 @echo
" after the initial checkout."
19 @echo
" make pkgsrc-create - fetch initial pkgsrc repo from the net"
20 @echo
" make pkgsrc-update - update your pkgsrc repo from the net"
25 @echo
"If problems occur you may have to rm -rf pkgsrc and try again."
27 ${INSTALL_DIR} ${.CURDIR
}/pkgsrc
28 cd
${.CURDIR
}/pkgsrc
&& git init
29 cd
${.CURDIR
}/pkgsrc
&& \
30 git remote add
origin git
://git.minix3.org
/pkgsrc.git
31 cd
${.CURDIR
}/pkgsrc
&& git fetch
origin
32 cd
${.CURDIR
}/pkgsrc
&& git branch minix-master
origin/minix-master
33 cd
${.CURDIR
}/pkgsrc
&& git checkout minix-master
34 cd
${.CURDIR
}/pkgsrc
&& git pull
35 cd
${.CURDIR
}/pkgsrc
/minix
&& sh minibootstrap.sh
38 cd
${.CURDIR
}/pkgsrc
&& git checkout minix-master
39 cd
${.CURDIR
}/pkgsrc
/minix
&& sh minibootstrap.sh
42 cd
${.CURDIR
}/pkgsrc
&& git pull
43 cd
${.CURDIR
}/pkgsrc
/minix
&& sh minibootstrap.sh
47 pkgin
install scmgit-base