Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 13:35:54 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330743 - in head/www/p5-RT-Extension-MandatoryOnTransition: . files
Message-ID:  <201310181335.r9IDZsOc071176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Fri Oct 18 13:35:53 2013
New Revision: 330743
URL: http://svnweb.freebsd.org/changeset/ports/330743

Log:
  - Fix build/run depends on www/rt40
  - Stagify
  - Take maintainership
  
  Submitted by:	marko.cupac@mimar.rs
  Approved by:	feld (previous maintainer)

Added:
  head/www/p5-RT-Extension-MandatoryOnTransition/files/
  head/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm   (contents, props changed)
Modified:
  head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
  head/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist   (contents, props changed)

Modified: head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
==============================================================================
--- head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Fri Oct 18 13:33:45 2013	(r330742)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Fri Oct 18 13:35:53 2013	(r330743)
@@ -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

Added: head/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/files/patch-inc_Module_Install_RTx.pm	Fri Oct 18 13:35:53 2013	(r330743)
@@ -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;

Modified: head/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist
==============================================================================
--- head/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist	Fri Oct 18 13:33:45 2013	(r330742)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/pkg-plist	Fri Oct 18 13:35:53 2013	(r330743)
@@ -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-
 @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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181335.r9IDZsOc071176>