2010-02-20 02:27:06 +01:00
|
|
|
# Template file for 'mdocml'
|
|
|
|
pkgname=mdocml
|
2011-10-21 18:00:23 +02:00
|
|
|
version=1.12.0
|
2011-11-14 18:12:47 +01:00
|
|
|
revision=2
|
2011-10-21 18:00:23 +02:00
|
|
|
homepage="http://mdocml.bsd.lv"
|
|
|
|
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-makefile
|
2011-10-21 18:00:23 +02:00
|
|
|
make_build_args="DBLIB=-ldb"
|
2010-06-04 00:34:37 +02:00
|
|
|
make_install_args="MANDIR=/usr/share/man BINDIR=/usr/bin
|
|
|
|
EXAMPLEDIR=/usr/share/examples/mdocml PREFIX=/usr"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="db-devel"
|
2010-02-20 02:27:06 +01:00
|
|
|
short_desc="mdoc macro compiler"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-21 18:00:23 +02:00
|
|
|
license="ISC"
|
|
|
|
checksum=887dbe722e459ce60a6f1e29e278f68932fab9592768b9b324503ba80fe17a5e
|
2010-02-20 02:27:06 +01:00
|
|
|
long_desc="
|
|
|
|
mdocml is a suite of tools compiling -mdoc, the roff macro package of
|
|
|
|
choice for BSD manual pages, and -man, the predominant historical package
|
|
|
|
for UNIX manuals. The mission of mdocml is to deprecate groff, the GNU roff
|
|
|
|
implementation, for displaying -mdoc pages whilst providing token support
|
|
|
|
for -man."
|
|
|
|
|
2011-01-11 13:55:47 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-21 18:12:51 +02:00
|
|
|
# preconv conflicts with groff, rename it.
|
|
|
|
mv ${DESTDIR}/usr/bin/preconv ${DESTDIR}/usr/bin/mandoc-preconv
|
|
|
|
|
2011-10-21 18:00:23 +02:00
|
|
|
# roff.7 conflicts with groff, rename it.
|
2011-01-11 13:55:47 +01:00
|
|
|
mv ${DESTDIR}/usr/share/man/man7/roff.7 \
|
|
|
|
${DESTDIR}/usr/share/man/man7/mandoc_roff.7
|
2011-10-21 18:00:23 +02:00
|
|
|
# preconv.1 conflicts with groff, rename it.
|
|
|
|
mv ${DESTDIR}/usr/share/man/man1/preconv.1 \
|
|
|
|
${DESTDIR}/usr/share/man/man1/mandoc_preconv.1
|
|
|
|
# Remove unused stuff.
|
|
|
|
rm -rf ${DESTDIR}/usr/{include,lib}
|
2011-01-11 13:55:47 +01:00
|
|
|
}
|