--- velocity-1.6.2.orig/debian/velocity-doc.doc-base.2
+++ velocity-1.6.2/debian/velocity-doc.doc-base.2
@@ -0,0 +1,11 @@
+Document: velocity2
+Title: Documentation for velocity
+Author: The Apache Velocity Development Team
+Abstract: This is the manual of Velocity, a Java-based template engine.
+ It permits anyone to use the simple yet powerful template language to 
+ reference objects defined in Java code.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/velocity-doc/index.html
+Files: /usr/share/doc/velocity-doc/*.html
--- velocity-1.6.2.orig/debian/velocity-doc.examples
+++ velocity-1.6.2/debian/velocity-doc.examples
@@ -0,0 +1,7 @@
+examples/README.txt
+examples/app_example1
+examples/app_example2
+examples/logger_example
+examples/xmlapp_example
+examples/event_example
+examples/context_example
--- velocity-1.6.2.orig/debian/control
+++ velocity-1.6.2/debian/control
@@ -0,0 +1,47 @@
+Source: velocity
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Arnaud Vandyck <avdyk@debian.org>, Wolfgang Baer <WBaer@gmx.de>,
+ Ludovic Claude <ludovic.claude@laposte.net>
+Build-Depends: debhelper (>= 6), cdbs, default-jdk, quilt
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 5), ant, ant-optional, 
+ junit, libexcalibur-logkit-java, libservlet2.5-java, 
+ liblog4j1.2-java, libjdom1-java, libcommons-lang-java, libcommons-collections3-java, libcommons-logging-java,
+ libwerken.xpath-java, liboro-java, default-jdk-doc
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/velocity
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/velocity
+Homepage: http://velocity.apache.org/
+
+Package: velocity
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, 
+ libcommons-lang-java, libcommons-collections3-java, liboro-java
+Recommends: libcommons-logging-java, libexcalibur-logkit-java, liblog4j1.2-java, 
+ libservlet2.5-java, libjdom1-java, libwerken.xpath-java, libxerces2-java
+Suggests: velocity-doc, ant
+Description: Java-based template engine for web application
+ Velocity is a Java-based template engine. It permits anyone to use
+ the simple yet powerful template language to reference objects
+ defined in Java code.
+ When Velocity is used for web development, Web designers can work in
+ parallel with Java programmers to develop web sites according to the
+ Model-View-Controller (MVC) model, meaning that web page designers
+ can focus solely on creating a site that looks good, and programmers
+ can focus solely on writing top-notch code. Velocity separates Java
+ code from the web pages, making the web site more maintainable over
+ the long run and providing a viable alternative to Java Server Pages
+ (JSPs) or PHP.
+
+Package: velocity-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: velocity
+Description: Documentation for velocity
+ Velocity is a Java-based template engine which is useful to develop 
+ Model-View-Controller (MVC) model web application. It permits anyone 
+ to use the simple yet powerful template language to reference objects
+ defined in Java code. This package provides documents and examples for 
+ velocity.
--- velocity-1.6.2.orig/debian/README.source
+++ velocity-1.6.2/debian/README.source
@@ -0,0 +1,9 @@
+Patch System
+============
+
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
--- velocity-1.6.2.orig/debian/build.properties
+++ velocity-1.6.2/debian/build.properties
@@ -0,0 +1,7 @@
+maven.test.skip=true
+build.directory=target
+build.sourceDirectory=src/java
+build.resourcesDirectory=src/resources
+build.testSourceDirectory=src/test
+javadoc.dir=target/docs/api
+manifest=debian/MANIFEST.MF
--- velocity-1.6.2.orig/debian/changelog
+++ velocity-1.6.2/debian/changelog
@@ -0,0 +1,185 @@
+velocity (1.6.2-4) unstable; urgency=low
+
+  [ Onkar Shinde ]
+  * Replace build-dep openjdk-6-jdk with default-jdk. Adjust JAVA_HOME in rules
+    file accordingly.
+  * Replace openjdk-6-doc with default-jdk-doc. (Closes: #567293)
+  * Replace build/runtime dep liblogkit-java with libexcalibur-logkit-java.
+    Adjust DEB_JARS in rules file accordingly.
+  * debian/patches/build.patch - Update to add 'Class-Path' attribute in
+    manifest file with appropriate list of jar files.
+  * debian/patches/fix_example_scripts.patch - New patch to fix shebang lines
+    in example scripts. Fixes lintian warnings.
+
+ -- Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>  Sun, 07 Mar 2010 16:00:47 +0530
+
+velocity (1.6.2-3) unstable; urgency=low
+
+  * Bump up Standards-Version to 3.8.3
+     - add debian/README.source
+  * Add Build-Depends on openjdk-6-doc (Closes: #543106)
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Wed, 02 Sep 2009 22:34:33 +0100
+
+velocity (1.6.2-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 09 Aug 2009 23:51:24 +0200
+
+velocity (1.6.2-1) experimental; urgency=low
+
+  * New upstream version, add myself to Uploaders
+  * Change section to java, bump up Standards-Version to 3.8.2
+  * Bump up debhelper to 6
+  * Move debhelper and cdbs from Build-Depends-Indep to Build-Depends to
+    clear Lintian error
+  * Use openjdk-6-jdk instead of kaffe for the build
+  * Use default-jre-headless | java1-runtime-headless | java2-runtime-headless 
+    instead of kaffe | java1-runtime | java2-runtime for velocity Depends: 
+  * Update from libjdom0-java to libjdom1-java (Closes: #500536)
+  * Update from libcommons-collections-java to libcommons-collections3-java
+  * Add quilt to Build-Depends and use it to patch build.xml file to avoid
+    downloading jar files from the internet while building the documentation
+  * Add a dependency on libcommons-lang-java, libcommons-logging-java, 
+    liboro-java
+  * Update from libservlet2.3-java to libservlet2.5-java
+  * Move liblogkit-java, liblog4j1.2-java, libservlet2.5-java,
+    libwerken.xpath-java from Depends to Recommends
+  * Move ant from Depends to Suggest (Closes: #532640)
+  * Create a antlib definition for the tasks anakia and texen, and add 
+    the classpath information to the manifest in velocity.jar . This 
+    removes the need to install jar links under /usr/share/ant/lib, which 
+    have been removed. (Closes: #506018)
+  * Add watch file
+  * Remove all patches as they don't apply anymore and seem irrelevent now
+  * Add the Maven POM to the package,
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * Use mh_installpom and mh_installjar to install the POM and the jar to the
+    Maven repository
+  * Disable the user docs as it requires the use of a Maven plugin to generate 
+    them. Put the old control files in debian/old folder
+  * Remove the full text of the Apache 2.0 license
+  * Fix some Lintian warnings: add ${misc:Depends}, add copyright notice.
+  * Add Vcs-* fields and Homepage
+
+  [ Emmanuel Bourg and Sylvestre Ledru]
+  * Update of the URLs
+  * Rename Jakarta Commons to Apache Commons
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Tue, 07 Jul 2009 13:24:03 +0100
+
+velocity (1.4-5) unstable; urgency=low
+
+  * Removed Takashi Okamoto from the uploaders (closes: #352993).
+
+ -- Arnaud Vandyck <avdyk@debian.org>  Tue, 25 Apr 2006 23:01:27 +0200
+
+velocity (1.4-4) unstable; urgency=low
+
+  * kaffe compiler transition (closes: #350694)
+  * (avdyk) I commented the test target because I have problems running
+    the tests with kaffe on powerpc
+
+ -- Wolfgang Baer <WBaer@gmx.de>  Mon, 16 Jan 2006 15:10:48 +0100
+
+velocity (1.4-3) unstable; urgency=low
+
+  * Changed to depend on ant instead of libant1.6-java
+  * Added ant-optional to build-deps due to ant reorganization
+  * Registered javadoc api and manual with doc-base
+
+ -- Wolfgang Baer <WBaer@gmx.de>  Tue, 04 Oct 2005 20:11:51 +0200
+
+velocity (1.4-2) unstable; urgency=low
+
+  * Changed libant1.6-java build-dep to ant
+  * Standards-Version: 3.6.2 (no changes required)
+  * Changed libxerces-java dep to libxerces2-java
+  * Removed libcrimson-java alternative
+
+  * Upload sponsored by Arnaud Vandyck
+
+ -- Wolfgang Baer <WBaer@gmx.de>  Tue, 16 Aug 2005 22:17:07 +0200
+
+velocity (1.4-1) unstable; urgency=low
+
+  * New upstream release (closes: #245492)
+  * Upstream license has changed to Apache Software License 2.0
+  * Build system changed to cdbs with kaffe, jikes, gjdoc
+  * Move to main as werken.xpath is now in main
+  * Enabled junit tests during build
+    + patched VelocityServletTest to compile against libservlet2.3-java
+    + patched testcases.xml ant build file for runtime libraries
+  * Modified build.xml (04_buildxml.patch)
+    + Set javac target=1.3 to support JDK 1.3 vm's
+    + Excluded test files from jar and javadoc
+  * Disabled compilation of examples - only ship source
+  * Standards-Version: 3.6.1 (no changes required)
+
+ -- Wolfgang Baer <WBaer@gmx.de>  Tue, 19 Apr 2005 20:26:02 +0200
+
+velocity (1.3.1-2) unstable; urgency=low
+
+  * fixed FTBFS (Closes: #299301)
+  * adjusted jdom dependency to libjdom0-java
+  * changed maintainer to Debian Java Maintainers as
+    requested by Takashi Okamoto for comaintaining
+  * avdyk: added Wolfgang and myself as uploaders
+
+ -- Wolfgang Baer <WBaer@gmx.de>  Mon, 14 Mar 2005 19:50:14 +0100
+
+velocity (1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Takashi Okamoto <tora@debian.org>  Sat, 23 Aug 2003 22:36:32 +0900
+
+velocity (1.3+1.3.1rc2-1) unstable; urgency=low
+
+  * new upstread release.
+
+ -- Takashi Okamoto <tora@debian.org>  Sat, 31 Aug 2002 10:45:41 +0900
+
+velocity (1.2-2) unstable; urgency=low
+
+  * fixed the documentation bug in control file.(Closes: #125454)
+
+ -- Takashi Okamoto <tora@debian.org>  Wed, 19 Dec 2001 16:24:44 +0900
+
+velocity (1.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Takashi Okamoto <tora@debian.org>  Thu, 13 Dec 2001 13:07:39 +0900
+
+velocity (1.1.99rc3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Takashi Okamoto <tora@debian.org>  Wed, 28 Nov 2001 23:52:23 +0900
+
+velocity (1.1-3) unstable; urgency=low
+
+  * add suggests.
+  * add depend for avalon logkit.
+
+ -- Takashi Okamoto <tora@debian.org>  Thu, 27 Sep 2001 20:05:57 +0900
+
+velocity (1.1-2) unstable; urgency=low
+
+  * uncompressed examples *.java
+  * fixed dependency problem.
+  * fixed and improved bugs (closes: #109567,#109563,#109588)
+
+ -- Takashi Okamoto <tora@debian.org>  Thu, 23 Aug 2001 11:13:57 +0900
+
+velocity (1.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Takashi Okamoto <tora@debian.org>  Wed, 15 Aug 2001 08:57:18 +0900
+
+Local variables:
+mode: debian-changelog
+End:
--- velocity-1.6.2.orig/debian/MANIFEST.MF
+++ velocity-1.6.2/debian/MANIFEST.MF
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.7.1
+Created-By: 14.0-b08 (Sun Microsystems Inc.)
+Class-Path: /usr/share/java/jdom1.jar /usr/share/java/commons-collections3.jar 
+  /usr/share/java/logkit.jar /usr/share/java/werken.xpath.jar 
+  /usr/share/java/commons-lang.jar /usr/share/java/commons-logging.jar
+
--- velocity-1.6.2.orig/debian/velocity-doc.docs
+++ velocity-1.6.2/debian/velocity-doc.docs
@@ -0,0 +1,5 @@
+target/docs/api
+target/docs/*.html
+target/docs/*.css
+target/docs/images
+target/docs/translations
--- velocity-1.6.2.orig/debian/velocity.poms
+++ velocity-1.6.2/debian/velocity.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
--- velocity-1.6.2.orig/debian/velocity-doc.doc-base.1
+++ velocity-1.6.2/debian/velocity-doc.doc-base.1
@@ -0,0 +1,11 @@
+Document: velocity1
+Title: Programmer API for velocity
+Author: The Apache Velocity Development Team
+Abstract: This is the javadoc API of Velocity, a Java-based template engine.
+ It permits anyone to use the simple yet powerful template language to 
+ reference objects defined in Java code.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/velocity-doc/api/index.html
+Files: /usr/share/doc/velocity-doc/api/*.html
--- velocity-1.6.2.orig/debian/rules
+++ velocity-1.6.2/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# debian/rules for velocity (uses CDBS)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps junit excalibur-logkit servlet-api-2.5 log4j-1.2 commons-lang commons-collections3 commons-logging werken.xpath bcel oro jdom1 antlr
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION)
+
+clean::
+	-rm -rf debian/tmp
+
+makebuilddir/velocity::
+	# install the resources in a separate directory (src/resources) to please the Maven-like build
+	install -d src/resources/org/apache/velocity/runtime/defaults
+	install -m 644 src/java/org/apache/velocity/runtime/defaults/directive.properties src/resources/org/apache/velocity/runtime/defaults/directive.properties
+	install -m 644 src/java/org/apache/velocity/runtime/defaults/velocity.properties src/resources/org/apache/velocity/runtime/defaults/velocity.properties
+	install -m 644 debian/antlib.xml src/resources/org/apache/velocity/antlib.xml
+
+build/velocity-doc::
+	cd $(DEB_BUILDDIR) && $(JAVACMD) -classpath $(DEB_CLASSPATH) \
+		 $(ANT_OPTS) -Dant.home=$(ANT_HOME) -Dbuild.docs=target/docs \
+		 org.apache.tools.ant.Main -buildfile $(CURDIR)/build/build.xml docs
+
+install/velocity::
+	mh_installpoms -p$(PACKAGE)
+	mh_installjar -p$(PACKAGE) -l pom.xml target/$(PACKAGE)-$(VERSION).jar
+	install -m 644 src/java/org/apache/velocity/runtime/defaults/velocity.properties debian/velocity/etc/velocity
+
+get-orig-source:
+	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
--- velocity-1.6.2.orig/debian/watch
+++ velocity-1.6.2/debian/watch
@@ -0,0 +1,4 @@
+version=3
+http://svn.apache.org/repos/asf/velocity/engine/tags/ \
+  ([1-9].*)/ debian debian/orig-tar.sh
+
--- velocity-1.6.2.orig/debian/README.Debian
+++ velocity-1.6.2/debian/README.Debian
@@ -0,0 +1,39 @@
+velocity for Debian
+-------------------
+
+velocity.jar is installed to /usr/share/java. Please set CLASSPATH to
+following files:
+	/usr/share/java/xercesImpl.jar
+	/usr/share/java/jdom0.jar
+	/usr/share/java/logkit.jar
+	/usr/share/java/log4j-1.2.jar
+	/usr/share/java/commons-collections.jar
+	/usr/share/java/velocity.jar
+
+Their symlinks are created to /usr/share/ant/lib.
+
+ -- Takashi Okamoto <tora@debian.org>, Wed, 15 Aug 2001 08:57:18 +0900
+
+velocity.jar provides the following Ant tasks: anakia and texen.
+Those Ant tasks are made available under the following Antlib namespace:
+xmlns:velocity="antlib:org.apache.velocity"
+
+The following project is an example using the anakia task:
+
+<project name="myproject" xmlns:velocity="antlib:org.apache.velocity">
+
+  <taskdef uri="antlib:org.apache.velocity" classpath="/usr/share/java/velocity.jar" />
+
+  <!-- example use of the anakia task -->
+  <velocity:anakia basedir="xdocs/docs" destdir="build/docs"
+         extension=".html" style="site.vsl"
+         projectFile="../stylesheets/project.xml"
+         includes="**/*.xml"
+         lastModifiedCheck="true"
+         templatePath="xdocs/stylesheets">
+    </velocity:anakia>
+</project>
+
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Tue, 07 Jul 2009 13:24:03 +0100
+
--- velocity-1.6.2.orig/debian/orig-tar.sh
+++ velocity-1.6.2/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../velocity_$VERSION.orig.tar.gz
+DIR=velocity-$VERSION
+TAG=$2
+
+svn export http://svn.apache.org/repos/asf/velocity/engine/tags/$TAG $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
--- velocity-1.6.2.orig/debian/antlib.xml
+++ velocity-1.6.2/debian/antlib.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<antlib>
+   <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask" />
+   <taskdef name="texen" classname="org.apache.velocity.texen.ant.TexenTask" />
+</antlib>
+
--- velocity-1.6.2.orig/debian/maven.rules
+++ velocity-1.6.2/debian/maven.rules
@@ -0,0 +1,7 @@
+commons-collections commons-collections jar s/3\..*/3.x/
+s/jdom/org.jdom/ jdom jar s/1\..*/debian/
+s/ant/org.apache.ant/ * * s/.*/debian/
+log4j log4j jar s/1\.2\..*/1.2.x/
+junit junit jar s/3\..*/3.x/
+# force using servlet 2.5
+javax.servlet * * s/.*/2.5/
--- velocity-1.6.2.orig/debian/copyright
+++ velocity-1.6.2/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Takashi Okamoto <tora@debian.org> on
+Wed, 15 Aug 2001 08:57:18 +0900. The new upstream release which changes
+the license to the Apache Software License, Version 2.0 was debianized
+by Wolfgang Baer <WBaer@gmx.de> on Sun, 20 Mar 2005 13:59:13 +0100.
+
+It was downloaded from <http://velocity.apache.org>
+
+Upstream Authors:	Jason van Zyl 	jvanzyl@periapt.com
+			Jon S. Stevens  jon@latchkey.com
+			Daniel L.     	dlr@collab.net
+			Rall Dave Bryson dave@miceda-data.com
+			Josh Lucas    	josh@stonecottage.com
+			Bob McWhirter 	bob@werken.com
+			Terence Parr  	parrt@jguru.com
+			Geir Magnusson Jr. geirm@optonline.net
+			John Castura  	jcastura@kw.igs.net              
+			Leon Messerschmidt leon@opticode.co.za      
+
+Copyright: 2001-2009 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+The full text of the license can be found in
+'/usr/share/common-licenses/Apache-2.0'.
--- velocity-1.6.2.orig/debian/dirs
+++ velocity-1.6.2/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/ant/lib
+usr/share/java
+etc/velocity
--- velocity-1.6.2.orig/debian/maven.publishedRules
+++ velocity-1.6.2/debian/maven.publishedRules
@@ -0,0 +1 @@
+s/velocity/org.apache.velocity/ * * s/.*/debian/
--- velocity-1.6.2.orig/debian/compat
+++ velocity-1.6.2/debian/compat
@@ -0,0 +1 @@
+6
--- velocity-1.6.2.orig/debian/patches/build.patch
+++ velocity-1.6.2/debian/patches/build.patch
@@ -0,0 +1,56 @@
+Index: velocity-1.6.2/build/build.xml
+===================================================================
+--- velocity-1.6.2.orig/build/build.xml	2009-01-22 03:36:59.000000000 +0530
++++ velocity-1.6.2/build/build.xml	2010-03-17 11:06:23.000000000 +0530
+@@ -139,12 +139,18 @@
+   <!-- sets up the build environment (classpath and libs)                  -->
+   <!-- =================================================================== -->
+   <target name="build-prepare">
+-    <ant antfile="${velocity.build.dir}/download.xml" target="build-download" />
+ 
+     <!-- Build classpath -->
+     <path id="velocity.build.classpath">
+-      <fileset dir="${build.lib}">
+-        <include name="**/*.jar"/>
++      <fileset dir="/usr/share/java">
++        <include name="logkit.jar"/>
++        <include name="commons-collections3.jar"/>
++        <include name="commons-lang.jar"/>
++        <include name="commons-logging.jar"/>
++        <include name="jdom1.jar"/>
++        <include name="log4j-1.2.jar"/>
++        <include name="oro.jar"/>
++        <include name="werken.xpath.jar"/>
+       </fileset>
+     </path>
+ 
+@@ -463,6 +469,7 @@
+         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+         <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
+         <attribute name="Implementation-Version" value="${version}"/>
++        <attribute name="Class-Path" value="excalibur-logkit.jar servlet-api-2.5.jar log4j-1.2.jar jdom1.jar commons-lang.jar commons-collections3.jar commons-logging.jar werken.xpath.jar oro.jar"/>
+       </manifest>
+     </jar>
+     <checksum file="${build.dir}/${jarname}.jar" algorithm="md5" property="checksum.jar.md5"/>
+@@ -918,7 +925,7 @@
+   <!-- Make HTML version of Velocity documentation                         -->
+   <!-- =================================================================== -->
+ 
+-  <target name="docs" depends="build-prepare,jar"
++  <target name="docs" depends="build-prepare"
+           description="Generates the Velocity HTML documentation">
+ 
+     <taskdef name="anakia"
+Index: velocity-1.6.2/build/build.properties
+===================================================================
+--- velocity-1.6.2.orig/build/build.properties	2009-01-19 00:49:20.000000000 +0530
++++ velocity-1.6.2/build/build.properties	2010-03-17 10:56:19.000000000 +0530
+@@ -35,7 +35,7 @@
+ 
+ velocity.build.dir= build
+ 
+-build.dir= ${velocity.dir}/bin
++build.dir= ${velocity.dir}/target
+ 
+ # The source tree runs through a filter copy task to
+ # allow substitution of version, date etc. and will
--- velocity-1.6.2.orig/debian/patches/fix_example_scripts.patch
+++ velocity-1.6.2/debian/patches/fix_example_scripts.patch
@@ -0,0 +1,50 @@
+Index: velocity-1.6.2/examples/app_example1/example.sh
+===================================================================
+--- velocity-1.6.2.orig/examples/app_example1/example.sh	2010-03-17 12:11:15.000000000 +0530
++++ velocity-1.6.2/examples/app_example1/example.sh	2010-03-17 12:11:50.000000000 +0530
+@@ -1,4 +1,4 @@
+-# !/bin/sh
++#!/bin/sh
+ 
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+Index: velocity-1.6.2/examples/app_example2/example2.sh
+===================================================================
+--- velocity-1.6.2.orig/examples/app_example2/example2.sh	2010-03-17 12:11:15.000000000 +0530
++++ velocity-1.6.2/examples/app_example2/example2.sh	2010-03-17 12:11:59.000000000 +0530
+@@ -1,4 +1,4 @@
+-# !/bin/sh
++#!/bin/sh
+ 
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+Index: velocity-1.6.2/examples/context_example/dbcontexttest.sh
+===================================================================
+--- velocity-1.6.2.orig/examples/context_example/dbcontexttest.sh	2010-03-17 12:11:14.000000000 +0530
++++ velocity-1.6.2/examples/context_example/dbcontexttest.sh	2010-03-17 12:11:31.000000000 +0530
+@@ -1,4 +1,4 @@
+-# !/bin/sh
++#!/bin/sh
+ 
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+Index: velocity-1.6.2/examples/logger_example/logger_example.sh
+===================================================================
+--- velocity-1.6.2.orig/examples/logger_example/logger_example.sh	2010-03-17 12:11:14.000000000 +0530
++++ velocity-1.6.2/examples/logger_example/logger_example.sh	2010-03-17 12:11:42.000000000 +0530
+@@ -1,4 +1,4 @@
+-# !/bin/sh
++#!/bin/sh
+ 
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
+Index: velocity-1.6.2/examples/xmlapp_example/xmlapp_example.sh
+===================================================================
+--- velocity-1.6.2.orig/examples/xmlapp_example/xmlapp_example.sh	2010-03-17 12:11:15.000000000 +0530
++++ velocity-1.6.2/examples/xmlapp_example/xmlapp_example.sh	2010-03-17 12:12:09.000000000 +0530
+@@ -1,4 +1,4 @@
+-# !/bin/sh
++#!/bin/sh
+ 
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements.  See the NOTICE file
--- velocity-1.6.2.orig/debian/patches/series
+++ velocity-1.6.2/debian/patches/series
@@ -0,0 +1,2 @@
+build.patch
+fix_example_scripts.patch
