Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 11:55:14 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446571 - head/math/asymptote
Message-ID:  <201707251155.v6PBtExC058496@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Tue Jul 25 11:55:14 2017
New Revision: 446571
URL: https://svnweb.freebsd.org/changeset/ports/446571

Log:
  - 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/

Modified:
  head/math/asymptote/Makefile
  head/math/asymptote/distinfo
  head/math/asymptote/pkg-plist

Modified: head/math/asymptote/Makefile
==============================================================================
--- head/math/asymptote/Makefile	Tue Jul 25 11:46:38 2017	(r446570)
+++ head/math/asymptote/Makefile	Tue Jul 25 11:55:14 2017	(r446571)
@@ -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

Modified: head/math/asymptote/distinfo
==============================================================================
--- head/math/asymptote/distinfo	Tue Jul 25 11:46:38 2017	(r446570)
+++ head/math/asymptote/distinfo	Tue Jul 25 11:55:14 2017	(r446571)
@@ -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

Modified: head/math/asymptote/pkg-plist
==============================================================================
--- head/math/asymptote/pkg-plist	Tue Jul 25 11:46:38 2017	(r446570)
+++ head/math/asymptote/pkg-plist	Tue Jul 25 11:55:14 2017	(r446571)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707251155.v6PBtExC058496>