ports/190196: [update] math/asymptote: update to 2.32 and stagefy
Shin-ya Murakami
murashin at gfd-dennou.org
Sun May 25 09:20:02 UTC 2014
>Number: 190196
>Category: ports
>Synopsis: [update] math/asymptote: update to 2.32 and stagefy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun May 25 09:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Shin-ya Murakami
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
GFD-Dennou Club
>Environment:
System: FreeBSD spectra.ircpi.kobe-u.ac.jp 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265035: Mon Apr 28 21:41:37 JST 2014 root at spectra.ircpi.kobe-u.ac.jp:/usr/obj/usr/src/sys/SPECTRA amd64
>Description:
- update to 2.32.
- stagefy.
- use devel/boehm-gc-threaded instead of devel/boehm-gc.
- use texlive instead of tetex.
- don't install components already installed by texlive.
- pkg-descr: use whitespace instead of tab in WWW: line.
>How-To-Repeat:
N/A
>Fix:
--- asymptote.diff begins here ---
diff -u /usr/ports/math/asymptote/Makefile asymptote/Makefile
--- /usr/ports/math/asymptote/Makefile 2014-04-17 03:28:47.000000000 +0900
+++ asymptote/Makefile 2014-05-25 17:58:02.192439304 +0900
@@ -2,8 +2,7 @@
# $FreeBSD: head/math/asymptote/Makefile 351411 2014-04-16 18:28:47Z zeising $
PORTNAME= asymptote
-PORTVERSION= 2.16
-PORTREVISION= 4
+PORTVERSION= 2.32
CATEGORIES= math
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
@@ -16,16 +15,16 @@
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
+LIB_DEPENDS= libgc-threaded.so:${PORTSDIR}/devel/boehm-gc-threaded
+
RUN_DEPENDS= gv:${PORTSDIR}/print/gv \
${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_3:${PORTSDIR}/graphics/py-imaging
ONLY_FOR_ARCHS= i386 amd64
-# it requires boehm-gc 7.X with Pthread enabled
-CONFIGURE_ARGS= --disable-gc
USE_GHOSTSCRIPT=yes
-USE_TEX= latex
+USE_TEX= texlive
USE_GL= glut
USES= gmake perl5
USE_PERL5= build
@@ -35,57 +34,44 @@
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-latex=${LOCALBASE}/share/texmf/tex/latex \
- --with-context=${LOCALBASE}/share/texmf/tex/context/third
+CONFIGURE_ARGS= --enable-gc
CONFIGURE_ENV= LFLAGS="-L${LOCALBASE}/lib $${LFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
MAKE_ENV+= ${CONFIGURE_ENV}
-MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
-PLIST_SUB= MKTEXLSR=${MKTEXLSR}
-
ALL_TARGET= asy asy-keywords.el
-INSTALL_TARGET= install-asy install-texhash
+INSTALL_TARGET= install-asy
# Options
-OPTIONS_DEFINE= EXAMPLES GSL FFTW READLINE #DOCS MANPAGES
-OPTIONS_DEFAULT= EXAMPLES GSL FFTW READLINE #MANPAGES
+OPTIONS_DEFINE= EXAMPLES GSL FFTW READLINE DOCS MANPAGES
+OPTIONS_DEFAULT= EXAMPLES GSL FFTW READLINE MANPAGES
GSL_DESC= Enable GNU Scientific library
FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform
READLINE_DESC= ${LIBEDIT_DESC}
-NO_STAGE= yes
.include <bsd.port.options.mk>
# Documentation
#.if ${PORT_OPTIONS:MDOCS}
-# teTeX is too old to compile the asymptote documentation
-.if 0
ALL_TARGET+= html
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
INSTALL_TARGET+= install-html
-.endif
#.if ${PORT_OPTIONS:MMANPAGES}
-# teTeX is too old to compile the asymptote documentation
-.if 0
MAN1= asy.1 xasy.1x
INFO= asy-faq
ALL_TARGET+= man
INSTALL_TARGET+= install-man
-.endif
-#.if ${PORT_OPTIONS:MMANPAGES} || ${PORT_OPTIONS:MDOCS}
-# teTeX is too old to compile the asymptote documentation
-.if 0
-USE_TEX+= dvipsk:build
-BUILD_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick \
- makeinfo:${PORTSDIR}/textproc/texi2html \
- svn:${PORTSDIR}/devel/subversion \
- texi2dvi:${PORTSDIR}/print/texinfo
+.if ${PORT_OPTIONS:MMANPAGES} || ${PORT_OPTIONS:MDOCS}
+#USE_TEX+= dvipsk:build
+#BUILD_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick \
+# makeinfo:${PORTSDIR}/textproc/texi2html \
+# svn:${PORTSDIR}/devel/subversion \
+# texi2dvi:${PORTSDIR}/print/texinfo
.endif
# Examples
@@ -96,14 +82,14 @@
# Optimizations
.if ${PORT_OPTIONS:MGSL}
-LIB_DEPENDS+= gsl:${PORTSDIR}/math/gsl
+LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl
CONFIGURE_ARGS+= --enable-gsl
.else
CONFIGURE_ARGS+= --disable-gsl
.endif
.if ${PORT_OPTIONS:MFFTW}
-LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3
+LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3
CONFIGURE_ARGS+= --enable-fftw
.else
CONFIGURE_ARGS+= --disable-fftw
@@ -115,4 +101,7 @@
CONFIGURE_ARGS+= --disable-readline
.endif
+pre-configure:
+ cd ${WRKSRC} && autoreconf
+
.include <bsd.port.mk>
diff -u /usr/ports/math/asymptote/distinfo asymptote/distinfo
--- /usr/ports/math/asymptote/distinfo 2014-01-23 00:30:13.000000000 +0900
+++ asymptote/distinfo 2014-05-25 16:26:16.190199079 +0900
@@ -1,2 +1,2 @@
-SHA256 (asymptote-2.16.src.tgz) = 523694782a6fe82652b2893482cbe314b139893721887517be3e6820466f48fa
-SIZE (asymptote-2.16.src.tgz) = 1802976
+SHA256 (asymptote-2.32.src.tgz) = 2035035e02774598312d5588da2685d20fb85a378ea2bbe48b825c5442b18fa5
+SIZE (asymptote-2.32.src.tgz) = 1794495
Common subdirectories: /usr/ports/math/asymptote/files and asymptote/files
diff -u /usr/ports/math/asymptote/pkg-descr asymptote/pkg-descr
--- /usr/ports/math/asymptote/pkg-descr 2014-01-23 00:44:51.000000000 +0900
+++ asymptote/pkg-descr 2014-05-25 17:58:37.795787942 +0900
@@ -9,4 +9,4 @@
and graphical user interface (GUI) methods.
Author: Andy Hammerlindl, John Bowman, and Tom Prince
-WWW: http://asymptote.sourceforge.net/
+WWW: http://asymptote.sourceforge.net/
diff -u /usr/ports/math/asymptote/pkg-plist asymptote/pkg-plist
--- /usr/ports/math/asymptote/pkg-plist 2014-01-23 00:16:56.000000000 +0900
+++ asymptote/pkg-plist 2014-05-25 17:00:46.632678127 +0900
@@ -409,15 +409,5 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yingyang.asy
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/animations
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-share/texmf/tex/context/third/asymptote/colo-asy.tex
-share/texmf/tex/latex/asymptote/asycolors.sty
-share/texmf/tex/latex/asymptote/asymptote.sty
-share/texmf/tex/latex/asymptote/latexmkrc
-share/texmf/tex/latex/asymptote/ocg.sty
@dirrm %%DATADIR%%/GUI
@dirrm %%DATADIR%%
- at dirrm share/texmf/tex/latex/asymptote
- at dirrm share/texmf/tex/context/third/asymptote
- at dirrm share/texmf/tex/context/third
- at unexec %%MKTEXLSR%% %D/share/texmf
- at exec %%MKTEXLSR%% %D/share/texmf
--- asymptote.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list