Macintosh Svn Client is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

macintosh-svn-client

Branchmaster
/svn-mac-build
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
SVNVER=1.4.6
SVNURL=http://subversion.tigris.org/downloads

SVNDEPSVER=$(SVNVER)
SVNDEPSURL=$(SVNURL)

PACKAGEURLS:=\
    http://softlayer.dl.sourceforge.net/project/expat/expat/1.95.8/expat-1.95.8.tar.gz \
    http://download.oracle.com/berkeley-db/db-4.2.52.tar.gz \
    http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.1 \
    http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.2 \
    http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.3 \
    http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.4 \
    http://www.oracle.com/technology/products/berkeley-db/db/update/4.2.52/patch.4.2.52.5 \
    ${SVNURL}/subversion-${SVNVER}.tar.gz \
    ${SVNDEPSURL}/subversion-deps-${SVNDEPSVER}.tar.gz
PACKAGES:=$(notdir ${PACKAGEURLS})  # removes everything up to the last slash
PACKAGETARS:=$(basename ${PACKAGES})  # removes ".gz"
PACKAGEDIRS:=$(basename ${PACKAGETARS})     # removes ".tar"

.PHONY: default build fetch verify archive prebuilt checksums clean

default: build

all: build

build: fetch verify libtool
    ./build_01_db_mac
    ./build_03_expat_mac
    ./build_04_svn_mac ${SVNVER} ${SVNDEPSVER}
    chmod u+w inst/bin/*

fetch: $(PACKAGES)

verify: $(PACKAGES)
    @md5 $(PACKAGES) | diff -u checksums-$(SVNVER)-$(SVNDEPSVER).md5 - || (echo;echo "Checksums failed for one or more downloaded packages. Note that the db package checksum changes from time to time because the owners repackage and modify the archive. If you are happy with your copies, run 'make checksums'.";exit 1)

$(PACKAGES):
    curl -LO $(filter %$@,$(PACKAGEURLS))

archive: inst/bin/svnversion
    tar cjvf scplugin-static-subversion-$(SVNVER).tbz inst
    md5 scplugin-static-subversion-$(SVNVER).tbz > scplugin-static-subversion-$(SVNVER).md5

prebuilt: scplugin-static-subversion-$(SVNVER).tbz
    md5 scplugin-static-subversion-$(SVNVER).tbz | \
    diff -u scplugin-static-subversion-$(SVNVER).md5 -
    tar xjvf scplugin-static-subversion-$(SVNVER).tbz

checksums: fetch
    md5 $(PACKAGES) > $@-$(SVNVER)-$(SVNDEPSVER).md5

% : %.gz
    gunzip < $< > $@

clean:
    rm -rf $(PACKAGEDIRS) inst

clobber: clean
    rm -rf $(PACKAGES)
Ajax-loader Loading, please wait...