--- mrbayes-3.1.2.orig/debian/control +++ mrbayes-3.1.2/debian/control @@ -0,0 +1,21 @@ +Source: mrbayes +Section: math +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Fernando Ribeiro +Uploaders: Fernando Ribeiro +Standards-Version: 3.7.2 +Build-Depends: quilt, libncurses5-dev, libreadline5-dev + +Package: mrbayes +Architecture: any +Depends: ${shlibs:Depends}, bash (>=3.1) +Description: A program for the Bayesian estimation of phylogeny + Bayesian inference of phylogeny is based upon a quantity called the posterior + probability distribution of trees, which is the probability of a tree + conditioned on the observations. The conditioning is accomplished using + Bayes's theorem. The posterior probability distribution of trees is + impossible to calculate analytically; instead, MrBayes uses a simulation + technique called Markov chain Monte Carlo (or MCMC) to approximate the + posterior probabilities of trees. + Homepage: http://mrbayes.csit.fsu.edu/ --- mrbayes-3.1.2.orig/debian/rules +++ mrbayes-3.1.2/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +package = mrbayes +docdir = debian/tmp/usr/share/doc/$(package) +mandir = debian/tmp/usr/share/man + +build: + $(checkdir) + ln -sf debian/patches + quilt push -a || test $$? = 2 + $(MAKE) + touch build + +clean: + $(checkdir) + -$(MAKE) -i clean + ln -sf debian/patches + quilt pop -a || test $$? = 2 + rm -f build + rm -rf *~ .pc debian/tmp debian/*~ debian/files* debian/substvars patches + +binary-indep: checkroot build + $(checkdir) + +binary-arch: checkroot build + $(checkdir) + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir) $(mandir) debian/tmp/usr/bin + install -s -m 755 mb debian/tmp/usr/bin + cp -a debian/copyright $(docdir) + cp -a debian/changelog $(docdir)/changelog.Debian + cp -a doc/man/man1 $(mandir) + cd $(docdir) && gzip -9 changelog.Debian + dpkg-shlibdeps debian/tmp/usr/bin/mb + dpkg-gencontrol -isp + gzip -r9 debian/tmp/usr/share/man + chown -R root:root debian/tmp + chmod -R u+w,go=rX debian/tmp + chmod u=rwx,go=rx debian/tmp/usr/bin/mb + dpkg --build debian/tmp .. + +define checkdir + test -f mb.c -a -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test $$(id -u) = 0 + +.PHONY: clean binary binary-arch binary-indep checkroot --- mrbayes-3.1.2.orig/debian/changelog +++ mrbayes-3.1.2/debian/changelog @@ -0,0 +1,14 @@ +mrbayes (3.1.2-0ubuntu2) intrepid; urgency=low + + * debian/control: + - Update Maintainer field as per spec (LP: #230350). + + -- Luca Falavigna Fri, 06 Jun 2008 20:15:18 +0200 + +mrbayes (3.1.2-0ubuntu1) feisty; urgency=low + + * Initial release. + * Patch applied: misc/makefile_clean_binary.diff + * Patch applied: misc/man1.diff + + -- Fernando Ribeiro Thu, 9 Nov 2006 02:37:20 -0200 --- mrbayes-3.1.2.orig/debian/patches/misc/makefile_clean_binary.diff +++ mrbayes-3.1.2/debian/patches/misc/makefile_clean_binary.diff @@ -0,0 +1,10 @@ +--- Makefile-old 2006-11-16 02:29:23.000000000 -0200 ++++ Makefile 2006-11-16 02:29:51.000000000 -0200 +@@ -88,6 +88,7 @@ + + clean: + rm -f *.o ++ rm $(PROGS) + + showdep: + @$(CC) -MM bayes.c command.c mbmath.c mcmc.c model.c plot.c sump.c sumt.c --- mrbayes-3.1.2.orig/debian/patches/misc/man1.diff +++ mrbayes-3.1.2/debian/patches/misc/man1.diff @@ -0,0 +1,14 @@ +diff -uNr mrbayes-3.1.2-old/doc/man/man1/mb.1 mrbayes-3.1.2-patch/doc/man/man1/mb.1 +--- mrbayes-3.1.2-old/doc/man/man1/mb.1 1969-12-31 21:00:00.000000000 -0300 ++++ mrbayes-3.1.2-patch/doc/man/man1/mb.1 2006-11-16 02:19:06.000000000 -0200 +@@ -0,0 +1,10 @@ ++.TH mrbayes "1" "Nov 2006" "mrbayes 3.1.2" "User Commands" ++.SH NAME ++mb \- A program for the Bayesian estimation ++.SH SYNOPSIS ++.B mb [OPTION]... [FILE]... ++.SH DESCRIPTION ++A program for the Bayesian estimation of phylogeny Bayesian inference of phylogeny ++.SH OPTIONS ++.B \-i ++interactive mode --- mrbayes-3.1.2.orig/debian/patches/series +++ mrbayes-3.1.2/debian/patches/series @@ -0,0 +1,2 @@ +misc/makefile_clean_binary.diff -p0 +misc/man1.diff -p1 --- mrbayes-3.1.2.orig/debian/copyright +++ mrbayes-3.1.2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Fernando Ribeiro on +Thu, 09 Nov 2006 02:14:52 -0200. + +It was downloaded from http://mrbayes.csit.fsu.edu/download.php + +Upstream Author: John Huelsenbeck + Fredrik Ronquist + Bred Larget + Paul van der Mark + Donald Simon + +Copyright: + +Copyright 2002-2005 John Huelsenbeck + Fredrik Ronquist + + +License: + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL'.