README.txt revision 74ccdc8ff418998513e72e36e77dc954d77e3e10
54528e858be00ecae5976563e711c28c4e84da1f~suvQuick instructions:
54528e858be00ecae5976563e711c28c4e84da1f~suv===================
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv1) install MacPorts from source into $MP_PREFIX (e.g. "/opt/local-x11")
54528e858be00ecae5976563e711c28c4e84da1f~suv <https://www.macports.org/install.php>
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv2) add MacPorts to your PATH environement variable, for example:
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv$ export PATH="$MP_PREFIX/bin:$MP_PREFIX/sbin:$PATH"
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv3) add 'ports/' subdirectory as local portfile repository:
54528e858be00ecae5976563e711c28c4e84da1f~suv
e468200803ff0d7a4c90a7a3ce78a890a0236b44~suv$ sudo sed -e '/^rsync:/i\'$'\n'"file://$(pwd)/ports" -i "" "$MP_PREFIX/etc/macports/sources.conf"
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv4) index the new local portfile repository:
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv$ (cd ports && portindex)
54528e858be00ecae5976563e711c28c4e84da1f~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv5) add default variants for x11-based package to MacPorts' global variants:
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv$ sudo echo '+x11 -quartz -no_x11 +rsvg +Pillow -tkinter +gnome_vfs' >> "$MP_PREFIX/etc/macports/variants.conf"
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv6) install required dependencies:
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv$ sudo port install inkscape-packaging
54528e858be00ecae5976563e711c28c4e84da1f~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv7) compile inkscape, create app bundle and DMG:
54528e858be00ecae5976563e711c28c4e84da1f~suv
54528e858be00ecae5976563e711c28c4e84da1f~suv$ LIBPREFIX="$MP_PREFIX" ./osx-build.sh a c b -j 5 i p -s d
54528e858be00ecae5976563e711c28c4e84da1f~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv8) upload the DMG.