--- pcal-4.11.0.orig/debian/control
+++ pcal-4.11.0/debian/control
@@ -0,0 +1,15 @@
+Source: pcal
+Section: utils
+Priority: optional
+Maintainer: Camm Maguire <camm@debian.org>
+Build-Depends: debhelper ( >= 5 ), groff, libpaper-dev
+Standards-Version: 3.8.3
+
+Package: pcal
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: generate Postscript calendars without X
+ "Pcal" is a program to print PostScript calendars for any month and year.
+ By default, it looks for a file in the home directory named "calendar"
+ for entries with leading dates matching dates on the calendar, and prints
+ any following text under the appropriate day.
--- pcal-4.11.0.orig/debian/examples
+++ pcal-4.11.0/debian/examples
@@ -0,0 +1,30 @@
+examples/calendar_au.txt
+examples/calendar_de.txt
+examples/calendar_ee.txt
+examples/calendar_fi.txt
+examples/calendar_fr.txt
+examples/calendar_gr.txt
+examples/calendar_hu.txt
+examples/calendar_no.txt
+examples/calendar_nz.txt
+examples/calendar_uk.txt
+examples/calendar_us.txt
+examples/fonttest_arabic
+examples/fonttest_cyrillic
+examples/fonttest_greek
+examples/fonttest_hebrew
+examples/fonttest_koi8r
+examples/fonttest_koi8u
+examples/fonttest_latin1
+examples/fonttest_latin10
+examples/fonttest_latin2
+examples/fonttest_latin3
+examples/fonttest_latin4
+examples/fonttest_latin5
+examples/fonttest_latin6
+examples/fonttest_latin7
+examples/fonttest_latin8
+examples/fonttest_latin9
+examples/fonttest_roman8
+examples/fonttest_thai
+examples/pcal-cfg.txt
--- pcal-4.11.0.orig/debian/substvars
+++ pcal-4.11.0/debian/substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2.ds1-4), libpaper1
--- pcal-4.11.0.orig/debian/watch
+++ pcal-4.11.0/debian/watch
@@ -0,0 +1,4 @@
+version=2
+#http://prdownloads.sourceforge.net/pcal/pcal-?_?([\w+\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate
+#opts=pasv ftp://ftp2.sf.net/pub/sourceforge/p/pc/pcal/pcal-?_?([\w+\d+\.]+|\d+)(\.tar|\.tgz)(\.gz|\.bz2|) debian uupdate
+http://sf.net/pcal/pcal-(.*)\.tgz debian uupdate
--- pcal-4.11.0.orig/debian/portugese.patch
+++ pcal-4.11.0/debian/portugese.patch
@@ -0,0 +1,117 @@
+diff -u --recursive pcal-4.7/Pcal.hlp pcal-4.7-new/Pcal.hlp
+--- pcal-4.7/Pcal.hlp	Fri Oct  1 18:36:46 1999
++++ pcal-4.7-new/Pcal.hlp	Wed Dec 12 09:37:25 2001
+@@ -654,8 +654,8 @@
+           Select the language for the names of months and days.
+           As of v4.6, the following languages are supported:  de
+           (German), en (English) eo (Esperanto) es (Spanish), fr
+-          (French), gr (Greek), and it (Italian).  The default is
+-          en.
++          (French), gr (Greek), it (Italian), and pt (Portugue-
++	  se).  The default is en.
+ 
+           Note: In order to display diacritical marks, languages
+           other than English require that the fonts be remapped
+Only in pcal-4.7-new: build-stamp
+diff -u --recursive pcal-4.7/days.h pcal-4.7-new/days.h
+--- pcal-4.7/days.h	Fri Oct  1 18:36:46 1999
++++ pcal-4.7-new/days.h	Wed Dec 12 09:14:43 2001
+@@ -1,6 +1,7 @@
+ /* 
+  * Day output strings: one line per language (order: English, Greek,
+- *   Italian, French, German, Esperanto, Spanish; cf. pcallang.h)
++ *   Italian, French, German, Esperanto, Spanish, Portuguese;
++ *   cf. pcallang.h)
+  * 
+  * NB: + YOU NEED AN 8-BIT CLEAN EDITOR TO EDIT THIS (and proper fonts)
+  *     + GREEK IS IN ELOT-928
+@@ -20,4 +21,6 @@
+ { "Diman\346o",	"Lundo",	"Mardo",	"Merkredo",
+   "\254a\375do", "Vendredo",	"Sabato" },
+ { "Domingo",	"Lunes",	"Martes",	"Mi\351rcoles",
+-  "Jueves",	"Viernes",	"Sabado" }
++  "Jueves",	"Viernes",	"Sabado" },
++{ "Domingo",	"Segunda",	"Ter\347a",	"Quarta",
++  "Quinta",	"Sexta",	"S\341bado" }
+diff -u --recursive pcal-4.7/months.h pcal-4.7-new/months.h
+--- pcal-4.7/months.h	Fri Oct  1 18:36:46 1999
++++ pcal-4.7-new/months.h	Tue Dec 11 09:50:33 2001
+@@ -1,6 +1,7 @@
+ /* 
+  * Month output strings: one line per language (order: English, Greek,
+- *   Italian, French, German, Esperanto, Spanish; cf. pcallang.h)
++ *   Italian, French, German, Esperanto, Spanish, Portuguese ;
++ *   cf. pcallang.h)
+  *
+  * NB: + YOU NEED AN 8-BIT CLEAN EDITOR TO EDIT THIS (and proper fonts)
+  *     + GREEK IS IN ELOT-928
+@@ -31,4 +32,7 @@
+   "Septembro",	"Oktobro",	"Novembro",	"Decembro" },
+ { "Enero",	"Febrero",	"Marzo",	"Abril",
+   "Mayo",	"Junio",	"Julio",	"Agosto",
+-  "Septiembre",	"Octubre",	"Noviembre",	"Diciembre" }
++  "Septiembre",	"Octubre",	"Noviembre",	"Diciembre" },
++{ "Janeiro",	"Fevereiro",	"Mar\347o",	"Abril",
++  "Maio",	"Junho",	"Julho",	"Agosto",
++  "Setembro",	"Outubro",	"Novembro",	"Dezembro" }
+diff -u --recursive pcal-4.7/pcal.man pcal-4.7-new/pcal.man
+--- pcal-4.7/pcal.man	Wed Dec 12 09:40:36 2001
++++ pcal-4.7-new/pcal.man	Wed Dec 12 09:33:41 2001
+@@ -1027,9 +1027,11 @@
+ (French),
+ .B gr
+ (Greek),
+-and
+ .B it
+ (Italian).
++and
++.B pt
++(Portuguese).
+ The default is 
+ .BR en .
+ .IP
+diff -u --recursive pcal-4.7/pcallang.h pcal-4.7-new/pcallang.h
+--- pcal-4.7/pcallang.h	Fri Oct  1 18:36:46 1999
++++ pcal-4.7-new/pcallang.h	Wed Dec 12 09:10:55 2001
+@@ -139,7 +139,7 @@
+ #define DAYSIZE 20	/* large enough for longest string in days[] below */
+ #define LANGSIZE 20	/* large enough for longest string in lang_id[] below */
+ 
+-#define NUM_LANGUAGES	7	/* *** Change this if adding languages *** */
++#define NUM_LANGUAGES	8	/* *** Change this if adding languages *** */
+ #define LANG_ENGLISH	0
+ #define LANG_GREEK	1
+ #define LANG_ITALIAN	2
+@@ -147,6 +147,7 @@
+ #define LANG_GERMAN	4
+ #define LANG_ESPERANTO	5
+ #define LANG_SPANISH	6
++#define LANG_PORTUGUESE	7
+ 
+ #ifndef LANG_DEFAULT
+ #define LANG_DEFAULT	LANG_ENGLISH
+@@ -198,10 +199,11 @@
+ 	"de [German]",
+ 	"eo [Esperanto]",
+ 	"es [Spanish]",
++	"pt [Portuguese]",
+ 
+ #if THESE_ARE_NOT_INCLUDED 		/* some possible extra languages */
+ 	"ho [Dutch]",
+-	"pg [Portuguese]",
++	"ot [OtherLanguage]",
+ #endif
+ };
+ 
+@@ -216,10 +218,11 @@
+ 	LATIN1,		/* German */
+ 	ESPERANTO,	/* Esperanto */
+ 	LATIN1,		/* Spanish */
++	LATIN1,		/* Portuguese */
+ 
+ #if THESE_ARE_NOT_INCLUDED 		/* some possible extra languages */
+ 	LATIN1,		/* Dutch */
+-	LATIN1,		/* Portuguese */
++	OTHER,		/* OtherLanguage */
+ #endif
+ };
--- pcal-4.11.0.orig/debian/compat
+++ pcal-4.11.0/debian/compat
@@ -0,0 +1 @@
+5
--- pcal-4.11.0.orig/debian/changelog
+++ pcal-4.11.0/debian/changelog
@@ -0,0 +1,170 @@
+pcal (4.11.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Bug fix: "-J option outputs broken PostScript", thanks to
+    nbreen@ofb.net (Nicholas Breen)</a>; (Closes: #400823).
+
+ -- Camm Maguire <camm@debian.org>  Thu, 07 Jan 2010 14:59:50 +0000
+
+pcal (4.10.0-1) unstable; urgency=low
+
+  * New upstream release,Closes: #384535.
+  * build-dep on libpaper-dev, Closes: 346401.
+  * Newer standards
+
+ -- Camm Maguire <camm@enhanced.com>  Wed,  4 Oct 2006 10:27:26 -0400
+
+pcal (4.9.1-1) unstable; urgency=low
+
+  * New upstream release, Closes: #334455.
+  * updated examples list
+  * newer standards
+  * updated watchfile to sf redirector
+
+ -- Camm Maguire <camm@enhanced.com>  Fri, 21 Oct 2005 01:23:10 +0000
+
+pcal (4.8.0-2) unstable; urgency=high
+
+  * Fixed watch file
+
+ -- Camm Maguire <camm@enhanced.com>  Tue, 22 Mar 2005 20:33:26 +0000
+
+pcal (4.8.0-1) unstable; urgency=high
+
+  * New upstream release
+  * Bug fix: "CAN-2004-1289 Multiple buffer overflows", thanks to Joey
+    Hess (Closes: #287039).  Fixed upstream.
+  * Bug fix: "pcal: option &quot;-a pt&quot; does not work", thanks to
+    Pedro Zorzenon Neto (Closes: #284098).  Fixed upstream.
+
+ -- Camm Maguire <camm@enhanced.com>  Mon,  3 Jan 2005 17:00:54 +0000
+
+pcal (4.7.1-3) unstable; urgency=high
+
+  * Add watch file
+
+ -- Camm Maguire <camm@enhanced.com>  Fri, 29 Oct 2004 17:07:44 +0000
+
+pcal (4.7.1-2) unstable; urgency=low
+
+  * Define SEARCH_PCAL_DIR to 0 to avoide conflict with /usr/bin/calendar.
+    Closes: #272656.  Closes: #241708.
+  * Extend libpaper support to postscript bounding box, postscript comment
+    size, and 'tray' dictionaries.  Closes: #244701.
+  * Bug fix: "pcal: Would like enhanced define capability", thanks to
+    Louis Taber (Closes: #267090).  Preliminary support for define values
+    in pseudo cpp support.
+
+ -- Camm Maguire <camm@enhanced.com>  Tue, 21 Sep 2004 17:25:12 +0000
+
+pcal (4.7.1-1) unstable; urgency=low
+
+  * Bug fix: "New upstream release available", thanks to Martin Michlmayr
+    (Closes: #240093).
+  * Bug fix: "Upstream location out of date", thanks to Martin Michlmayr
+    (Closes: #240094).
+  * compat level 4
+  * watch file
+  * Clean up a few compiler warnings from missing headers
+  * Newer standards
+  * Rephrase description slightly
+
+ -- Camm Maguire <camm@enhanced.com>  Mon, 29 Mar 2004 16:41:30 +0000
+
+pcal (4.7-10) unstable; urgency=low
+
+  * Fix typo in man page, Closes: #176307
+
+ -- Camm Maguire <camm@enhanced.com>  Mon, 17 Feb 2003 15:52:40 -0500
+
+pcal (4.7-9) unstable; urgency=low
+
+  * Added Finnish translation, Closes: #168603
+
+ -- Camm Maguire <camm@enhanced.com>  Thu, 14 Nov 2002 21:39:06 -0500
+
+pcal (4.7-8) unstable; urgency=low
+
+  * Fixed path length overflow bug
+
+ -- Camm Maguire <camm@enhanced.com>  Wed, 27 Feb 2002 11:07:06 -0500
+
+pcal (4.7-7) unstable; urgency=low
+
+  * Removed add-log-mailing-address from changelog, New policy standard,
+    Closes: #123609
+  * Applied Portugese language patch, Closes: #123607
+
+ -- Camm Maguire <camm@enhanced.com>  Wed, 12 Dec 2001 14:29:12 -0500
+
+pcal (4.7-6) unstable; urgency=low
+
+  * Changed Build-Depends on libpaperg to libpaperg-dev, Closes: #97895
+
+ -- Camm Maguire <camm@enhanced.com>  Fri, 18 May 2001 09:31:01 -0400
+
+pcal (4.7-5) unstable; urgency=low
+
+  * Added -DEPS to compile flags to make more useful postscript output,
+    Closes: #97734
+  * Added Build-Depends
+
+ -- Camm Maguire <camm@enhanced.com>  Thu, 17 May 2001 10:20:36 -0400
+
+pcal (4.7-4) unstable; urgency=low
+
+  * Upgraded to latest standards version
+  * chmod -x moon98 example
+
+ -- Camm Maguire <camm@enhanced.com>  Wed, 29 Mar 2000 19:30:33 +0200
+
+pcal (4.7-3) frozen; urgency=low
+
+  * Prevented search for calendar file in executable directory, closing #56136
+
+ -- Camm Maguire <camm@enhanced.com>  Tue, 25 Jan 2000 13:24:08 -0500
+
+pcal (4.7-2) unstable; urgency=low
+
+  * Added runtime papersize support using libpaper.  Only supported
+  formats so far are upstream compile time options, letter and a4.
+  (closes #53852)
+
+ -- Camm Maguire <camm@enhanced.com>  Mon,  3 Jan 2000 13:37:45 -0500
+
+pcal (4.7-1) unstable; urgency=low
+
+  * Updated program source in copyright file
+  * Installed a more modern rules file from debhelper
+  * Added some new files as examples, including web interface --  
+  this should evenutally be installed as a cgi addon
+  * Fixed man page typo -- -\ -> \-
+  * Miscellaneous Makefile changes for proper Debianization
+  * New upstream release
+
+ -- Camm Maguire <camm@enhanced.com>  Sat, 11 Sep 1999 16:32:24 -0400
+
+pcal (4.1-3) unstable; urgency=low
+
+  * Fixed lintian errors
+
+ -- Camm Maguire <camm@enhanced.com>  Sat, 11 Sep 1999 16:32:24 -0400
+
+pcal (4.1-2) unstable; urgency=low
+
+  * Fixed lintian error: removed README.Debian
+  * Fixed lintian error: manpage not executable
+  * Added newline to Makefile
+
+ -- Camm Maguire <camm@enhanced.com>  Mon, 12 Apr 1999 15:27:58 -0400
+
+pcal (4.1-1) unstable; urgency=low
+
+  * Prevented pcal from searching in /usr/bin for calendars
+  * Made miscellaneous changes to get a clean compile with -Wall
+  * Edited Makefile, CC=gcc, install in /usr/man and /usr/bin
+  * Initial Release.
+
+ -- Camm Maguire <camm@enhanced.com>  Tue,  5 Jan 1999 12:20:05 -0500
+
+
--- pcal-4.11.0.orig/debian/copyright
+++ pcal-4.11.0/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Camm Maguire camm@enhanced.com on
+Tue,  5 Jan 1999 12:20:05 -0500.
+
+It was downloaded from
+http://pcal.sourceforge.net/
+
+Copyright:
+
+The original calendar PostScript was Copyright (c) 1987 by Patrick Wood
+and Pipeline Associates, Inc. with permission to modify and redistribute.
+
+Moon phase routines have the following copyright:
+ Copyright (C) 1988 by Jef Poskanzer and Craig Leres.
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose and without fee is hereby granted,
+ provided that the above copyright notice appear in all copies and that
+ both that copyright notice and this permission notice appear in
+ supporting documentation.  This software is provided "as is" without
+ express or implied warranty.
--- pcal-4.11.0.orig/debian/rules
+++ pcal-4.11.0/debian/rules
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE) CFLAGS="-O2 -Wall -DEPS"
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp debian/pcal.1
+
+	-make clobber
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	make install DESTDIR=`pwd`/debian/pcal
+	cp doc/pcal.man debian/pcal.1
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installcron
+	dh_installman debian/pcal.1
+	dh_installinfo
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- pcal-4.11.0.orig/debian/dirs
+++ pcal-4.11.0/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- pcal-4.11.0.orig/debian/docs
+++ pcal-4.11.0/debian/docs
@@ -0,0 +1,4 @@
+doc/ReadMe.txt
+doc/pcal-help.html
+doc/pcal-help.ps
+doc/pcal-help.txt
