aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-DataCash
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-08-13 14:16:00 +0000
committerMark Murray <markm@FreeBSD.org>2001-08-13 14:16:00 +0000
commit619c121d3faa3bbcbe5705eb16853ec8f128a499 (patch)
tree5a30a40cede4f5caceca4add35f5403e67a1821f /misc/p5-DataCash
parent569ae062b44f04f446a1e684ee100f6ba5c8574f (diff)
downloadports-619c121d3faa3bbcbe5705eb16853ec8f128a499.tar.gz
ports-619c121d3faa3bbcbe5705eb16853ec8f128a499.zip
Notes
Diffstat (limited to 'misc/p5-DataCash')
-rw-r--r--misc/p5-DataCash/Makefile8
-rw-r--r--misc/p5-DataCash/files/patch-Makefile.PL20
-rw-r--r--misc/p5-DataCash/pkg-plist13
3 files changed, 34 insertions, 7 deletions
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 <bsd.port.mk>
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