summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-07-09 21:15:55 +0000
committerPeter Volkov <pva@gentoo.org>2008-07-09 21:15:55 +0000
commitfa53b21cbc1f4d5adf04ccd49089d8fdaaab88a0 (patch)
treeecbd60b25d884121d1909f2e9a7825908de0dc29 /app-dicts
parentthis is great package, but a bit cleanup still required (diff)
downloadpva-fa53b21cbc1f4d5adf04ccd49089d8fdaaab88a0.tar.gz
pva-fa53b21cbc1f4d5adf04ccd49089d8fdaaab88a0.tar.bz2
pva-fa53b21cbc1f4d5adf04ccd49089d8fdaaab88a0.zip
Fixed man pages installation
svn path=/; revision=184
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/lightlang/Manifest3
-rw-r--r--app-dicts/lightlang/files/lightlang-0.8.5-man-pages-inst.patch26
-rw-r--r--app-dicts/lightlang/lightlang-0.8.5.ebuild4
3 files changed, 30 insertions, 3 deletions
diff --git a/app-dicts/lightlang/Manifest b/app-dicts/lightlang/Manifest
index 7669a79..94f0ae0 100644
--- a/app-dicts/lightlang/Manifest
+++ b/app-dicts/lightlang/Manifest
@@ -1,2 +1,3 @@
+AUX lightlang-0.8.5-man-pages-inst.patch 866 RMD160 014e1a678769bfca8e310e6757705d1467cd8d52 SHA1 d839abf0f2f6c6cbf3b4e4f8cf3803191d1818b5 SHA256 7c35589ac84c3fd2a7aee067352faf553b77dd18c1b1f91adc137eec3d958cd0
DIST lightlang-0.8.5.tar.bz2 422587 RMD160 eadec1acbfad9f9bcf06969837829c2b8ce8e7cb SHA1 2edd2b7574df319bbc5947370dc6075461a98586 SHA256 c4d683d6e5ccfea00a2f5841780b4c8f015e7f35ff380f459661414d7647b19d
-EBUILD lightlang-0.8.5.ebuild 791 RMD160 e8bfb32981510410236e7da7b4f03f704784376d SHA1 2f8254852ab4a32d579fb0cedb9fed521e6203e7 SHA256 b8146db06874061f748e32b6096c1e50a0370f815d9b7cf0d4aebae4896d074e
+EBUILD lightlang-0.8.5.ebuild 775 RMD160 9af704b3eef8c96a359bd5d26556c122b68d408f SHA1 7d6e8721601b999e71cc8ce683570f5831cf35a0 SHA256 e42729fba5012a27464762352acf2943e8aba3e526b885714e2a3a34910d73ac
diff --git a/app-dicts/lightlang/files/lightlang-0.8.5-man-pages-inst.patch b/app-dicts/lightlang/files/lightlang-0.8.5-man-pages-inst.patch
new file mode 100644
index 0000000..a009100
--- /dev/null
+++ b/app-dicts/lightlang/files/lightlang-0.8.5-man-pages-inst.patch
@@ -0,0 +1,26 @@
+=== modified file 'docs/man/en/Makefile.in'
+--- docs/man/en/Makefile.in 2008-07-09 21:10:40 +0000
++++ docs/man/en/Makefile.in 2008-07-09 21:11:52 +0000
+@@ -17,7 +17,7 @@
+
+ #####
+ install :
+- $(MKDIR) -p $(INS_EN_MAN_DOC_DIR)
++ $(MKDIR) -p $(INS_EN_MAN_DOC_DIR)/man1
+ $(CP) $(EN_MAN_DOC_DIR)/sl.1.gz $(INS_EN_MAN_DOC_DIR)/man1
+ $(CP) $(EN_MAN_DOC_DIR)/llrepo.1.gz $(INS_EN_MAN_DOC_DIR)/man1
+ if [[ $(GUI_FLAG) = "yes" ]]; then \
+
+=== modified file 'docs/man/ru/Makefile.in'
+--- docs/man/ru/Makefile.in 2008-07-09 21:10:40 +0000
++++ docs/man/ru/Makefile.in 2008-07-09 21:12:08 +0000
+@@ -17,7 +17,7 @@
+
+ #####
+ install :
+- $(MKDIR) -p $(INS_RU_MAN_DOC_DIR)
++ $(MKDIR) -p $(INS_RU_MAN_DOC_DIR)/man1
+ $(CP) $(RU_MAN_DOC_DIR)/sl.1.gz $(INS_RU_MAN_DOC_DIR)/man1
+ $(CP) $(RU_MAN_DOC_DIR)/llrepo.1.gz $(INS_RU_MAN_DOC_DIR)/man1
+ if [[ $(GUI_FLAG) = "yes" ]]; then \
+
diff --git a/app-dicts/lightlang/lightlang-0.8.5.ebuild b/app-dicts/lightlang/lightlang-0.8.5.ebuild
index e1a7571..860553a 100644
--- a/app-dicts/lightlang/lightlang-0.8.5.ebuild
+++ b/app-dicts/lightlang/lightlang-0.8.5.ebuild
@@ -25,10 +25,10 @@ src_unpack() {
cd "${S}"
find -name "Makefile.in" -print0 | xargs -0 \
sed -i -e 's:\(INS_[[:alnum:]_]*=\)\(@prefix@[[:alnum:]\/]\):\1$(DESTDIR)/\2:'
+
+ epatch "${FILESDIR}"/${P}-man-pages-inst.patch
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
- # Collision with directory?
- rm -rf "${D}"/usr/share/man/ru/man1
}