Permalink
Browse files

mdocml: update to 1.10.9, resolve conflict with groff.

  • Loading branch information...
xtraeme committed Jan 11, 2011
1 parent cd6e9e8 commit 1bb4cfefaa83e79faa1b53b11c0846e49e05352f
Showing with 9 additions and 4 deletions.
  1. +9 −4 srcpkgs/mdocml/template
View
@@ -1,20 +1,25 @@
# Template file for 'mdocml'
pkgname=mdocml
-version=1.10.0
+version=1.10.9
distfiles="http://mdocml.bsd.lv/snapshots/mdocml-$version.tar.gz"
build_style=gnu_makefile
make_install_args="MANDIR=/usr/share/man BINDIR=/usr/bin
EXAMPLEDIR=/usr/share/examples/mdocml PREFIX=/usr"
short_desc="mdoc macro compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
-checksum=00e551148db0496c90dab879a7068a327bfddd545183c706a1442ff60ed9d009
+checksum=053b86d21edae5a80ecf6fe0927ab0e7dfaccbdec82eff98b4ef331d66ca8b65
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."
-conflicts="groff>=0"
-
Add_dependency run glibc
+
+post_install()
+{
+ # roff.7 conflicts with groff, so rename it.
+ mv ${DESTDIR}/usr/share/man/man7/roff.7 \
+ ${DESTDIR}/usr/share/man/man7/mandoc_roff.7
+}

0 comments on commit 1bb4cfe

Please sign in to comment.