aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2017-07-25 11:55:14 +0000
committerNicola Vitale <nivit@FreeBSD.org>2017-07-25 11:55:14 +0000
commit3f475c1a8c1585eee7fd377ca0fe383190f7dd10 (patch)
tree286b82d649d81f8e37f4f92dc775938d2592b916
parent77340559248271c0ef1679a9a34b17d859882a14 (diff)
downloadports-3f475c1a8c1585eee7fd377ca0fe383190f7dd10.tar.gz
ports-3f475c1a8c1585eee7fd377ca0fe383190f7dd10.zip
- Update to 2.41
- Sort values of ONLY_FOR_ARCHS variable - Sort variables in Makefile - Use option helpers ChangeLog: https://sourceforge.net/projects/asymptote/files/2.41/
Notes
Notes: svn path=/head/; revision=446571
-rw-r--r--math/asymptote/Makefile53
-rw-r--r--math/asymptote/distinfo5
-rw-r--r--math/asymptote/pkg-plist2
3 files changed, 25 insertions, 35 deletions
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index 2fcf234cef5c..ddf132ae4f48 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= asymptote
-PORTVERSION= 2.37
-PORTREVISION= 5
+PORTVERSION= 2.41
+PORTREVISION= 0
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -26,42 +26,33 @@ ALL_TARGET= asy asy-keywords.el
CONFIGURE_ARGS= --enable-gc=system
CPPFLAGS+= -I${LOCALBASE}/include
-GNU_CONFIGURE= yes
-
-INSTALL_TARGET= install-asy
-
-MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR}
-MAKE_JOBS_UNSAFE= yes
-
-ONLY_FOR_ARCHS= i386 amd64
-
-USES= gettext-runtime ghostscript gmake ncurses perl5 python \
- shebangfix tar:tgz
-USE_GL= glut
-USE_PERL5= build
-USE_TEX= dvipsk formats
-
-SHEBANG_FILES= GUI/*.py
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-# Options
+DOCS_ALL_TARGET= html
DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo
DOCS_CONFIGURE_WITH= docdir=${DOCSDIR}
+DOCS_INSTALL_TARGET= install-html
FFTW_CONFIGURE_ENABLE= fftw
FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform
FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3
+GNU_CONFIGURE= yes
GSL_CONFIGURE_ENABLE= gsl
GSL_DESC= Enable GNU Scientific library
GSL_LIB_DEPENDS= libgsl.so:math/gsl
+INSTALL_TARGET= install-asy
+
+MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR}
+MAKE_JOBS_UNSAFE= yes
+MANPAGES_ALL_TARGET= man
MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo
+MANPAGES_INFO= asy-faq
+MANPAGE_INSTALL_TARGET= install-man
OFFSCREEN_CONFIGURE_ENABLE= offscreen
OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library
OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa
+ONLY_FOR_ARCHS= amd64 i386
OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE
OPTIONS_DEFINE= DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE
@@ -69,19 +60,15 @@ READLINE_CONFIGURE_ENABLE= readline
READLINE_DESC= ${LIBEDIT_DESC}
READLINE_USES= readline
-.include <bsd.port.options.mk>
+SHEBANG_FILES= GUI/*.py
-# Documentation
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= html
-INSTALL_TARGET+= install-html
-.endif
+USES= gettext-runtime ghostscript gmake ncurses perl5 python \
+ shebangfix tar:tgz
+USE_GL= glut
+USE_PERL5= build
+USE_TEX= dvipsk formats
-.if ${PORT_OPTIONS:MMANPAGES}
-INFO= asy-faq
-ALL_TARGET+= man
-INSTALL_TARGET+= install-man
-.endif
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure
diff --git a/math/asymptote/distinfo b/math/asymptote/distinfo
index 0c28cded5225..ccc6ea1880ba 100644
--- a/math/asymptote/distinfo
+++ b/math/asymptote/distinfo
@@ -1,2 +1,3 @@
-SHA256 (asymptote-2.37.src.tgz) = 111502a4daf055b517bb7e393af2b70f84f376a28671144751695651aa00d09a
-SIZE (asymptote-2.37.src.tgz) = 3459415
+TIMESTAMP = 1500975929
+SHA256 (asymptote-2.41.src.tgz) = 1d6e7e89fb5293fad7d836fb0477f785a113f689bd71f37a05af18ff0c5eeef0
+SIZE (asymptote-2.41.src.tgz) = 3516426
diff --git a/math/asymptote/pkg-plist b/math/asymptote/pkg-plist
index ec45ed0c1b0b..1c8ed2405d51 100644
--- a/math/asymptote/pkg-plist
+++ b/math/asymptote/pkg-plist
@@ -203,6 +203,7 @@ man/man1/xasy.1x.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/100d.views
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1overx.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BezierPatch.asy
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BezierSaddle.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BezierSurface.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/BezierTriangle.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Bode.asy
@@ -267,6 +268,7 @@ man/man1/xasy.1x.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clockarray.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coag.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colons.asy
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colorpatch.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colorplanes.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/colors.asy
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/condor.asy