Line
Link Here
|
0 |
-- postgis-2.0.0.ebuild |
0 |
++ postgis-2.0.1.ebuild |
Lines 62-67
Link Here
|
62 |
# fi |
62 |
# fi |
63 |
} |
63 |
} |
64 |
|
64 |
|
|
|
65 |
src_prepare() { |
66 |
epatch "${FILESDIR}/${P}-cheatsheet.patch" |
67 |
} |
68 |
|
65 |
src_configure() { |
69 |
src_configure() { |
66 |
local myargs="" |
70 |
local myargs="" |
67 |
use gtk && myargs+=" --with-gui" |
71 |
use gtk && myargs+=" --with-gui" |
Lines 74-80
Link Here
|
74 |
# Otherwise, it'd be fine. |
78 |
# Otherwise, it'd be fine. |
75 |
emake |
79 |
emake |
76 |
emake -C topology |
80 |
emake -C topology |
77 |
use doc && emake -C doc |
81 |
use doc && emake -C doc cheatsheets html |
78 |
} |
82 |
} |
79 |
|
83 |
|
80 |
src_install() { |
84 |
src_install() { |
Lines 89-95
Link Here
|
89 |
dobin ./utils/postgis_restore.pl |
93 |
dobin ./utils/postgis_restore.pl |
90 |
|
94 |
|
91 |
if use doc; then |
95 |
if use doc; then |
92 |
cd doc/html |
96 |
docinto html |
|
|
97 |
cd doc |
98 |
dohtml -r *.html |
99 |
cd html |
93 |
dohtml -r * |
100 |
dohtml -r * |
94 |
fi |
101 |
fi |
95 |
|
102 |
|
Lines 98-105
Link Here
|
98 |
|
105 |
|
99 |
cd "${S}/doc" |
106 |
cd "${S}/doc" |
100 |
doman man/* |
107 |
doman man/* |
101 |
insinto /usr/share/postgresql-${PGSLOT}/contrib/postgis-${PGIS}/ |
|
|
102 |
doins postgis_comments.sql |
103 |
} |
108 |
} |
104 |
|
109 |
|
105 |
pkg_postinst() { |
110 |
pkg_postinst() { |