aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-Class-DBI-SAK/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-22 22:31:57 +0800
committerkrion <krion@FreeBSD.org>2003-07-22 22:31:57 +0800
commitb0e3f15507cb1cbd38ac82cfb3eccbb6880aa747 (patch)
tree9759f56390db2cab4e8760be755752c4a98b7537 /databases/p5-Class-DBI-SAK/Makefile
parentf06ff39f8819768a19525d99fb0cc54baf07e727 (diff)
downloadfreebsd-ports-gnome-b0e3f15507cb1cbd38ac82cfb3eccbb6880aa747.tar.gz
freebsd-ports-gnome-b0e3f15507cb1cbd38ac82cfb3eccbb6880aa747.tar.zst
freebsd-ports-gnome-b0e3f15507cb1cbd38ac82cfb3eccbb6880aa747.zip
New port databases/p5-Class-DBI-SAK
By taking the busy work out of using Class::DBI as you see fit, your code becomes more useful by size. Most of us end up using at least a couple Class::DBI extensions in our programs, and it's just a pain. Enter the Swiss Army Knife. PR: 54748 Submitted by: Mathieu Arnold <m@absolight.net> Approved by: fjoe (mentor)
Diffstat (limited to 'databases/p5-Class-DBI-SAK/Makefile')
-rw-r--r--databases/p5-Class-DBI-SAK/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-SAK/Makefile b/databases/p5-Class-DBI-SAK/Makefile
new file mode 100644
index 000000000000..0155a739bdb3
--- /dev/null
+++ b/databases/p5-Class-DBI-SAK/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-Class-DBI-SAK
+# Date created: 22 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-SAK
+PORTVERSION= 1.3
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Class::DBI Swiss Army Knife (SAK)
+
+RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/Class/DBI/AbstractSearch.pm:${PORTSDIR}/databases/p5-Class-DBI-AbstractSearch \
+ ${SITE_PERL}/Class/DBI/Pager.pm:${PORTSDIR}/databases/p5-Class-DBI-Pager
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build \
+ ${SITE_PERL}/mixin.pm:${PORTSDIR}/devel/p5-mixin
+
+PERL_CONFIGURE= yes
+
+# Class::DBI::Join is no more
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if (/Class::DBI::Join/ || /'\''Join'\''/)' \
+ ${WRKSRC}/Build.PL ${WRKSRC}/META.yml ${WRKSRC}/lib/Class/DBI/SAK.pm
+
+.include <bsd.port.mk>