aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-12-15 04:09:57 +0800
committermiwi <miwi@FreeBSD.org>2008-12-15 04:09:57 +0800
commit74ade284116e1b7afb8af49559b8ba0edd1954c1 (patch)
tree15b7d23163de0e488887cd6280bfac72122e2528
parentfaed2396c0d836bd226cf1eafa648a87e1657c8d (diff)
downloadfreebsd-ports-gnome-74ade284116e1b7afb8af49559b8ba0edd1954c1.tar.gz
freebsd-ports-gnome-74ade284116e1b7afb8af49559b8ba0edd1954c1.tar.zst
freebsd-ports-gnome-74ade284116e1b7afb8af49559b8ba0edd1954c1.zip
RT's extension that allows you to automate due dates using service levels.
WWW: http://search.cpan.org/perldoc?RT::Extension::SLA PR: ports/126779 Submitted by: Matthew Seaman <m.seaman at infracaninophile.co.uk>
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-RT-Extension-SLA/Makefile39
-rw-r--r--www/p5-RT-Extension-SLA/distinfo3
-rw-r--r--www/p5-RT-Extension-SLA/pkg-descr3
-rw-r--r--www/p5-RT-Extension-SLA/pkg-plist26
5 files changed, 72 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4dd1b01bf982..afb5a3dd5b5e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -955,6 +955,7 @@
SUBDIR += p5-PodToHTML
SUBDIR += p5-RT-Client-REST
SUBDIR += p5-RT-Extension-LDAPImport
+ SUBDIR += p5-RT-Extension-SLA
SUBDIR += p5-RTx-Statistics
SUBDIR += p5-Reaction
SUBDIR += p5-SCGI
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile
new file mode 100644
index 000000000000..56ad92866698
--- /dev/null
+++ b/www/p5-RT-Extension-SLA/Makefile
@@ -0,0 +1,39 @@
+# New ports collection Makefile for: RT-Extension-SLA
+# Date created: 23 August 2008
+# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= RT-Extension-SLA
+PORTVERSION= 0.02
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m.seaman@infracaninophile.co.uk
+COMMENT= RT extension to automate due dates using service levels
+
+BUILD_DEPENDS= ${LOCALBASE}/${RTHOME}/bin/rt:${PORTSDIR}/www/rt36 \
+ ${SITE_PERL}/Business/Hours.pm:${PORTSDIR}/misc/p5-Business-Hours
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+RTHOME?= rt3
+PLIST_SUB+= RTHOME=${RTHOME}
+
+PERL_CONFIGURE= yes
+CONFIGURE_ENV+= RTHOME=${PREFIX}/${RTHOME}
+
+MAN3PREFIX?= ${PREFIX}/${RTHOME}/local
+MAN3= RT::Action::SLA_SetDefault.3 \
+ RT::Condition::SLA_RequireDueSet.3 RT::Condition::SLA.3 \
+ RT::Condition::SLA_RequireDefault.3 RT::Extension::SLA.3 \
+ RT::Condition::SLA_RequireStartsSet.3 RT::Queue_SLA.3 \
+ RT::Action::SLA_SetStarts.3 RT::Action::SLA.3
+
+# Don't use normal CONFIGURE_ARGS
+do-configure:
+ @cd ${CONFIGURE_WRKSRC} && \
+ ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
diff --git a/www/p5-RT-Extension-SLA/distinfo b/www/p5-RT-Extension-SLA/distinfo
new file mode 100644
index 000000000000..3c80960a0ba7
--- /dev/null
+++ b/www/p5-RT-Extension-SLA/distinfo
@@ -0,0 +1,3 @@
+MD5 (RT-Extension-SLA-0.02.tar.gz) = 076d254fcbfaa43d07390c5dc0c21017
+SHA256 (RT-Extension-SLA-0.02.tar.gz) = 0e130026186de869bd76d5e2d3c832e2a78eaa3d2bc38b0f8e738035942dc8d6
+SIZE (RT-Extension-SLA-0.02.tar.gz) = 33468
diff --git a/www/p5-RT-Extension-SLA/pkg-descr b/www/p5-RT-Extension-SLA/pkg-descr
new file mode 100644
index 000000000000..7ff5889c6c31
--- /dev/null
+++ b/www/p5-RT-Extension-SLA/pkg-descr
@@ -0,0 +1,3 @@
+RT's extension that allows you to automate due dates using service levels.
+
+WWW: http://search.cpan.org/perldoc?RT::Extension::SLA
diff --git a/www/p5-RT-Extension-SLA/pkg-plist b/www/p5-RT-Extension-SLA/pkg-plist
new file mode 100644
index 000000000000..be97f4cd19af
--- /dev/null
+++ b/www/p5-RT-Extension-SLA/pkg-plist
@@ -0,0 +1,26 @@
+%%RTHOME%%/local/etc/Extension-SLA/initialdata
+%%RTHOME%%/local/lib/RT/Action/SLA.pm
+%%RTHOME%%/local/lib/RT/Action/SLA_SetDefault.pm
+%%RTHOME%%/local/lib/RT/Action/SLA_SetDue.pm
+%%RTHOME%%/local/lib/RT/Action/SLA_SetStarts.pm
+%%RTHOME%%/local/lib/RT/Condition/SLA.pm
+%%RTHOME%%/local/lib/RT/Condition/SLA_RequireDefault.pm
+%%RTHOME%%/local/lib/RT/Condition/SLA_RequireDueSet.pm
+%%RTHOME%%/local/lib/RT/Condition/SLA_RequireStartsSet.pm
+%%RTHOME%%/local/lib/RT/Extension/SLA.pm
+%%RTHOME%%/local/lib/RT/Queue_SLA.pm
+%%RTHOME%%/local/man/auto/RT/Extension/SLA/.packlist
+@dirrm %%RTHOME%%/local/etc/Extension-SLA
+@dirrmtry %%RTHOME%%/local/etc
+@dirrmtry %%RTHOME%%/local/lib/RT/Extension
+@dirrmtry %%RTHOME%%/local/lib/RT/Condition
+@dirrmtry %%RTHOME%%/local/lib/RT/Action
+@dirrmtry %%RTHOME%%/local/lib/RT
+@dirrmtry %%RTHOME%%/local/lib
+@dirrmtry %%RTHOME%%/local/man/man3
+@dirrm %%RTHOME%%/local/man/auto/RT/Extension/SLA
+@dirrmtry %%RTHOME%%/local/man/auto/RT/Extension
+@dirrmtry %%RTHOME%%/local/man/auto/RT
+@dirrmtry %%RTHOME%%/local/man/auto
+@dirrmtry %%RTHOME%%/local/man
+@dirrmtry %%RTHOME%%/local