From 619c121d3faa3bbcbe5705eb16853ec8f128a499 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 13 Aug 2001 14:16:00 +0000 Subject: Grr. I badly broke this port's installation. Fix in a klugy sort of way untill I can revisit. --- misc/p5-DataCash/Makefile | 8 ++++++-- misc/p5-DataCash/files/patch-Makefile.PL | 20 ++++++++++++++++++++ misc/p5-DataCash/pkg-plist | 13 ++++++++----- 3 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 misc/p5-DataCash/files/patch-Makefile.PL (limited to 'misc/p5-DataCash') diff --git a/misc/p5-DataCash/Makefile b/misc/p5-DataCash/Makefile index bab618be015c..ef74d06355df 100644 --- a/misc/p5-DataCash/Makefile +++ b/misc/p5-DataCash/Makefile @@ -15,12 +15,16 @@ MAINTAINER= markm@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/CSV.pm:${PORTSDIR}/devel/p5-Text-CSV + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/CSV.pm:${PORTSDIR}/devel/p5-Text-CSV PERL_CONFIGURE= yes -MAN3= CCCheck.3 +MAN3= CCCheck.3 \ + DataCash::External.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +post-extract: + find ${WRKSRC} -type f -exec perl -spi -e 's/\r//g' {} ';' + .include diff --git a/misc/p5-DataCash/files/patch-Makefile.PL b/misc/p5-DataCash/files/patch-Makefile.PL new file mode 100644 index 000000000000..d9485a671f22 --- /dev/null +++ b/misc/p5-DataCash/files/patch-Makefile.PL @@ -0,0 +1,20 @@ +--- Makefile.PL.orig Mon Aug 13 15:03:10 2001 ++++ Makefile.PL Mon Aug 13 15:07:05 2001 +@@ -52,12 +52,12 @@ + } + + WriteMakefile( +- 'NAME' => 'DataCash::External', ++ 'NAME' => 'External', + 'VERSION_FROM' => 'DataCash/External.pm', + 'PREREQ_PM' => $deps, +- 'dist' => { +- COMPRESS => 'gzip', +- SUFFIX => 'gz', +- }, ++ 'PM' => { 'DataCash/External.pm' => '$(INST_LIBDIR)/DataCash/External.pm', ++ 'datacash.pl' => '$(INST_LIBDIR)/DataCash/datacash.pl', ++ 'File/KGlob.pm' => '$(INST_LIBDIR)/File/KGlob.pm', ++ 'File/KGlob2RE.pm' => '$(INST_LIBDIR)/File/KGlob2RE.pm' } + ); + diff --git a/misc/p5-DataCash/pkg-plist b/misc/p5-DataCash/pkg-plist index ed659bd39591..473df0c42baa 100644 --- a/misc/p5-DataCash/pkg-plist +++ b/misc/p5-DataCash/pkg-plist @@ -1,9 +1,12 @@ -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DataCash/External/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/External/.packlist lib/perl5/site_perl/%%PERL_VER%%/CCCheck.pm lib/perl5/site_perl/%%PERL_VER%%/CCCheck/visa.db lib/perl5/site_perl/%%PERL_VER%%/CCCheck/mastercard.db +lib/perl5/site_perl/%%PERL_VER%%/DataCash/External.pm lib/perl5/site_perl/%%PERL_VER%%/DataCash/datacash.pl -@dirrm lib/perl5/site_perl/5.6.0/mach/auto/DataCash/External -@dirrm lib/perl5/site_perl/5.6.0/mach/auto/DataCash -@dirrm lib/perl5/site_perl/5.6.0/CCCheck -@dirrm lib/perl5/site_perl/5.6.0/DataCash +lib/perl5/site_perl/%%PERL_VER%%/File/KGlob.pm +lib/perl5/site_perl/%%PERL_VER%%/File/KGlob2RE.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/External +@dirrm lib/perl5/site_perl/%%PERL_VER%%/CCCheck +@dirrm lib/perl5/site_perl/%%PERL_VER%%/DataCash +@dirrm lib/perl5/site_perl/%%PERL_VER%%/File -- cgit v1.2.3