Annotation of /trunk/extras/perl-html-parser/perl-html-parser-3.72-r4.smage2
Parent Directory | Revision Log
Revision 31638 -
(hide annotations)
(download)
Wed Dec 5 09:02:28 2018 UTC (5 years, 9 months ago) by niro
File size: 475 byte(s)
Wed Dec 5 09:02:28 2018 UTC (5 years, 9 months ago) by niro
File size: 475 byte(s)
auto added: ver bump to 3.72-r4
1 | niro | 31638 | # $Id$ |
2 | |||
3 | PNAME="perl-html-parser" | ||
4 | PVER="3.72" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | DESCRIPTION="Perl HTML parser class." | ||
8 | |||
9 | DEPEND=">= dev-lang/perl-5.26.1 | ||
10 | >= dev-perl/perl-html-tagset-3.20" | ||
11 | |||
12 | if mqueryfeature "check" | ||
13 | then | ||
14 | SDEPEND+=" | ||
15 | >= dev-perl/perl-test-pod-1" | ||
16 | fi | ||
17 | |||
18 | CPAN_MODULE=HTML-Parser | ||
19 | CPAN_AUTHOR=GAAS | ||
20 | sminclude cpan | ||
21 | |||
22 | postinstall() | ||
23 | { | ||
24 | _PNAME=html-parser | ||
25 | |||
26 | if [[ ! -z $(magequery -n ${_PNAME}) ]] | ||
27 | then | ||
28 | echo "Uninstalling deprecated package '${_PNAME}'..." | ||
29 | mage uninstall "${_PNAME}" | ||
30 | fi | ||
31 | } |