1 # Makefile.pkgsrc - installed as /usr/pkgsrc/Makefile
3 # Provides simple targets to download and maintain /usr/pkgsrc.
5 # $DragonFly: src/etc/Makefile.usr,v 1.8 2008/09/03 10:38:55 hasso Exp $
8 @echo "Install or update /usr/pkgsrc using NetBSDs anoncvs"
9 @echo " make pkgsrc-checkout"
10 @echo " make pkgsrc-update"
12 @echo "These targets download/update the DragonFly git repository into"
14 @echo " make git-clone"
15 @echo " make git-update"
17 @echo "Install or update /usr/pkgsrc/wip using NetBSD.se anoncvs"
18 @echo " make pkgsrc-wip-checkout"
19 @echo " make pkgsrc-wip-update"
21 @echo "Extract kernel sources from src-sys.tar.bz2 in this directory."
22 @echo " make release-sys-extract"
24 @echo "If automating please restrict updates from the NetBSD anoncvs"
25 @echo "server to no more than once a week and run gits no more often"
30 cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
34 cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot update -Pd pkgsrc
38 mkdir -p pkgsrc/wip; \
40 cvs -d anoncvs@anoncvs.NetBSD.se:/cvsroot checkout -P wip
43 cd ${.CURDIR}/pkgsrc; \
44 cvs -d anoncvs@anoncvs.NetBSD.se:/cvsroot update -Pd wip
47 bunzip2 < src-sys.tar.bz2 | tar xvpf -
51 if [ -z "`which git`" ]; then \
52 echo "Please install devel/scmgit from pkgsrc"; \
55 git clone -o crater -n git://crater.dragonflybsd.org/dragonfly.git src; \
56 cd src && git checkout master
60 if [ -z "`which git`" ]; then \
61 echo "Please install devel/scmgit from pkgsrc"; \