summaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI-Plugin/Makefile
diff options
context:
space:
mode:
authorabs <abs>2009-04-12 19:25:25 +0000
committerabs <abs>2009-04-12 19:25:25 +0000
commit6a36918665b6952b61cd5bb397bf96e9e92116ce (patch)
treea127fa9b85718cc68ce0a85e67ccb672a32b159d /databases/p5-Class-DBI-Plugin/Makefile
parent574e4c4c91aed2f0bbe3e38d0369d7be2a026edd (diff)
downloadpkgsrc-6a36918665b6952b61cd5bb397bf96e9e92116ce.tar.gz
Added databases/p5-Class-DBI-Plugin version 0.03
Class::DBI::Plugin is an abstract base class for Class::DBI plugins. Its purpose is to make writing plugins easier. Writers of plugins should be able to concentrate on the functionality their module provides, instead of having to deal with the symbol table hackery involved when writing a plugin module. Only three things must be remembered: 1. All methods which are to exported are given the "Plugged" attribute. All other methods are not exported to the plugged-in class. 2. Method calls which are to be sent to the plugged-in class are put in the init() method. Examples of these are set_sql(), add_trigger() and so on. 3. The class parameter for the init() method and the "Plugged" methods is the plugged-in class, not the plugin class.
Diffstat (limited to 'databases/p5-Class-DBI-Plugin/Makefile')
-rw-r--r--databases/p5-Class-DBI-Plugin/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-Plugin/Makefile b/databases/p5-Class-DBI-Plugin/Makefile
new file mode 100644
index 00000000000..ff440c038c2
--- /dev/null
+++ b/databases/p5-Class-DBI-Plugin/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/12 19:25:25 abs Exp $
+#
+
+DISTNAME= Class-DBI-Plugin-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?Class::DBI::Plugin
+COMMENT= Abstract base class for Class::DBI plugins
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Class-DBI>=0.90:../../databases/p5-Class-DBI
+
+PERL5_PACKLIST= auto/Class/DBI/Plugin/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"