summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/README.txt
blob: 3b0746c60e5d696f28a82be1601c61bab7a66773 (plain)
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
Quick instructions:
===================

1) install MacPorts from source into $MP_PREFIX (e.g. "/opt/local-x11")
   <https://www.macports.org/install.php>

2) add MacPorts to your PATH environement variable, for example:

$ export PATH="$MP_PREFIX/bin:$MP_PREFIX/sbin:$PATH"

3) add 'ports/' subdirectory as local portfile repository:

$ sudo sed -e '/^rsync:/i\'$'\n'"file://$(pwd)/ports" -i "" "$MP_PREFIX/etc/macports/sources.conf"

4) index the new local portfile repository: 

$ (cd ports && portindex)

5) add default variants for x11-based package to MacPorts' global variants:

$ sudo sed -e '$a\'$'\n''+x11 -quartz -no_x11 +rsvg +Pillow -tkinter +gnome_vfs' -i "" "$MP_PREFIX/etc/macports/sources.conf"

6) install required dependencies: 

$ sudo port install inkscape-packaging

7) compile inkscape, create app bundle and DMG: 

$ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d

8) upload the DMG.