--- /usr/portage/app-text/docbook2X/docbook2X-0.8.8.ebuild 2007-08-22 21:05:50.000000000 +0200 +++ /usr/local/portage/app-text/docbook2X/docbook2X-0.8.8.ebuild 2008-01-13 19:58:25.000000000 +0100 @@ -22,7 +22,6 @@ src_compile() { econf \ --with-xslt-processor=libxslt \ - --program-suffix=.pl \ || die "econf failed" emake || die "emake failed" @@ -32,6 +31,16 @@ make "DESTDIR=${D}" install || die "install failed" dodoc AUTHORS ChangeLog NEWS README THANKS TODO + + # rename docbook2* programs and their manpages to *.pl to avoid conflict + # with docbook-sgml-utils apps with the same name + for i in ${D}/usr/bin/docbook2* ${D}/usr/share/man/*/docbook2* ; do + mv $i $i.pl + done + + # add aliases as used by Debian, for better cross-distribution portability + ln -s docbook2man.pl ${D}/usr/bin/docbook2x-man + ln -s docbook2texi.pl ${D}/usr/bin/docbook2x-texi } pkg_postinst() {