svn commit: r422229 - in head/www: . p5-RT-Extension-QuickAssign p5-RT-Extension-QuickAssign/files
Matthew Seaman
matthew at FreeBSD.org
Thu Sep 15 20:48:04 UTC 2016
Author: matthew
Date: Thu Sep 15 20:48:02 2016
New Revision: 422229
URL: https://svnweb.freebsd.org/changeset/ports/422229
Log:
RT's extension that adds owner change links on ticket display page.
WWW: http://search.cpan.org/dist/RT-Extension-QuickAssign/
PR: 212706
Submitted by: Michael Schout <mschout at gkg.net>
Added:
head/www/p5-RT-Extension-QuickAssign/
head/www/p5-RT-Extension-QuickAssign/Makefile (contents, props changed)
head/www/p5-RT-Extension-QuickAssign/distinfo (contents, props changed)
head/www/p5-RT-Extension-QuickAssign/files/
head/www/p5-RT-Extension-QuickAssign/files/patch-inc-Module-Install-RTx.pm (contents, props changed)
head/www/p5-RT-Extension-QuickAssign/pkg-descr (contents, props changed)
head/www/p5-RT-Extension-QuickAssign/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Thu Sep 15 20:46:57 2016 (r422228)
+++ head/www/Makefile Thu Sep 15 20:48:02 2016 (r422229)
@@ -1163,6 +1163,7 @@
SUBDIR += p5-RT-Extension-CommandByMail
SUBDIR += p5-RT-Extension-LDAPImport
SUBDIR += p5-RT-Extension-MandatoryOnTransition
+ SUBDIR += p5-RT-Extension-QuickAssign
SUBDIR += p5-RT-Extension-SLA
SUBDIR += p5-RTx-Calendar
SUBDIR += p5-Reaction
Added: head/www/p5-RT-Extension-QuickAssign/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-RT-Extension-QuickAssign/Makefile Thu Sep 15 20:48:02 2016 (r422229)
@@ -0,0 +1,56 @@
+# Created by: Michael Schout <mschout at gkg.net>
+# $FreeBSD$
+
+PORTNAME= RT-Extension-QuickAssign
+PORTVERSION= 1.00
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sysadmin at gkg.net
+COMMENT= RT Extension to add owner change links on ticket display page
+
+LICENSE= GPLv2
+
+# this is not compatible with RT 4.4 at this time.
+OPTIONS_SINGLE= RTVERSION
+OPTIONS_SINGLE_RTVERSION= RT40 RT42
+RT40_DESC= Install for rt-4.0.x (www/rt40)
+RT42_DESC= Install for rt-4.2.x (www/rt42)
+OPTIONS_DEFAULT= RT42
+
+.include <bsd.port.options.mk>
+
+.for opt in ${OPTIONS_SINGLE_RTVERSION}
+.if ${PORT_OPTIONS:M${opt}}
+RT_VER= ${opt:S/RT//}
+.endif
+.endfor
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/rt:www/rt${RT_VER}
+RUN_DEPENDS= ${LOCALBASE}/bin/rt:www/rt${RT_VER}
+
+NO_ARCH= yes
+
+USES= perl5
+USE_PERL5= configure
+
+PLIST_SUB+= RTHOME=share/rt${RT_VER}
+
+# Note: You can install using an arbitrary $PREFIX but only if it
+# matches the $PREFIX used to install www/rt{40,42,44}. Hence ignore
+# $PREFIX in the environment and inherit settings from RT.pm
+do-configure:
+ @cd ${CONFIGURE_WRKSRC} && \
+ unset PREFIX && \
+ ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ${CONFIGURE_CMD} && \
+ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
+
+post-configure:
+ ${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
+
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/QuickAssign/.packlist
+ ${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/QuickAssign 2>/dev/null || :
+
+.include <bsd.port.mk>
Added: head/www/p5-RT-Extension-QuickAssign/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-RT-Extension-QuickAssign/distinfo Thu Sep 15 20:48:02 2016 (r422229)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1473873656
+SHA256 (RT-Extension-QuickAssign-1.00.tar.gz) = d9058465135ae5904fab7674a9eda5009ffec3dab6ca0e260a35b5c915e93496
+SIZE (RT-Extension-QuickAssign-1.00.tar.gz) = 35830
Added: head/www/p5-RT-Extension-QuickAssign/files/patch-inc-Module-Install-RTx.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-RT-Extension-QuickAssign/files/patch-inc-Module-Install-RTx.pm Thu Sep 15 20:48:02 2016 (r422229)
@@ -0,0 +1,11 @@
+--- inc/Module/Install/RTx.pm.orig 2014-12-16 17:48:55 UTC
++++ inc/Module/Install/RTx.pm
+@@ -85,7 +85,7 @@ sub RTx {
+ my %index = map { $_ => 1 } @INDEX_DIRS;
+ $self->no_index( directory => $_ ) foreach grep !$index{$_}, @DIRS;
+
+- my $args = join ', ', map "q($_)", map { ($_, $path{$_}) }
++ my $args = join ', ', map "q($_)", map { ($_, "\$(DESTDIR)$path{$_}") }
+ sort keys %path;
+
+ printf "%-10s => %s\n", $_, $path{$_} for sort keys %path;
Added: head/www/p5-RT-Extension-QuickAssign/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-RT-Extension-QuickAssign/pkg-descr Thu Sep 15 20:48:02 2016 (r422229)
@@ -0,0 +1,3 @@
+RT's extension that adds owner change links on ticket display page.
+
+WWW: http://search.cpan.org/dist/RT-Extension-QuickAssign/
Added: head/www/p5-RT-Extension-QuickAssign/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-RT-Extension-QuickAssign/pkg-plist Thu Sep 15 20:48:02 2016 (r422229)
@@ -0,0 +1,3 @@
+man/man3/RT::Extension::QuickAssign.3.gz
+%%RTHOME%%/plugins/RT-Extension-QuickAssign/html/Callbacks/QuickAssign/Elements/Tabs/Privileged
+%%RTHOME%%/plugins/RT-Extension-QuickAssign/lib/RT/Extension/QuickAssign.pm
More information about the svn-ports-head
mailing list