[99680] trunk/dports/devel
g5pw at macports.org
g5pw at macports.org
Wed Nov 14 00:16:03 PST 2012
Revision: 99680
https://trac.macports.org/changeset/99680
Author: g5pw at macports.org
Date: 2012-11-14 00:16:03 -0800 (Wed, 14 Nov 2012)
Log Message:
-----------
devel/coccinelle:
- new port
Added Paths:
-----------
trunk/dports/devel/coccinelle/
trunk/dports/devel/coccinelle/Portfile
Added: trunk/dports/devel/coccinelle/Portfile
===================================================================
--- trunk/dports/devel/coccinelle/Portfile (rev 0)
+++ trunk/dports/devel/coccinelle/Portfile 2012-11-14 08:16:03 UTC (rev 99680)
@@ -0,0 +1,64 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name coccinelle
+version 1.0.0-rc15
+license GPL-2
+maintainers g5pw openmaintainer
+
+categories devel textproc ml
+description ${name} is a semantic diff.
+long_description ${name} is a program matching and transformation engine which\
+ provides the language SmPL (Semantic Patch Language) for\
+ specifying desired matches and transformations in C code.
+
+platforms darwin
+
+homepage http://coccinelle.lip6.fr/
+
+depends_lib port:ocaml \
+ port:ocaml-findlib \
+
+master_sites ${homepage}distrib
+
+extract.suffix .tgz
+
+checksums rmd160 6f819c1490fec0e9e73ef579beb68ef1491ae5bb \
+ sha256 07fab4e17512925b958890bb13c0809797074f2e44a1107b0074bdcc156b9596
+
+configure.args-append \
+ --enable-release \
+ --without-python
+
+# Build optimized version only
+# build.target opt-only
+
+variant python26 conflicts python32 python31 python27 description {Build with python 2.6 support} {
+ set mypydir ${frameworks_dir}/Python.framework/Versions/2.6
+ configure.args-delete --without-python
+ configure.args-append --with-python=${mypydir}/bin/python
+ depends_lib-append port:python26
+}
+
+variant python27 conflicts python32 python31 python26 description {Build with python 2.7 support} {
+ set mypydir ${frameworks_dir}/Python.framework/Versions/2.7
+ configure.args-delete --without-python
+ configure.args-append --with-python=${mypydir}/bin/python
+ depends_lib-append port:python27
+}
+
+variant python31 conflicts python32 python27 python26 description {Build with python 3.1 support} {
+ set mypydir ${frameworks_dir}/Python.framework/Versions/3.1
+ configure.args-delete --without-python
+ configure.args-append --with-python=${mypydir}/bin/python3
+ depends_lib-append port:python31
+}
+
+variant python32 conflicts python31 python27 python26 description {Build with python 3.2 support} {
+ set mypydir ${frameworks_dir}/Python.framework/Versions/3.2
+ configure.args-delete --without-python
+ configure.args-append --with-python=${mypydir}/bin/python3
+ depends_lib-append port:python32
+}
Property changes on: trunk/dports/devel/coccinelle/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121114/ebad1ca9/attachment.html>
More information about the macports-changes
mailing list