|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
IUSE="examples" |
IUSE="examples vim-syntax" |
| |
DEPEND=">=virtual/python-2.3 | DEPEND=">=virtual/python-2.3 |
dev-libs/libxslt" | dev-libs/libxslt" |
|
|
-e "s:^BINDIR=.*:BINDIR=${D}/usr/bin:" \ | -e "s:^BINDIR=.*:BINDIR=${D}/usr/bin:" \ |
-e "s:^MANDIR=.*:MANDIR=${D}/usr/share/man:" \ | -e "s:^MANDIR=.*:MANDIR=${D}/usr/share/man:" \ |
-e "s:^CONFDIR=.*:CONFDIR=${D}/etc/asciidoc:" \ | -e "s:^CONFDIR=.*:CONFDIR=${D}/etc/asciidoc:" \ |
|
-e "s:^VIM_CONFDIR=.*:VIM_CONFDIR=${D}/usr/share/vim/vimfiles:" \ |
"${S}/install.sh" | "${S}/install.sh" |
} | } |
| |
src_install() { | src_install() { |
dodir /usr/bin | dodir /usr/bin |
|
|
|
if use vim-syntax; then |
|
dodir /usr/share/vim/vimfiles |
|
fi |
|
|
${S}/install.sh | ${S}/install.sh |
| |
if use examples; then | if use examples; then |