Commit a9e51b7c authored by Bdale Garbee's avatar Bdale Garbee

package mandoc for Debian

parent cdc9426d
HAVE_WCHAR=1
OSNAME="Debian"
PREFIX="/usr"
MANDIR="${PREFIX}/share/man"
EXAMPLEDIR="${PREFIX}/share/doc/mandoc"
INSTALL_MAN="debian/install_mandoc"
MANM_MAN="mandoc_man" # default is "man"
MANM_MDOC="mandoc_mdoc" # default is "mdoc"
MANM_ROFF="mandoc_roff" # default is "roff"
MANM_EQN="mandoc_eqn" # default is "eqn"
MANM_TBL="mandoc_tbl" # default is "tbl"
BINM_MAN=mman # default is "man"
BUILD_DB=0
mdocml (1.13.3-1) unstable; urgency=medium
* Initial release (Closes: #829018)
-- Bdale Garbee <bdale@gag.com> Sat, 02 Jul 2016 21:09:13 +0200
Source: mdocml
Section: doc
Priority: optional
Maintainer: Bdale Garbee <bdale@gag.com>
Build-Depends: debhelper (>=9),autotools-dev
Standards-Version: 3.9.8
Homepage: http://mdocml.bsd.lv/
Vcs-Git: git://anonscm.debian.org/collab-maint/mdocml.git
Vcs-Browser: http://anonscm.debian.org/git/collab-maint/mdocml.git
Package: mandoc
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: BSD manpage compiler toolset
mandoc is a suite of tools compiling mdoc, the roff macro language of choice
for BSD manual pages, and man, the predominant historical language for UNIX
manuals. It is small, ISO C, ISC-licensed, and quite fast. The main component
of the toolset is the mandoc utility program, based on the libmandoc
validating compiler, to format output for UNIX terminals (with support for
wide-character locales), XHTML, HTML, PostScript, and PDF.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mdocml
Source: http://mdocml.bsd.lv/
Files: *
Copyright: 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
2010-2015 Ingo Schwarze <schwarze@openbsd.org>
2009, 2010, 2011, 2012 Joerg Sonnenberger <joerg@netbsd.org>
2013 Franco Fichtner <franco@lastsummer.de>
1999, 2004 Marc Espie <espie@openbsd.org>
1998, 2004, 2010 Todd C. Miller <Todd.Miller@courtesan.com>
2008 Otto Moerbeek <otto@drijf.net>
2004 Ted Unangst <tedu@openbsd.org>
2003, 2007, 2008, 2014 Jason McIntyre <jmc@openbsd.org>
.
See the individual source files for information about who contributed
to which file during which years.
License:
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
Files: compat_fts.c compat_fts.h compat_getsubopt.c compat_strcasestr.c compat_strsep.c man.1
Copyright: 1989,1990,1993,1994 The Regents of the University of California
License: BSD-3-clause
Files: compat_fgetln.c
Copyright: 1998 The NetBSD Foundation, Inc.
License: BSD-3-clause
#!/bin/bash
eval target=\${$#}
mkdir -p debian/man
while [ "$2" != "" ]; do
./mandoc -Tman $1 > debian/man/$1
install -m 0444 debian/man/$1 $target
shift
done
rm -r debian/man
Description: create configure.local to set Debian defaults
Author: Bdale Garbee <bdale@gag.com>
--- /dev/null
+++ mdocml-1.13.3/configure.local
@@ -0,0 +1,13 @@
+HAVE_WCHAR=1
+OSNAME="Debian"
+PREFIX="/usr"
+MANDIR="${PREFIX}/share/man"
+EXAMPLEDIR="${PREFIX}/share/doc/mandoc"
+INSTALL_MAN="debian/install_mandoc"
+MANM_MAN="mandoc_man" # default is "man"
+MANM_MDOC="mandoc_mdoc" # default is "mdoc"
+MANM_ROFF="mandoc_roff" # default is "roff"
+MANM_EQN="mandoc_eqn" # default is "eqn"
+MANM_TBL="mandoc_tbl" # default is "tbl"
+BINM_MAN=mman # default is "man"
+BUILD_DB=0
configure.local.patch
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --with autotools_dev
override_dh_auto_clean:
[ ! -f Makefile.local ] || $(MAKE) clean
overrid_dh_installman:
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 4 file
version=4
# HTTP site (basic)
http://mdocml.bsd.lv/snapshots/ \
mdocml-([\d\.]+)\.tar\.gz debian uupdate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment