Ticket #61536: snowflake.asy.sh

File snowflake.asy.sh, 637 bytes (added by snowflake (Dave Evans), 3 years ago)

Script to patch and configure asymptote from git checkout

Line 
1#!/bin/sh
2
3# Script to patch and configure asymptote from the
4# latest git checkout (as of 19-November-2020).
5# Checkout: 9606da530260600112145360c3eaadada1ed645f
6# from https://github.com/vectorgraphics/asymptote
7
8
9git reset --hard
10
11
12# Patch
13patch -p0 <  $(port dir asymptote)/files/patch-Makefile.diff
14
15# Post patch
16cat Makefile.in | sed "s|@@PYTHON@@|/opt/local/bin/python3.8|g" > tempfile
17cp  tempfile Makefile.in
18
19./autogen.sh
20
21
22./configure --prefix=/opt/local --enable-gc=system --with-latex=/opt/local/share/texmf/tex/latex --with-context=/opt/local/share/texmf/tex/context/third --mandir=/opt/local/share/man --disable-offscreen