ports/165553: upgrade math/asymptote to 2.15
András JÁKÓ
jako.andras at eik.bme.hu
Wed Feb 29 13:50:13 UTC 2012
>Number: 165553
>Category: ports
>Synopsis: upgrade math/asymptote to 2.15
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 29 13:50:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: András JÁKÓ
>Release: 9.0-STABLE
>Organization:
Budapest University of Technology and Economics
>Environment:
FreeBSD sunbow.eik.bme.hu 9.0-STABLE FreeBSD 9.0-STABLE #33: Tue Feb 14 18:03:58 CET 2012 root at sunbow.eik.bme.hu:/usr/obj/usr/src/sys/SUNBOW amd64
>Description:
I tried to unbreak math/asymptote by upgrading to the current 2.15 version. It builds fine except for the documentation. It seems that our 6-years old teTeX 3.0 can't handle the asymptote documentation. See
http://sourceforge.net/projects/asymptote/forums/forum/409349/topic/4862135 for the exact error message and a short discussion.
>How-To-Repeat:
>Fix:
As a dirty workaround I defined NOPORTDOCS.
Patch attached with submission follows:
diff -ruN asymptote.orig/Makefile asymptote/Makefile
--- asymptote.orig/Makefile 2012-02-03 10:46:39.000000000 +0100
+++ asymptote/Makefile 2012-02-29 00:57:48.000000000 +0100
@@ -6,8 +6,7 @@
#
PORTNAME= asymptote
-PORTVERSION= 2.04
-PORTREVISION= 4
+PORTVERSION= 2.15
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
SF/${PORTNAME}/${PORTNAME}/old/${PORTVERSION}
@@ -35,7 +34,6 @@
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_3:${PORTSDIR}/graphics/py-imaging
-BROKEN= fails to build
ONLY_FOR_ARCHS= i386 amd64
# it requires boehm-gc 7.X
@@ -65,6 +63,7 @@
INSTALL_TARGET= install-asy install-texhash
# Documentation
+NOPORTDOCS= teTeX is too old to compile the asymptote documentation
.if !defined(NOPORTDOCS)
MAN1= asy.1 xasy.1x
INFO= asy-faq
diff -ruN asymptote.orig/distinfo asymptote/distinfo
--- asymptote.orig/distinfo 2011-06-03 13:44:47.000000000 +0200
+++ asymptote/distinfo 2012-02-28 20:48:52.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (asymptote-2.04.src.tgz) = c591666590923ac63b7bd8c0a5865747ae716ca73b4b09f066397f8536357b4e
-SIZE (asymptote-2.04.src.tgz) = 1689205
+SHA256 (asymptote-2.15.src.tgz) = 89034b7f072fe0476bc00a9c4c52189f67cdc1cb9c07bab1fd88bc50b2e0c887
+SIZE (asymptote-2.15.src.tgz) = 1763773
diff -ruN asymptote.orig/pkg-plist asymptote/pkg-plist
--- asymptote.orig/pkg-plist 2011-10-26 16:06:54.000000000 +0200
+++ asymptote/pkg-plist 2012-02-29 01:12:29.000000000 +0100
@@ -97,6 +97,7 @@
%%DATADIR%%/GUI/xasyOptions.py
%%DATADIR%%/GUI/xasyOptionsDialog.py
%%DATADIR%%/GUI/xasyVersion.py
+%%DATADIR%%/asy-keywords.el
%%DATADIR%%/animate.asy
%%DATADIR%%/animation.asy
%%DATADIR%%/annotate.asy
@@ -140,6 +141,7 @@
%%DATADIR%%/plain_Label.asy
%%DATADIR%%/plain_arcs.asy
%%DATADIR%%/plain_arrows.asy
+%%DATADIR%%/plain_bounds.asy
%%DATADIR%%/plain_boxes.asy
%%DATADIR%%/plain_constants.asy
%%DATADIR%%/plain_debugger.asy
@@ -149,6 +151,8 @@
%%DATADIR%%/plain_paths.asy
%%DATADIR%%/plain_pens.asy
%%DATADIR%%/plain_picture.asy
+%%DATADIR%%/plain_prethree.asy
+%%DATADIR%%/plain_scaling.asy
%%DATADIR%%/plain_shipout.asy
%%DATADIR%%/plain_strings.asy
%%DATADIR%%/plain_xasy.asy
@@ -340,9 +344,6 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labelbox.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/labelsquare.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/laserlattice.asy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latexusage-1.asy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latexusage-2.asy
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latexusage-3.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latexusage.tex
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/latticeshading.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layers.asy
@@ -391,6 +392,7 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/partitionExample.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathintersectsurface.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdb.asy
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/penfunctionimage.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/penimage.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/phase.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/piicon.eps
@@ -406,6 +408,7 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/progrid.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/projectelevation.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/projectrevolution.asy
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pseudosphere.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quartercircle.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quilt.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rainbow.asy
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list