| … | |
… | |
| 732 | . $gcpan_run->{portage}{$portage_name}{category} . "/" |
732 | . $gcpan_run->{portage}{$portage_name}{category} . "/" |
| 733 | . $gcpan_run->{portage}{$portage_name}{name} . "\n\t"; |
733 | . $gcpan_run->{portage}{$portage_name}{name} . "\n\t"; |
| 734 | } |
734 | } |
| 735 | } |
735 | } |
| 736 | print $EBUILD "dev-lang/perl\"\n"; |
736 | print $EBUILD "dev-lang/perl\"\n"; |
|
|
737 | if (defined($buildpkg) or defined($buildpkgonly)) { |
|
|
738 | print $EBUILD "\npkg_postinst() {\n"; |
|
|
739 | print $EBUILD "elog \"If you redistribute this package, please remember to\"\n"; |
|
|
740 | print $EBUILD "elog \"update /etc/portage/packages with an entry for perl-gpcan\"\n"; |
|
|
741 | |
|
|
742 | print $EBUILD "}\n"; |
|
|
743 | } |
| 737 | undef $EBUILD; |
744 | undef $EBUILD; |
| 738 | autoflush STDOUT 1; |
745 | autoflush STDOUT 1; |
| 739 | } |
746 | } |
| 740 | if (-f $gcpan_run->{cpan}{lc($original_ebuild)}{cpan_tarball}) |
747 | if (-f $gcpan_run->{cpan}{lc($original_ebuild)}{cpan_tarball}) |
| 741 | { |
748 | { |