[103137] trunk/dports/math/gexpr/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Feb 15 19:06:56 PST 2013


Revision: 103137
          https://trac.macports.org/changeset/103137
Author:   ryandesign at macports.org
Date:     2013-02-15 19:06:56 -0800 (Fri, 15 Feb 2013)
Log Message:
-----------
gexpr: ensure we're UsingTheRightCompiler and -arch flags and add universal variant; license GPL-2+

Modified Paths:
--------------
    trunk/dports/math/gexpr/Portfile

Modified: trunk/dports/math/gexpr/Portfile
===================================================================
--- trunk/dports/math/gexpr/Portfile	2013-02-16 02:57:39 UTC (rev 103136)
+++ trunk/dports/math/gexpr/Portfile	2013-02-16 03:06:56 UTC (rev 103137)
@@ -7,6 +7,8 @@
 categories		math
 platforms		darwin
 maintainers		nomaintainer
+license         GPL-2+
+
 description		A shell calculator
 long_description	Gexpr is a shell calculator with floating point, standard \
 			C functions, relational operators, and output in base 2/8/10/16. \
@@ -19,6 +21,13 @@
 
 use_configure	no
 
+variant universal {}
+
+configure.cflags-append -Wall
+
+build.args      CC="${configure.cc}" \
+                OPTS="${configure.cflags} [get_canonical_archflags cc]"
+
 destroot {
 	xinstall -m 755 ${worksrcpath}/gexpr ${destroot}${prefix}/bin
 	xinstall -m 644 ${worksrcpath}/gexpr.1 ${destroot}${prefix}/share/man/man1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130215/935e3e4d/attachment.html>


More information about the macports-changes mailing list