[54735] trunk/dports/lang
Maximilian Nickel
mnick at macports.org
Sun Aug 2 11:31:51 PDT 2009
Changed to cmake port group in r54822. Thanks for the tip.
Max
On Sat, Aug 1, 2009 at 7:34 PM, Ryan Schmidt<ryandesign at macports.org> wrote:
> On Aug 1, 2009, at 07:40, mnick at macports.org wrote:
>
>> Revision: 54735
>> http://trac.macports.org/changeset/54735
>> Author: mnick at macports.org
>> Date: 2009-08-01 05:40:11 -0700 (Sat, 01 Aug 2009)
>> Log Message:
>> -----------
>> new port: gccxml-devel (since there is no official release since 2004)
>
> Since this port builds using cmake, have you considered using the cmake
> portgroup? It does some more things than you do (universal setup, debug
> options, verbosity), and you do some more things than it does (build dir)
> but it may still be useful.
>
>
>> Added Paths:
>> -----------
>> trunk/dports/lang/gccxml-devel/
>> trunk/dports/lang/gccxml-devel/Portfile
>>
>> Added: trunk/dports/lang/gccxml-devel/Portfile
>> ===================================================================
>> --- trunk/dports/lang/gccxml-devel/Portfile
>> (rev 0)
>> +++ trunk/dports/lang/gccxml-devel/Portfile 2009-08-01 12:40:11 UTC
>> (rev 54735)
>> @@ -0,0 +1,34 @@
>> +# $Id$
>> +
>> +PortSystem 1.0
>> +
>> +name gccxml-devel
>> +version 20090713
>> +categories lang
>> +platforms darwin
>> +maintainers mnick openmaintainer
>> +description generates XML description of C++ code
>> +long_description generates an XML description of a C++ program from
>> GCC's \
>> + internal representation
>> +
>> +homepage http://www.gccxml.org/
>> +fetch.type cvs
>> +cvs.root :pserver:anoncvs at www.gccxml.org:/cvsroot/GCC_XML
>> +cvs.date 2009-07-13
>> +cvs.module gccxml
>> +worksrcdir gccxml
>> +
>> +depends_build port:cmake
>> +
>> +post-extract {
>> + file mkdir ${workpath}/build
>> +}
>> +
>> +configure {
>> + system "cd ${workpath}/build \
>> + && cmake ${worksrcpath}
>> -DCMAKE_INSTALL_PREFIX:PATH=${prefix}"
>> +}
>> +
>> +build.dir ${workpath}/build
>> +destroot.dir ${workpath}/build
>
>
>
>
More information about the macports-dev
mailing list