[142896] trunk/dports/graphics/asymptote/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 07:41:43 PST 2015
Revision: 142896
https://trac.macports.org/changeset/142896
Author: mojca at macports.org
Date: 2015-11-26 09:58:57 -0800 (Thu, 26 Nov 2015)
Log Message:
-----------
asymptote: upgrade to the latest version (from git) for gsl compatibility, switch to github (closes #49820)
Modified Paths:
--------------
trunk/dports/graphics/asymptote/Portfile
Modified: trunk/dports/graphics/asymptote/Portfile
===================================================================
--- trunk/dports/graphics/asymptote/Portfile 2015-11-26 17:42:49 UTC (rev 142895)
+++ trunk/dports/graphics/asymptote/Portfile 2015-11-26 17:58:57 UTC (rev 142896)
@@ -2,11 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
PortGroup texlive 1.0
-name asymptote
-version 2.35
-revision 1
+github.setup vectorgraphics asymptote 71ff9e769
+version 2.36
categories graphics
maintainers mojca openmaintainer
description a vector graphics language
@@ -18,15 +18,18 @@
homepage http://asymptote.sourceforge.net
license LGPL-3+
platforms darwin
+
configure.args --with-latex=${texlive_texmfports}/tex/latex \
--with-context=${texlive_texmfports}/tex/context/third \
--mandir=${prefix}/share/man \
--disable-offscreen
-master_sites sourceforge:project/asymptote/${version}/
-extract.suffix .src.tgz
-checksums rmd160 9ec4ff746f28c93ef4f0eb1e4585e9d9f6c4a80f \
- sha256 ff3cf5b6a6a65fb1fe5b3ef1e94bf9cff8c3376f0cd7be0fdd7079c0fb46c285
+checksums rmd160 6d4e86249ce278b02fc894bd91383466f8c0d770 \
+ sha256 a07b0af5cd169c8ea2734cc9542e2f7c599c5fa755678d5ac49ca74fe520ab95
+
+use_autoconf yes
+autoconf.cmd ./autogen.sh
+
# texlive-latex-recommended and texinfo are only used for building the docs
# other relevant packages are:
# - texlive-common
@@ -37,7 +40,9 @@
#
# one day we could split that into a separate +docs variant
# or fetch the PDF from somewhere
-depends_build port:ghostscript \
+depends_build port:autoconf \
+ port:gawk \
+ port:ghostscript \
port:texinfo \
port:texlive-latex-recommended \
port:texlive-fonts-recommended
@@ -69,6 +74,11 @@
port:texlive-bin \
port:texlive-latex-recommended
+# hopefully just a temporary hack (numbers should not be hardcoded)
+pre-build {
+ system -W ${worksrcpath} "echo 'const char *REVISION=\"2.36-28\";' > revision.cc"
+}
+
post-destroot {
if {[variant_isset python27]} {
set python.branch 2.7
@@ -98,5 +108,3 @@
path:${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/PIL:py${python.version}-Pillow
}
default_variants +python27
-
-livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/ee6fc715/attachment.html>
More information about the macports-changes
mailing list