www-servers/h2o: fix docs installation path
authorAkinori Hattori <hattya@gentoo.org>
Wed, 11 Jul 2018 13:15:03 +0000 (22:15 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Wed, 11 Jul 2018 13:15:03 +0000 (22:15 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

www-servers/h2o/files/h2o.conf
www-servers/h2o/h2o-2.2.4.ebuild
www-servers/h2o/h2o-9999.ebuild

index a135cc35735164d9934a3abac5def771c03c04a9..23f2d76d51ee4db102ebadfad0ad678b18771b12 100644 (file)
@@ -15,6 +15,3 @@ hosts:
     paths:
       "/":
         file.dir: /var/www/localhost/htdocs
-      "/doc":
-        file.dir: /usr/share/doc/h2o/
-        file.index: [ 'index.html' ]
index 47d1794fa4aa3a84f5250e568c3e530fb771c20a..63228398d26cae421e6b82cc7163927259a85592 100644 (file)
@@ -54,6 +54,8 @@ src_prepare() {
        fi
 
        sed -i \
+               -e "/INSTALL/s:\(/doc/${PN}\) :\1/html :" \
+               -e "/INSTALL/s:\(/doc\)/${PN}:\1/${PF}:" \
                -e "s: ruby: ${ruby}:" \
                CMakeLists.txt
 
index 56f77212526f0637bfb1ea7e5c11fc1b05330a4a..e1d9604c4b4413f98aa87671c306dfdf356482fd 100644 (file)
@@ -51,6 +51,8 @@ src_prepare() {
        fi
 
        sed -i \
+               -e "/INSTALL/s:\(/doc/${PN}\) :\1/html :" \
+               -e "/INSTALL/s:\(/doc\)/${PN}:\1/${PF}:" \
                -e "s: ruby: ${ruby}:" \
                CMakeLists.txt