summaryrefslogtreecommitdiff
path: root/math/asymptote/files
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2014-05-28 23:32:55 +0000
committerNicola Vitale <nivit@FreeBSD.org>2014-05-28 23:32:55 +0000
commit7a6cad39c4e92d2557c5a4f67574da714ace6bff (patch)
treeb4dcc35f6576372552c4cea204a0ca8c63d63c76 /math/asymptote/files
parentTo be fair, I don't have time to maintain this, so, release it. (diff)
- Update to 2.32 [1]
- Remove leading, undefined article from COMMENT - Add graphics/ImageMagick to RUN_DEPENDS - Enable garbage collection via devel/boehm-gc-threaded [1] - Sort variables - Use autotools [1] - Use texlive, and don't install files already installed by it [1] - Use options helpers - Add option OFFSCREEN (default off) to enable offscreen rendering using OSMesa library - Add support for stage dir [1] - Strip binary file asy - Add files/patch-configure.ac and files/patch-settings.cc - Remove Author field, and use a single space after WWW in pkg-descr [1] Release Notes: http://sourceforge.net/projects/asymptote/files/2.32/ PR: ports/190196 [1] Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org>
Notes
Notes: svn path=/head/; revision=355661
Diffstat (limited to 'math/asymptote/files')
-rw-r--r--math/asymptote/files/patch-Makefile.in30
-rw-r--r--math/asymptote/files/patch-configure.ac16
-rw-r--r--math/asymptote/files/patch-settings.cc15
3 files changed, 57 insertions, 4 deletions
diff --git a/math/asymptote/files/patch-Makefile.in b/math/asymptote/files/patch-Makefile.in
index cdb2f0ac6b44..938782762d38 100644
--- a/math/asymptote/files/patch-Makefile.in
+++ b/math/asymptote/files/patch-Makefile.in
@@ -1,6 +1,14 @@
---- Makefile.in 2008-11-27 19:43:50.000000000 +0100
-+++ Makefile.in.port 2008-11-30 13:19:46.000000000 +0100
-@@ -55,7 +55,7 @@
+--- ./Makefile.in.orig 2014-05-22 18:11:41.000000000 +0200
++++ ./Makefile.in 2014-05-27 05:26:25.000000000 +0200
+@@ -53,7 +53,6 @@
+ EXEXTRA = piicon.eps *.views *.dat *.bib
+ DOCEXTRA = *.asy *.csv *.dat latexusage.tex externalprc.tex pixel.pdf
+ KEYWORDS = base $(ASYMPTOTE_SITEDIR)
+-LATEXFILES = asymptote.sty asycolors.sty ocg.sty latexmkrc
+ CONTEXTFILES = colo-asy.tex
+ ASY = ./asy -dir base -config "" -render=0
+
+@@ -84,7 +83,7 @@
asydir = $(datadir)/asymptote
GUIdir = $(asydir)/GUI
docdir = $(DESTDIR)@docdir@
@@ -8,4 +16,18 @@
+exampledir = $(datadir)/examples/asymptote
animationsdir = $(exampledir)/animations
latexdir = $(DESTDIR)@latexdir@
- INSTALL = @INSTALL@
+ contextdir = $(DESTDIR)@contextdir@
+@@ -234,13 +233,11 @@
+ ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \
+ asy-keywords.el $(asydir)
+ ${INSTALL} -p -m 755 GUI/*.py $(GUIdir)
+- ln -sf @datadir@/asymptote/GUI/xasy.py $(bindir)/$(XNAME)
+ ${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \
+ doc/extra/*.asy $(addprefix doc/,$(DOCEXTRA)) $(exampledir)
+ ${INSTALL} -p -m 644 examples/animations/*.asy \
+ examples/animations/inlinemovie.tex \
+ examples/animations/inlinemovie3.tex $(animationsdir)
+- -${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir)
+ -${INSTALL} -p -m 644 $(addprefix doc/,$(CONTEXTFILES)) $(contextdir)
+
+ install-html: html
diff --git a/math/asymptote/files/patch-configure.ac b/math/asymptote/files/patch-configure.ac
new file mode 100644
index 000000000000..2e2f220721d1
--- /dev/null
+++ b/math/asymptote/files/patch-configure.ac
@@ -0,0 +1,16 @@
+--- ./configure.ac.orig 2014-05-22 18:12:40.000000000 +0200
++++ ./configure.ac 2014-05-27 05:26:25.000000000 +0200
+@@ -1,4 +1,3 @@
+-# -*- Autoconf -*-
+ # Run autoheader and autoconf to produce a header and configure script from
+ # this file.
+
+@@ -160,7 +159,7 @@
+ CPPFLAGS=$CPPFLAGS" $INCL"
+ AC_CHECK_HEADER(gc.h,
+ AC_CHECK_LIB([gc],[GC_malloc],[
+- LIBS=$LIBS"-lgc "
++ LIBS=$LIBS"-lgc-threaded "
+ AC_MSG_NOTICE([enabling system $GCNAME])],[
+ GCDIR=$GCFILE
+ INCL="-I\$(GC)/include"
diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc
new file mode 100644
index 000000000000..dcb5e22de367
--- /dev/null
+++ b/math/asymptote/files/patch-settings.cc
@@ -0,0 +1,15 @@
+--- ./settings.cc.orig 2014-05-22 18:11:31.000000000 +0200
++++ ./settings.cc 2014-05-27 05:26:36.000000000 +0200
+@@ -94,10 +94,10 @@
+ #ifdef __APPLE__
+ string defaultPDFViewer="open";
+ #else
+-string defaultPDFViewer="acroread";
++string defaultPDFViewer="gv";
+ #endif
+ string defaultGhostscript="gs";
+-string defaultGhostscriptLibrary="/usr/lib/libgs.so";
++string defaultGhostscriptLibrary="/usr/local/lib/libgs.so";
+ string defaultDisplay="display";
+ string defaultAnimate="animate";
+ void queryRegistry() {}