Contents of /trunk/extras/perl-test-pod/perl-test-pod-1.51-r2.smage2
Parent Directory | Revision Log
Revision 29943 -
(show annotations)
(download)
Thu Oct 19 10:35:50 2017 UTC (6 years, 11 months ago) by niro
File size: 376 byte(s)
Thu Oct 19 10:35:50 2017 UTC (6 years, 11 months ago) by niro
File size: 376 byte(s)
auto added: ver bump to 1.51-r2
1 | # $Id$ |
2 | |
3 | PNAME="perl-test-pod" |
4 | PVER="1.51" |
5 | PBUILD="r2" |
6 | |
7 | DESCRIPTION="Check for POD errors in files." |
8 | |
9 | SDEPEND=">= dev-perl/perl-module-build-0.4220" |
10 | |
11 | CPAN_MODULE=Test-Pod |
12 | CPAN_AUTHOR=ETHER |
13 | sminclude cpan |
14 | |
15 | postinstall() |
16 | { |
17 | _PNAME=test-pod |
18 | |
19 | if [[ ! -z $(magequery -n ${_PNAME}) ]] |
20 | then |
21 | echo "Uninstalling deprecated package '${_PNAME}'..." |
22 | mage uninstall "${_PNAME}" |
23 | fi |
24 | } |