summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Trigger/Makefile26
-rw-r--r--devel/p5-Class-Trigger/distinfo1
-rw-r--r--devel/p5-Class-Trigger/pkg-comment1
-rw-r--r--devel/p5-Class-Trigger/pkg-descr7
-rw-r--r--devel/p5-Class-Trigger/pkg-plist5
6 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 456ca2506cf4..c9a9a0b3ead3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -377,6 +377,7 @@
SUBDIR += p5-Class-ObjectTemplate-DB
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tom
+ SUBDIR += p5-Class-Trigger
SUBDIR += p5-Class-WhiteHole
SUBDIR += p5-Config-Ini
SUBDIR += p5-Config-IniFiles
diff --git a/devel/p5-Class-Trigger/Makefile b/devel/p5-Class-Trigger/Makefile
new file mode 100644
index 000000000000..adf26e2dd489
--- /dev/null
+++ b/devel/p5-Class-Trigger/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Class-Trigger
+# Date created: 06 April 2002
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-Trigger
+PORTVERSION= 0.05
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Class::Trigger.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Trigger/distinfo b/devel/p5-Class-Trigger/distinfo
new file mode 100644
index 000000000000..58a1532f1b27
--- /dev/null
+++ b/devel/p5-Class-Trigger/distinfo
@@ -0,0 +1 @@
+MD5 (Class-Trigger-0.05.tar.gz) = fbaad375bf3320791fff38e699b248e8
diff --git a/devel/p5-Class-Trigger/pkg-comment b/devel/p5-Class-Trigger/pkg-comment
new file mode 100644
index 000000000000..790e630a7a41
--- /dev/null
+++ b/devel/p5-Class-Trigger/pkg-comment
@@ -0,0 +1 @@
+Mixin to add / call inheritable triggers
diff --git a/devel/p5-Class-Trigger/pkg-descr b/devel/p5-Class-Trigger/pkg-descr
new file mode 100644
index 000000000000..a71e4d42a905
--- /dev/null
+++ b/devel/p5-Class-Trigger/pkg-descr
@@ -0,0 +1,7 @@
+Class::Trigger is a mixin class to add / call triggers (or hooks) that
+get called at some points you specify.
+
+WWW: http://search.cpan.org/search?dist=Class-Trigger
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-Class-Trigger/pkg-plist b/devel/p5-Class-Trigger/pkg-plist
new file mode 100644
index 000000000000..7e73e80580aa
--- /dev/null
+++ b/devel/p5-Class-Trigger/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Trigger/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Class/Trigger.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Trigger
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true