2010-02-20 01:27:06 +00:00
|
|
|
# Template file for 'mdocml'
|
|
|
|
pkgname=mdocml
|
2011-10-21 16:00:23 +00:00
|
|
|
version=1.12.0
|
2011-10-21 16:12:51 +00:00
|
|
|
revision=1
|
2011-10-21 16:00:23 +00:00
|
|
|
homepage="http://mdocml.bsd.lv"
|
|
|
|
distfiles="${homepage}/snapshots/mdocml-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-makefile
|
2011-10-21 16:00:23 +00:00
|
|
|
make_build_args="DBLIB=-ldb"
|
2010-06-03 22:34:37 +00:00
|
|
|
make_install_args="MANDIR=/usr/share/man BINDIR=/usr/bin
|
|
|
|
EXAMPLEDIR=/usr/share/examples/mdocml PREFIX=/usr"
|
2010-02-20 01:27:06 +00:00
|
|
|
short_desc="mdoc macro compiler"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-21 16:00:23 +00:00
|
|
|
license="ISC"
|
|
|
|
checksum=887dbe722e459ce60a6f1e29e278f68932fab9592768b9b324503ba80fe17a5e
|
2010-02-20 01:27:06 +00: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."
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
2011-10-21 16:00:23 +00:00
|
|
|
Add_dependency build db-devel
|
2011-01-11 12:55:47 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-21 16:12:51 +00:00
|
|
|
# preconv conflicts with groff, rename it.
|
|
|
|
mv ${DESTDIR}/usr/bin/preconv ${DESTDIR}/usr/bin/mandoc-preconv
|
|
|
|
|
2011-10-21 16:00:23 +00:00
|
|
|
# roff.7 conflicts with groff, rename it.
|
2011-01-11 12:55:47 +00:00
|
|
|
mv ${DESTDIR}/usr/share/man/man7/roff.7 \
|
|
|
|
${DESTDIR}/usr/share/man/man7/mandoc_roff.7
|
2011-10-21 16:00:23 +00: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 12:55:47 +00:00
|
|
|
}
|