2 <name>Wx Widgets</name>
3 <description>A generic wx Widgets project</description>
4 <icon>wxwin-logo.png</icon>
5 <category>C++</category>
6 <required-program>automake</required-program>
7 <required-program>autoconf</required-program>
8 <required-program>make</required-program>
11 <page name="basic" _label="Basic information" _description="General Project Information">
12 <property type="string" name="Name" _label="Project Name:" _description="project name" default="wxwin-foobar" summary="yes" restriction="filename" mandatory="yes"/>
13 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
14 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
15 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
18 <page name="options" _label="Project options" _description="Options for project build system">
19 <property type="hidden" name="NameUpper" default="[+(string-upcase (get "Name"))+]"/>
20 <property type="hidden" name="NameLower" default="[+(string-downcase (get "Name"))+]"/>
21 <property type="hidden" name="NameCUpper" default="[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]"/>
22 <property type="hidden" name="NameCLower" default="[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]"/>
23 <property type="hidden" name="NameHLower" default="[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]"/>
24 <property type="hidden" name="HavePackage" default="1"/>
25 <property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
26 <property type="directory" name="Destination" _label="Destination:" _description="" default="[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]" mandatory="yes" exist="no" summary="yes"/>
27 <property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
28 <item name="GPL" _label="General Public License (GPL)"/>
29 <item name="LGPL" _label="Lesser General Public License (LGPL)"/>
30 <item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
31 <item name="None" _label="No license"/>
33 <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
34 <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
35 <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
38 [+IF (=(get "HavePackageExtra") "1")+]
39 <page name="packages" _label="Configure external packages" _description="Configure external packages">
40 <property type="string" name="PackageModule2" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'" mandatory="yes"/>
41 <property type="string" name="PackageModule3" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
42 <property type="string" name="PackageModule4" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
43 <property type="string" name="PackageModule5" _label="Require Package:" _description="Give a package name that your project require. You may also mention what is the required version of the package. For example, 'libgnomeui-2.0' or 'libgnomeui-2.0 >= 2.2.0'"/>
48 <directory source="terminal" destination="[+Destination+]">
49 <file source="AUTHORS"/>
50 <file source="ChangeLog"/>
51 <file source="Makefile.am.tpl" destination="Makefile.am"/>
53 <file source="README"/>
54 <file source="autogen.sh" executable="yes"/>
55 <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
56 <file source="cvsignore" destination=".cvsignore"/>
57 <directory source="src">
58 <file source="cvsignore" destination=".cvsignore"/>
60 [+IF (=(get "HaveI18n") "1") +]
61 <directory source="po">
62 <file source="ChangeLog"/>
63 <file source="POTFILES.in"/>
64 <file source="LINGUAS" />
65 <file source="cvsignore" destination=".cvsignore"/>
69 <directory source="wxwin" destination="[+Destination+]">
70 <file source="configure.ac.tpl" destination="configure.ac"/>
71 <directory source="src">
72 <file source="main.cc"/>
73 <file source="Makefile.am.tpl" destination="Makefile.am"/>
76 <directory source="licenses" destination="[+Destination+]">
77 <file source="[+License+]" destination="COPYING"/>
82 <run command="sh -c "cd [+(raw-shell-str (get "Destination"))+] && ./autogen.sh""/>
83 <open file="[+Destination+]/[+NameHLower+].anjuta"/>