aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-12 19:03:24 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-12 19:03:24 +0000
commited97c5ebc758860e842c64239af5a9411a48e1f4 (patch)
treed1bbe7b7fc093b7b8421c8afaa67438fe177d25f /databases
parent10e28e6cc1f2ab9255b1ff2f1c44a7b860552963 (diff)
downloadports-ed97c5ebc758860e842c64239af5a9411a48e1f4.tar.gz
ports-ed97c5ebc758860e842c64239af5a9411a48e1f4.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBD-CSV/Makefile18
-rw-r--r--databases/p5-DBD-CSV/pkg-plist6
2 files changed, 17 insertions, 7 deletions
diff --git a/databases/p5-DBD-CSV/Makefile b/databases/p5-DBD-CSV/Makefile
index d6faa3eeb3dd..b619ad3225d6 100644
--- a/databases/p5-DBD-CSV/Makefile
+++ b/databases/p5-DBD-CSV/Makefile
@@ -16,13 +16,23 @@ EXTRACT_SUFX= .tgz
MAINTAINER= perl@FreeBSD.org
COMMENT= DBI driver for CSV files
-RUN_DEPENDS= p5-DBI>=1.614:${PORTSDIR}/databases/p5-DBI \
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-DBI>=1.614:${PORTSDIR}/databases/p5-DBI \
p5-SQL-Statement>=1.33:${PORTSDIR}/databases/p5-SQL-Statement \
p5-Text-CSV_XS>=0.71:${PORTSDIR}/textproc/p5-Text-CSV_XS
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MAN3= DBD::CSV.3 Bundle::DBD::CSV.3
+MAN3= Bundle::DBD::CSV.3 \
+ DBD::CSV.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.90:${PORTSDIR}/devel/p5-Test-Simple
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBD-CSV/pkg-plist b/databases/p5-DBD-CSV/pkg-plist
index d1bf0675d9c9..cb79a738455c 100644
--- a/databases/p5-DBD-CSV/pkg-plist
+++ b/databases/p5-DBD-CSV/pkg-plist
@@ -1,8 +1,8 @@
-%%SITE_PERL%%/DBD/CSV.pm
%%SITE_PERL%%/Bundle/DBD/CSV.pm
+%%SITE_PERL%%/DBD/CSV.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/CSV/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/CSV
-@dirrm %%SITE_PERL%%/Bundle/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD
-@dirrmtry %%SITE_PERL%%/Bundle
@dirrmtry %%SITE_PERL%%/DBD
+@dirrm %%SITE_PERL%%/Bundle/DBD
+@dirrmtry %%SITE_PERL%%/Bundle