aboutsummaryrefslogtreecommitdiff
path: root/www/p5-RT-Extension-MandatoryOnTransition
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2013-10-18 13:35:53 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2013-10-18 13:35:53 +0000
commite7d08823d3dac708cd39a40f626747dcdb20242e (patch)
tree8880dd377e1ba820324d4fd617316d6ced846972 /www/p5-RT-Extension-MandatoryOnTransition
parent919f9fb8306ceb0f06f13dae52f6309dfeeeccd2 (diff)
downloadports-e7d08823d3dac708cd39a40f626747dcdb20242e.tar.gz
ports-e7d08823d3dac708cd39a40f626747dcdb20242e.zip
Notes
Diffstat (limited to 'www/p5-RT-Extension-MandatoryOnTransition')
-rw-r--r--www/p5-RT-Extension-MandatoryOnTransition/Makefile12
-rw-r--r--www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm14
-rw-r--r--www/p5-RT-Extension-MandatoryOnTransition/pkg-plist11
3 files changed, 24 insertions, 13 deletions
diff --git a/www/p5-RT-Extension-MandatoryOnTransition/Makefile b/www/p5-RT-Extension-MandatoryOnTransition/Makefile
index 030c374815ef..c5ee7bb38ab7 100644
--- a/www/p5-RT-Extension-MandatoryOnTransition/Makefile
+++ b/www/p5-RT-Extension-MandatoryOnTransition/Makefile
@@ -7,25 +7,21 @@ CATEGORIES= www net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= feld@FreeBSD.org
+MAINTAINER= matthew@FreeBSD.org
COMMENT= Extension to require core and ticket custom fields on status changes
LICENSE= GPLv2
-BUILD_DEPENDS= rt>4.0.8:${PORTSDIR}/www/rt${RT_VER}
-RUN_DEPENDS= rt>4.0.8:${PORTSDIR}/www/rt${RT_VER}
+BUILD_DEPENDS= rt${RT_VER}>4.0.8:${PORTSDIR}/www/rt${RT_VER}
+RUN_DEPENDS= rt${RT_VER}>4.0.8:${PORTSDIR}/www/rt${RT_VER}
USES= perl5
USE_PERL5= configure
-MAN3= RT::Extension::MandatoryOnTransition.3
PLIST_SUB+= RT_VER=${RT_VER}
RT_VER= 40
-NO_STAGE= yes
-post-patch:
- ${REINPLACE_CMD} -e 's,$$RT::LocalPath/man/man3,${PREFIX}/lib/perl5/${PERL_VER}/man/man3,g' ${WRKSRC}/inc/Module/Install/RTx.pm
- ${REINPLACE_CMD} -e 's,$$RT::LocalPath/man,${PREFIX}/lib/perl5/${PERL_VER}/man,g' ${WRKSRC}/inc/Module/Install/RTx.pm
+#MAN3PREFIX= ${PREFIX}
# Note: You can install using an arbitrary $PREFIX but only if it
# matches the $PREFIX used to install www/rt{38,40}. Hence ignore
diff --git a/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm b/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm
new file mode 100644
index 000000000000..2703d0c788a0
--- /dev/null
+++ b/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- inc/Module/Install/RTx.pm.orig
++++ inc/Module/Install/RTx.pm
+@@ -101,7 +101,7 @@
+ 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{$_}") }
+ grep $subdirs{$_}, keys %path;
+
+ print "./$_\t=> $path{$_}\n" for sort keys %subdirs;
diff --git a/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist b/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist
index 5262bc3623cb..e768a84ef799 100644
--- a/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist
+++ b/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist
@@ -1,4 +1,5 @@
-lib/perl5/5.14/man/auto/RT/Extension/MandatoryOnTransition/.packlist
+man/auto/RT/Extension/MandatoryOnTransition/.packlist.gz
+man/man3/RT::Extension::MandatoryOnTransition.3.gz
share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Create.html/BeforeCreate
share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Elements/EditCustomFields/MassageCustomFields
share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/html/Callbacks/RT-Extension-MandatoryOnTransition/Ticket/Update.html/AfterWorked
@@ -26,7 +27,7 @@ share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/lib/RT/Extension/M
@dirrm share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/html/Callbacks
@dirrm share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition/html
@dirrm share/rt%%RT_VER%%/plugins/RT-Extension-MandatoryOnTransition
-@dirrm lib/perl5/5.14/man/auto/RT/Extension/MandatoryOnTransition
-@dirrm lib/perl5/5.14/man/auto/RT/Extension
-@dirrm lib/perl5/5.14/man/auto/RT
-@dirrm lib/perl5/5.14/man/auto
+@dirrmtry man/auto/RT/Extension/MandatoryOnTransition
+@dirrmtry man/auto/RT/Extension
+@dirrmtry man/auto/RT
+@dirrmtry man/auto