[anjuta] project-wizard: Generate the licenses in a more general way, fix bgo #627431



commit 2a630ec761790a69dfff71f9e3c612633a868318
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sat Jan 28 12:12:53 2012 +0100

    project-wizard: Generate the licenses in a more general way, fix bgo #627431
    
    Generate licenses without using predefined autogen macros which are buggy in version 5.12 and 5.13.
    The list of all licenses is defined in licenses.tpl.in file and other licenses can be added in licenses directory.

 plugins/project-wizard/templates/Makefile.am       |   11 +++++++-
 .../project-wizard/templates/anjuta-plugin.wiz.in  |    9 +-----
 .../templates/anjuta-plugin/src/plugin.c           |   10 +++----
 .../templates/anjuta-plugin/src/plugin.h           |   10 +++----
 plugins/project-wizard/templates/cpp.wiz.in        |    9 +-----
 plugins/project-wizard/templates/cpp/src/main.cc   |   10 +++----
 plugins/project-wizard/templates/gcj.wiz.in        |    9 +-----
 .../templates/gnome-shell-extension.wiz.in         |    9 +-----
 .../gnome-shell-extension/src/extension.js         |   10 +++----
 plugins/project-wizard/templates/gtk.wiz.in        |    9 +-----
 plugins/project-wizard/templates/gtk/src/main.c    |   10 +++----
 .../project-wizard/templates/gtkapplication.wiz.in |    9 +-----
 .../templates/gtkapplication/src/application.c     |   10 +++----
 .../templates/gtkapplication/src/application.h     |   10 +++----
 plugins/project-wizard/templates/gtkmm.wiz.in      |    9 +-----
 plugins/project-wizard/templates/gtkmm/src/main.cc |   10 +++----
 plugins/project-wizard/templates/java.wiz.in       |    9 +-----
 .../project-wizard/templates/java/src/main.java    |   10 +++----
 plugins/project-wizard/templates/js.wiz.in         |    9 +-----
 plugins/project-wizard/templates/library.wiz.in    |    9 +-----
 plugins/project-wizard/templates/library/src/lib.c |   10 +++----
 plugins/project-wizard/templates/library/src/lib.h |   10 +++----
 .../project-wizard/templates/licenses/Makefile.am  |   12 ++++++---
 plugins/project-wizard/templates/licenses/bsd.tpl  |   26 ++++++++++++++++++++
 .../templates/licenses/{BSD => bsd.txt}            |    0
 plugins/project-wizard/templates/licenses/gpl.tpl  |   15 +++++++++++
 .../templates/licenses/{GPL => gpl.txt}            |    0
 plugins/project-wizard/templates/licenses/lgpl.tpl |   15 +++++++++++
 .../templates/licenses/{LGPL => lgpl.txt}          |    0
 plugins/project-wizard/templates/licenses/none.tpl |    3 ++
 .../templates/licenses/{None => none.txt}          |    0
 plugins/project-wizard/templates/minimal.wiz.in    |    9 +-----
 plugins/project-wizard/templates/pygtk.wiz.in      |    9 +-----
 plugins/project-wizard/templates/pygtk/src/main.py |    9 ++----
 plugins/project-wizard/templates/python.wiz.in     |    9 +-----
 .../project-wizard/templates/python/src/main.py    |    9 ++----
 plugins/project-wizard/templates/sdl.wiz.in        |    9 +-----
 plugins/project-wizard/templates/sdl/src/main.c    |   12 ++++-----
 plugins/project-wizard/templates/terminal.wiz.in   |    9 +-----
 .../project-wizard/templates/terminal/src/main.c   |   10 +++----
 plugins/project-wizard/templates/vala-gtk.wiz.in   |    9 +-----
 .../templates/vala-gtk/src/main.vala               |   10 +++----
 plugins/project-wizard/templates/wxwin.wiz.in      |    9 +-----
 plugins/project-wizard/templates/wxwin/src/main.cc |   12 ++++-----
 plugins/project-wizard/templates/xlib-dock.wiz.in  |    9 +-----
 .../project-wizard/templates/xlib-dock/src/main.c  |   12 ++++-----
 .../templates/xlib-dock/src/wmgeneral.c            |   12 ++++-----
 .../templates/xlib-dock/src/wmgeneral.h            |   12 ++++-----
 plugins/project-wizard/templates/xlib.wiz.in       |    9 +-----
 plugins/project-wizard/templates/xlib/src/main.c   |   12 ++++-----
 po/POTFILES.in                                     |    1 +
 51 files changed, 203 insertions(+), 271 deletions(-)
---
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index f4f1c5a..3d6d7f7 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -25,7 +25,8 @@ template_in_files = \
 	sdl.wiz.in \
 	library.wiz.in \
 	vala-gtk.wiz.in \
-	gnome-shell-extension.wiz.in
+	gnome-shell-extension.wiz.in \
+	licenses.tpl.in
 
 wizard_filesdir = $(anjuta_data_dir)/project
 wizard_files_DATA = \
@@ -45,11 +46,17 @@ wizard_files_DATA = \
 	appwiz_sdl.png \
 	gnome.png \
 	gnome.svg \
-	$(template_in_files:.wiz.in=.wiz)
+	$(template_in_files:.in=)
 
 # Translate wiz file
 %.wiz: %.wiz.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache
 
+%.tpl: %.tpl.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
+	$(INTLTOOL_MERGE) $(top_srcdir)/po $< $ _ -x -u -c $(top_builddir)/po/.intltool-merge-cache
+	echo "[+ autogen5 template +]" | cat - $ _ > $@;
+	rm $ _
+	
+
 EXTRA_DIST = $(wizard_files_DATA) $(template_in_files)
 
 -include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/anjuta-plugin.wiz.in b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
index 6db6fe1..309a17b 100644
--- a/plugins/project-wizard/templates/anjuta-plugin.wiz.in
+++ b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
@@ -20,12 +20,7 @@
 
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -101,7 +96,7 @@
 			[+ENDIF+]
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
index 932584e..69cf734 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.c
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * plugin.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <config.h>
 #include <libanjuta/anjuta-shell.h>
diff --git a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
index 1c8f356..454042e 100644
--- a/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
+++ b/plugins/project-wizard/templates/anjuta-plugin/src/plugin.h
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * plugin.h
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #ifndef _[+NameCUpper+]_H_
 #define _[+NameCUpper+]_H_
diff --git a/plugins/project-wizard/templates/cpp.wiz.in b/plugins/project-wizard/templates/cpp.wiz.in
index 81783ea..01a6415 100644
--- a/plugins/project-wizard/templates/cpp.wiz.in
+++ b/plugins/project-wizard/templates/cpp.wiz.in
@@ -18,12 +18,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -69,7 +64,7 @@
 		[+ENDIF+]
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/cpp/src/main.cc b/plugins/project-wizard/templates/cpp/src/main.cc
index 688a4b3..0f1638d 100644
--- a/plugins/project-wizard/templates/cpp/src/main.cc
+++ b/plugins/project-wizard/templates/cpp/src/main.cc
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * main.cc
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <iostream>
 
diff --git a/plugins/project-wizard/templates/gcj.wiz.in b/plugins/project-wizard/templates/gcj.wiz.in
index 5020367..b1f57e2 100644
--- a/plugins/project-wizard/templates/gcj.wiz.in
+++ b/plugins/project-wizard/templates/gcj.wiz.in
@@ -21,12 +21,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -77,7 +72,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/gnome-shell-extension.wiz.in b/plugins/project-wizard/templates/gnome-shell-extension.wiz.in
index 5643c76..e0d1062 100644
--- a/plugins/project-wizard/templates/gnome-shell-extension.wiz.in
+++ b/plugins/project-wizard/templates/gnome-shell-extension.wiz.in
@@ -18,12 +18,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-substitute (string-downcase (get "Name")) " " "-")+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="string" name="Description" _label="Description:" _description="Long description of your plugin" default="[+Name+]" mandatory="yes"/>
 		<property type="string" name="UUID" _label="UUID:" _description="Uuid is a globally-unique identifier for your extension.
 This should be in the format of an email address (foo bar extensions example com), but
@@ -50,7 +45,7 @@ email address." default='[+(string-substitute (string->c-name! (get "Name")) " "
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 	</content>
 	
diff --git a/plugins/project-wizard/templates/gnome-shell-extension/src/extension.js b/plugins/project-wizard/templates/gnome-shell-extension/src/extension.js
index df9d1ab..45b179f 100755
--- a/plugins/project-wizard/templates/gnome-shell-extension/src/extension.js
+++ b/plugins/project-wizard/templates/gnome-shell-extension/src/extension.js
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
 /*
  * extension.js
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 const St = imports.gi.St;
 const Main = imports.ui.main;
diff --git a/plugins/project-wizard/templates/gtk.wiz.in b/plugins/project-wizard/templates/gtk.wiz.in
index 91b27f6..852c018 100644
--- a/plugins/project-wizard/templates/gtk.wiz.in
+++ b/plugins/project-wizard/templates/gtk.wiz.in
@@ -20,12 +20,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -75,7 +70,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/gtk/src/main.c b/plugins/project-wizard/templates/gtk/src/main.c
index b87632f..9269246 100644
--- a/plugins/project-wizard/templates/gtk/src/main.c
+++ b/plugins/project-wizard/templates/gtk/src/main.c
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <config.h>
 #include <gtk/gtk.h>
diff --git a/plugins/project-wizard/templates/gtkapplication.wiz.in b/plugins/project-wizard/templates/gtkapplication.wiz.in
index dfe7d80..dd8e1e5 100644
--- a/plugins/project-wizard/templates/gtkapplication.wiz.in
+++ b/plugins/project-wizard/templates/gtkapplication.wiz.in
@@ -20,12 +20,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -78,7 +73,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/gtkapplication/src/application.c b/plugins/project-wizard/templates/gtkapplication/src/application.c
index 8255ef8..1580b54 100644
--- a/plugins/project-wizard/templates/gtkapplication/src/application.c
+++ b/plugins/project-wizard/templates/gtkapplication/src/application.c
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * [+NameLower+].c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 #include "[+NameLower+].h"
 [+IF (=(get "HaveI18n") "1")+]
 #include <glib/gi18n.h>
diff --git a/plugins/project-wizard/templates/gtkapplication/src/application.h b/plugins/project-wizard/templates/gtkapplication/src/application.h
index 2758551..4327f5e 100644
--- a/plugins/project-wizard/templates/gtkapplication/src/application.h
+++ b/plugins/project-wizard/templates/gtkapplication/src/application.h
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * [+NameLower+].h
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #ifndef _[+NameCUpper+]_
 #define _[+NameCUpper+]_
diff --git a/plugins/project-wizard/templates/gtkmm.wiz.in b/plugins/project-wizard/templates/gtkmm.wiz.in
index d826eb5..61b76e8 100644
--- a/plugins/project-wizard/templates/gtkmm.wiz.in
+++ b/plugins/project-wizard/templates/gtkmm.wiz.in
@@ -20,12 +20,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -75,7 +70,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/gtkmm/src/main.cc b/plugins/project-wizard/templates/gtkmm/src/main.cc
index 1f69f6e..0273cf7 100644
--- a/plugins/project-wizard/templates/gtkmm/src/main.cc
+++ b/plugins/project-wizard/templates/gtkmm/src/main.cc
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * main.cc
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <gtkmm.h>
 #include <iostream>
diff --git a/plugins/project-wizard/templates/java.wiz.in b/plugins/project-wizard/templates/java.wiz.in
index 1c0a85c..1134a7b 100644
--- a/plugins/project-wizard/templates/java.wiz.in
+++ b/plugins/project-wizard/templates/java.wiz.in
@@ -21,12 +21,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -73,7 +68,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 	</content>
 	
diff --git a/plugins/project-wizard/templates/java/src/main.java b/plugins/project-wizard/templates/java/src/main.java
index 8b5814a..cb50e69 100644
--- a/plugins/project-wizard/templates/java/src/main.java
+++ b/plugins/project-wizard/templates/java/src/main.java
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * [+MainClass+].java
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 class [+MainClass+] {
     public static void main(String[] args) {
diff --git a/plugins/project-wizard/templates/js.wiz.in b/plugins/project-wizard/templates/js.wiz.in
index f7aea75..1aa67b8 100644
--- a/plugins/project-wizard/templates/js.wiz.in
+++ b/plugins/project-wizard/templates/js.wiz.in
@@ -18,12 +18,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -45,7 +40,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 	</content>
 	
diff --git a/plugins/project-wizard/templates/library.wiz.in b/plugins/project-wizard/templates/library.wiz.in
index 5115ca4..7f1489c 100644
--- a/plugins/project-wizard/templates/library.wiz.in
+++ b/plugins/project-wizard/templates/library.wiz.in
@@ -19,12 +19,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -77,7 +72,7 @@
 			[+ENDIF+]
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>
+			<file source="[+License+].txt" destination="COPYING"/>
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/library/src/lib.c b/plugins/project-wizard/templates/library/src/lib.c
index 7f0c8e4..acdb6b1 100644
--- a/plugins/project-wizard/templates/library/src/lib.c
+++ b/plugins/project-wizard/templates/library/src/lib.c
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * lib.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <stdio.h>
 
diff --git a/plugins/project-wizard/templates/library/src/lib.h b/plugins/project-wizard/templates/library/src/lib.h
index ac1c1b4..b01060a 100644
--- a/plugins/project-wizard/templates/library/src/lib.h
+++ b/plugins/project-wizard/templates/library/src/lib.h
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * lib.h
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 int [+NameCLower+]_func (void);
diff --git a/plugins/project-wizard/templates/licenses/Makefile.am b/plugins/project-wizard/templates/licenses/Makefile.am
index 61e9106..be60d12 100644
--- a/plugins/project-wizard/templates/licenses/Makefile.am
+++ b/plugins/project-wizard/templates/licenses/Makefile.am
@@ -1,9 +1,13 @@
 wizard_filesdir = $(anjuta_data_dir)/project/licenses
 wizard_files_DATA = \
-	BSD \
-	GPL \
-	LGPL \
-	None
+	gpl.txt \
+	gpl.tpl \
+	lgpl.txt \
+	lgpl.tpl \
+	bsd.txt \
+	bsd.tpl \
+	none.txt \
+	none.tpl
 EXTRA_DIST = $(wizard_files_DATA)
 
 -include $(top_srcdir)/git.mk
diff --git a/plugins/project-wizard/templates/licenses/bsd.tpl b/plugins/project-wizard/templates/licenses/bsd.tpl
new file mode 100644
index 0000000..73f9696
--- /dev/null
+++ b/plugins/project-wizard/templates/licenses/bsd.tpl
@@ -0,0 +1,26 @@
+[+ autogen5 template +]
+[+DEFINE LICENSE-DESCRIPTION \+]
+[+PFX+]Redistribution and use in source and binary forms, with or without
+[+PFX+]modification, are permitted provided that the following conditions
+[+PFX+]are met:
+[+PFX+]1. Redistributions of source code must retain the above copyright
+[+PFX+]   notice, this list of conditions and the following disclaimer.
+[+PFX+]2. Redistributions in binary form must reproduce the above copyright
+[+PFX+]   notice, this list of conditions and the following disclaimer in the
+[+PFX+]   documentation and/or other materials provided with the distribution.
+[+PFX+]3. Neither the name ``[+OWNER+]'' nor the name of any other
+[+PFX+]   contributor may be used to endorse or promote products derived
+[+PFX+]   from this software without specific prior written permission.
+[+PFX+]
+[+PFX+][+PROGRAM+] IS PROVIDED BY [+OWNER+] ``AS IS'' AND ANY EXPRESS
+[+PFX+]OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+[+PFX+]WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+[+PFX+]ARE DISCLAIMED.  IN NO EVENT SHALL [+OWNER+] OR ANY OTHER CONTRIBUTORS
+[+PFX+]BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+[+PFX+]CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+[+PFX+]SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+[+PFX+]BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+[+PFX+]WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+[+PFX+]OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+[+PFX+]ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+[+ENDDEF\+]
diff --git a/plugins/project-wizard/templates/licenses/BSD b/plugins/project-wizard/templates/licenses/bsd.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/BSD
rename to plugins/project-wizard/templates/licenses/bsd.txt
diff --git a/plugins/project-wizard/templates/licenses/gpl.tpl b/plugins/project-wizard/templates/licenses/gpl.tpl
new file mode 100644
index 0000000..fb46bca
--- /dev/null
+++ b/plugins/project-wizard/templates/licenses/gpl.tpl
@@ -0,0 +1,15 @@
+[+ autogen5 template +]
+[+DEFINE LICENSE-DESCRIPTION \+]
+[+PFX+][+PROGRAM+] is free software: you can redistribute it and/or modify it
+[+PFX+]under the terms of the GNU General Public License as published by the
+[+PFX+]Free Software Foundation, either version 3 of the License, or
+[+PFX+](at your option) any later version.
+[+PFX+]
+[+PFX+][+PROGRAM+] is distributed in the hope that it will be useful, but
+[+PFX+]WITHOUT ANY WARRANTY; without even the implied warranty of
+[+PFX+]MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[+PFX+]See the GNU General Public License for more details.
+[+PFX+]
+[+PFX+]You should have received a copy of the GNU General Public License along
+[+PFX+]with this program.  If not, see <http://www.gnu.org/licenses/>.
+[+ENDDEF\+]
diff --git a/plugins/project-wizard/templates/licenses/GPL b/plugins/project-wizard/templates/licenses/gpl.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/GPL
rename to plugins/project-wizard/templates/licenses/gpl.txt
diff --git a/plugins/project-wizard/templates/licenses/lgpl.tpl b/plugins/project-wizard/templates/licenses/lgpl.tpl
new file mode 100644
index 0000000..e1bdb68
--- /dev/null
+++ b/plugins/project-wizard/templates/licenses/lgpl.tpl
@@ -0,0 +1,15 @@
+[+ autogen5 template +]
+[+DEFINE LICENSE-DESCRIPTION \+]
+[+PFX+][+PROGRAM+] is free software: you can redistribute it and/or modify it
+[+PFX+]under the terms of the GNU Lesser General Public License as published
+[+PFX+]by the Free Software Foundation, either version 3 of the License, or
+[+PFX+](at your option) any later version.
+[+PFX+]
+[+PFX+][+PROGRAM+] is distributed in the hope that it will be useful, but
+[+PFX+]WITHOUT ANY WARRANTY; without even the implied warranty of
+[+PFX+]MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+[+PFX+]See the GNU Lesser General Public License for more details.
+[+PFX+]
+[+PFX+]You should have received a copy of the GNU Lesser General Public License
+[+PFX+]along with this program.  If not, see <http://www.gnu.org/licenses/>.";
+[+ENDDEF\+]
diff --git a/plugins/project-wizard/templates/licenses/LGPL b/plugins/project-wizard/templates/licenses/lgpl.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/LGPL
rename to plugins/project-wizard/templates/licenses/lgpl.txt
diff --git a/plugins/project-wizard/templates/licenses/none.tpl b/plugins/project-wizard/templates/licenses/none.tpl
new file mode 100644
index 0000000..8f4676e
--- /dev/null
+++ b/plugins/project-wizard/templates/licenses/none.tpl
@@ -0,0 +1,3 @@
+[+ autogen5 template +]
+[+DEFINE LICENSE-DESCRIPTION \+]
+[+ENDDEF\+]
diff --git a/plugins/project-wizard/templates/licenses/None b/plugins/project-wizard/templates/licenses/none.txt
similarity index 100%
rename from plugins/project-wizard/templates/licenses/None
rename to plugins/project-wizard/templates/licenses/none.txt
diff --git a/plugins/project-wizard/templates/minimal.wiz.in b/plugins/project-wizard/templates/minimal.wiz.in
index 8575a83..6b9fa83 100644
--- a/plugins/project-wizard/templates/minimal.wiz.in
+++ b/plugins/project-wizard/templates/minimal.wiz.in
@@ -19,12 +19,7 @@
 
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type='directory' name='Destination' _label='Destination:' _description='' default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory='yes' exist='no' summary='yes'/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -54,7 +49,7 @@
 			</directory>
 	  	</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/pygtk.wiz.in b/plugins/project-wizard/templates/pygtk.wiz.in
index 58be8b9..925c5ea 100644
--- a/plugins/project-wizard/templates/pygtk.wiz.in
+++ b/plugins/project-wizard/templates/pygtk.wiz.in
@@ -22,12 +22,7 @@
 
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -80,7 +75,7 @@
 		</directory>
 
 	    <directory source="licenses" destination="[+Destination+]">
-		    <file source="[+License+]" destination="COPYING"/>	
+		    <file source="[+License+].txt" destination="COPYING"/>	
 	    </directory>
     </content>
 
diff --git a/plugins/project-wizard/templates/pygtk/src/main.py b/plugins/project-wizard/templates/pygtk/src/main.py
index 26c4d27..89e6d19 100644
--- a/plugins/project-wizard/templates/pygtk/src/main.py
+++ b/plugins/project-wizard/templates/pygtk/src/main.py
@@ -1,14 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 #!/usr/bin/python
 #
 # main.py
-# Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+# Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
 # 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") "# ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "# ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                "# ")+]
-[+ESAC+]
+[+INVOKE LICENSE-DESCRIPTION PFX="# " PROGRAM=(get "Name") OWNER=(get "Author") \+]
 
 from gi.repository import Gtk, GdkPixbuf, Gdk
 import os, sys
diff --git a/plugins/project-wizard/templates/python.wiz.in b/plugins/project-wizard/templates/python.wiz.in
index f461823..7f40729 100644
--- a/plugins/project-wizard/templates/python.wiz.in
+++ b/plugins/project-wizard/templates/python.wiz.in
@@ -20,12 +20,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -73,7 +68,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 	</content>
 	
diff --git a/plugins/project-wizard/templates/python/src/main.py b/plugins/project-wizard/templates/python/src/main.py
index 150432d..2c05af1 100644
--- a/plugins/project-wizard/templates/python/src/main.py
+++ b/plugins/project-wizard/templates/python/src/main.py
@@ -1,13 +1,10 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 #!/usr/bin/python
 #
 # main.py
-# Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+# Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
 # 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") "# ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "# ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                "# ")+]
-[+ESAC+]
+[+INVOKE LICENSE-DESCRIPTION PFX="# " PROGRAM=(get "Name") OWNER=(get "Author") \+]
 
 print "Hello World!"
diff --git a/plugins/project-wizard/templates/sdl.wiz.in b/plugins/project-wizard/templates/sdl.wiz.in
index 58c326c..2d67c05 100644
--- a/plugins/project-wizard/templates/sdl.wiz.in
+++ b/plugins/project-wizard/templates/sdl.wiz.in
@@ -24,12 +24,7 @@
 		<property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
 		<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"/>
 		<property type="string" name="SDL_Version" _label="Require SDL version:" _description="Mininum SDL version required" default="1.2.0"/>
@@ -66,7 +61,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/sdl/src/main.c b/plugins/project-wizard/templates/sdl/src/main.c
index 57c68ca..0af7962 100644
--- a/plugins/project-wizard/templates/sdl/src/main.c
+++ b/plugins/project-wizard/templates/sdl/src/main.c
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 /*Program closes with a mouse click or keypress */
 
diff --git a/plugins/project-wizard/templates/terminal.wiz.in b/plugins/project-wizard/templates/terminal.wiz.in
index 4c77c86..9adbde3 100644
--- a/plugins/project-wizard/templates/terminal.wiz.in
+++ b/plugins/project-wizard/templates/terminal.wiz.in
@@ -19,12 +19,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -64,7 +59,7 @@
 			[+ENDIF+]
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/terminal/src/main.c b/plugins/project-wizard/templates/terminal/src/main.c
index 5f7e469..8283a5b 100644
--- a/plugins/project-wizard/templates/terminal/src/main.c
+++ b/plugins/project-wizard/templates/terminal/src/main.c
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #include <stdio.h>
 int main()
diff --git a/plugins/project-wizard/templates/vala-gtk.wiz.in b/plugins/project-wizard/templates/vala-gtk.wiz.in
index d1f03c2..a742961 100644
--- a/plugins/project-wizard/templates/vala-gtk.wiz.in
+++ b/plugins/project-wizard/templates/vala-gtk.wiz.in
@@ -21,12 +21,7 @@
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
 		<property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
@@ -67,7 +62,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 	</content>
 
diff --git a/plugins/project-wizard/templates/vala-gtk/src/main.vala b/plugins/project-wizard/templates/vala-gtk/src/main.vala
index a82c454..5a12c98 100644
--- a/plugins/project-wizard/templates/vala-gtk/src/main.vala
+++ b/plugins/project-wizard/templates/vala-gtk/src/main.vala
@@ -1,14 +1,12 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
  * 
-[+CASE (get "License") +]
-[+ == "BSD"  +][+(bsd  (get "Name") (get "Author") " * ")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") " * ")+]
-[+ == "GPL"  +][+(gpl  (get "Name")                " * ")+]
-[+ESAC+] */
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 using GLib;
 using Gtk;
diff --git a/plugins/project-wizard/templates/wxwin.wiz.in b/plugins/project-wizard/templates/wxwin.wiz.in
index ca46812..691eb82 100644
--- a/plugins/project-wizard/templates/wxwin.wiz.in
+++ b/plugins/project-wizard/templates/wxwin.wiz.in
@@ -23,12 +23,7 @@
 		<property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<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"/>
 		<property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
 		<property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
@@ -65,7 +60,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/wxwin/src/main.cc b/plugins/project-wizard/templates/wxwin/src/main.cc
index 987f331..e96115f 100644
--- a/plugins/project-wizard/templates/wxwin/src/main.cc
+++ b/plugins/project-wizard/templates/wxwin/src/main.cc
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * main.cc
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
diff --git a/plugins/project-wizard/templates/xlib-dock.wiz.in b/plugins/project-wizard/templates/xlib-dock.wiz.in
index 6bf706d..81275d8 100644
--- a/plugins/project-wizard/templates/xlib-dock.wiz.in
+++ b/plugins/project-wizard/templates/xlib-dock.wiz.in
@@ -26,12 +26,7 @@
 		<property type="hidden" name="HavePackage" default="1"/>
 		<property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
 		<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"/>
 		<property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
@@ -74,7 +69,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/xlib-dock/src/main.c b/plugins/project-wizard/templates/xlib-dock/src/main.c
index 18bc6e4..4459526 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/main.c
+++ b/plugins/project-wizard/templates/xlib-dock/src/main.c
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
diff --git a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
index 06b5e17..a05bda5 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
+++ b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.c
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * wmgeneral.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 /*	wmgeneral was taken from wmppp.
 
diff --git a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
index 09daf21..7c86a64 100644
--- a/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
+++ b/plugins/project-wizard/templates/xlib-dock/src/wmgeneral.h
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * wmgeneral.h
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 #ifndef WMGENERAL_H_INCLUDED
 #define WMGENERAL_H_INCLUDED
diff --git a/plugins/project-wizard/templates/xlib.wiz.in b/plugins/project-wizard/templates/xlib.wiz.in
index a75abe2..aa66afb 100644
--- a/plugins/project-wizard/templates/xlib.wiz.in
+++ b/plugins/project-wizard/templates/xlib.wiz.in
@@ -26,12 +26,7 @@
 		<property type="hidden" name="HavePackage" default="1"/>
 		<property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
 		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
-		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
-			<item name="GPL" _label="General Public License (GPL)"/>
-			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
-			<item name="BSD" _label="Berkeley Software Distribution License (BSD)"/>
-			<item name="None" _label="No license"/>
-		</property>
+		[+INCLUDE "licenses.tpl"+]
 		<property type="boolean" name="HaveLangCPP" _label="Add C++ support:" _description="Adds C++ support to the project so that C++ source files can be built" default="0"/>
 		<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"/>
 		<property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
@@ -69,7 +64,7 @@
 			</directory>
 		</directory>
 		<directory source="licenses" destination="[+Destination+]">
-			<file source="[+License+]" destination="COPYING"/>	
+			<file source="[+License+].txt" destination="COPYING"/>	
 		</directory>
 		<directory source="minimal" destination="[+Destination+]">
 			<directory source="." destination=".anjuta">
diff --git a/plugins/project-wizard/templates/xlib/src/main.c b/plugins/project-wizard/templates/xlib/src/main.c
index d154660..8d3c2a7 100644
--- a/plugins/project-wizard/templates/xlib/src/main.c
+++ b/plugins/project-wizard/templates/xlib/src/main.c
@@ -1,13 +1,11 @@
 [+ autogen5 template +]
+[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
 /*
  * main.c
- * Copyright (C) [+Author+] [+(shell "date +%Y")+] <[+Email+]>
- *
-[+CASE (get "License") +]
-[+ == "BSD" +][+(bsd (get "Name") (get "Author") "\t")+]
-[+ == "LGPL" +][+(lgpl (get "Name") (get "Author") "\t")+]
-[+ == "GPL" +][+(gpl (get "Name")  "\t")+]
-[+ESAC+] */
+ * Copyright (C) [+(shell "date +%Y")+] [+Author+] <[+Email+]>
+ * 
+[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "Name") OWNER=(get "Author") \+]
+ */
 
 /*Program closes with a mouse click or keypress */
 
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9ea4bad..ad100ac 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -224,6 +224,7 @@ plugins/project-wizard/property.c
 [type: gettext/xml]plugins/project-wizard/templates/wxwin.wiz.in
 [type: gettext/xml]plugins/project-wizard/templates/xlib-dock.wiz.in
 [type: gettext/xml]plugins/project-wizard/templates/xlib.wiz.in
+[type: gettext/xml]plugins/project-wizard/templates/licenses.tpl.in
 [type: gettext/ini]plugins/run-program/anjuta-run-program.plugin.in
 [type: gettext/glade]plugins/run-program/anjuta-run-program.ui
 plugins/run-program/execute.c



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]