aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2013-10-01 05:53:55 +0800
committermatthew <matthew@FreeBSD.org>2013-10-01 05:53:55 +0800
commit5a717736a7e90e4db23e55babfc60501b3f948e3 (patch)
tree6929ffac7bdb6af173bc01e7bed6bbd76ee1dcdd /www
parent4fcc077e8636399ed59c0a1091b9a8a6703f7791 (diff)
downloadfreebsd-ports-graphics-5a717736a7e90e4db23e55babfc60501b3f948e3.tar.gz
freebsd-ports-graphics-5a717736a7e90e4db23e55babfc60501b3f948e3.tar.zst
freebsd-ports-graphics-5a717736a7e90e4db23e55babfc60501b3f948e3.zip
- stagify the last 4 remaining of my ports
- Add patch for a bug in Module::Import::RTx which doesn't take any account of ${DESTDIR}. This is a known bug upstream which hasn't been fixed in 7 years or so since it was first reported... https://rt.cpan.org/Public/Bug/Display.html?id=12964
Diffstat (limited to 'www')
-rw-r--r--www/p5-RT-Authen-ExternalAuth/Makefile10
-rw-r--r--www/p5-RT-Authen-ExternalAuth/files/patch-inc_Module_Install_RTx.pm14
-rw-r--r--www/p5-RT-Authen-ExternalAuth/pkg-plist6
-rw-r--r--www/p5-RT-Extension-LDAPImport/Makefile2
-rw-r--r--www/p5-RT-Extension-LDAPImport/files/patch-inc_Module_Install_RTx.pm14
-rw-r--r--www/p5-RT-Extension-LDAPImport/pkg-plist3
-rw-r--r--www/p5-RT-Extension-SLA/Makefile17
-rw-r--r--www/p5-RT-Extension-SLA/files/patch-inc_Module_Install_RTx.pm14
-rw-r--r--www/p5-RT-Extension-SLA/pkg-plist12
-rw-r--r--www/p5-RTx-Calendar/Makefile2
-rw-r--r--www/p5-RTx-Calendar/files/patch-inc_Module_Install_RTx.pm14
-rw-r--r--www/p5-RTx-Calendar/pkg-plist3
12 files changed, 80 insertions, 31 deletions
diff --git a/www/p5-RT-Authen-ExternalAuth/Makefile b/www/p5-RT-Authen-ExternalAuth/Makefile
index a67411f68e1..7f7ac54eaeb 100644
--- a/www/p5-RT-Authen-ExternalAuth/Makefile
+++ b/www/p5-RT-Authen-ExternalAuth/Makefile
@@ -23,7 +23,6 @@ USE_PERL5= configure
OPTIONS_DEFINE= RT38
RT38_DESC= Install for rt-3.8.x (default rt-4.0.x)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRT38}
@@ -36,20 +35,19 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
RUN_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
MAN3PREFIX= ${PREFIX}
-MAN3= RT::Authen::ExternalAuth.3 \
- RT::Authen::ExternalAuth::DBI.3 \
- RT::Authen::ExternalAuth::DBI::Cookie.3 \
- RT::Authen::ExternalAuth::LDAP.3
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{38,40}. 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_SCRIPT} && \
- ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
+ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//;' \
+ -e 's,^DESTDIR = ,DESTDIR = ${STAGEDIR},;' Makefile
+
.include <bsd.port.mk>
diff --git a/www/p5-RT-Authen-ExternalAuth/files/patch-inc_Module_Install_RTx.pm b/www/p5-RT-Authen-ExternalAuth/files/patch-inc_Module_Install_RTx.pm
new file mode 100644
index 00000000000..2703d0c788a
--- /dev/null
+++ b/www/p5-RT-Authen-ExternalAuth/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-Authen-ExternalAuth/pkg-plist b/www/p5-RT-Authen-ExternalAuth/pkg-plist
index 35a37b9dfaa..51e934f3e96 100644
--- a/www/p5-RT-Authen-ExternalAuth/pkg-plist
+++ b/www/p5-RT-Authen-ExternalAuth/pkg-plist
@@ -1,4 +1,3 @@
-man/auto/RT/Authen/ExternalAuth/.packlist
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements/Header/Head
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth
@@ -8,6 +7,11 @@ man/auto/RT/Authen/ExternalAuth/.packlist
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
+man/man3/RT::Authen::ExternalAuth.3.gz
+man/man3/RT::Authen::ExternalAuth::DBI.3.gz
+man/man3/RT::Authen::ExternalAuth::DBI::Cookie.3.gz
+man/man3/RT::Authen::ExternalAuth::LDAP.3.gz
+man/auto/RT/Authen/ExternalAuth/.packlist.gz
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen
diff --git a/www/p5-RT-Extension-LDAPImport/Makefile b/www/p5-RT-Extension-LDAPImport/Makefile
index 3e333004bb1..aa387e2f3b6 100644
--- a/www/p5-RT-Extension-LDAPImport/Makefile
+++ b/www/p5-RT-Extension-LDAPImport/Makefile
@@ -23,7 +23,6 @@ USE_PERL5= configure
OPTIONS_DEFINE= RT38
RT38_DESC= Install for rt-3.8.x (default rt-4.0.x)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRT38}
@@ -37,7 +36,6 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
MAN3PREFIX= ${PREFIX}
-MAN3= RT::Extension::LDAPImport.3
PLIST_SUB+= RTHOME=share/rt${RT_VER}
# Note: You can install using an arbitrary $PREFIX but only if it
diff --git a/www/p5-RT-Extension-LDAPImport/files/patch-inc_Module_Install_RTx.pm b/www/p5-RT-Extension-LDAPImport/files/patch-inc_Module_Install_RTx.pm
new file mode 100644
index 00000000000..2703d0c788a
--- /dev/null
+++ b/www/p5-RT-Extension-LDAPImport/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-LDAPImport/pkg-plist b/www/p5-RT-Extension-LDAPImport/pkg-plist
index 95165a432f4..b7c6d9fd22b 100644
--- a/www/p5-RT-Extension-LDAPImport/pkg-plist
+++ b/www/p5-RT-Extension-LDAPImport/pkg-plist
@@ -1,6 +1,7 @@
%%RTHOME%%/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm
%%RTHOME%%/plugins/RT-Extension-LDAPImport/bin/rtldapimport
-man/auto/RT/Extension/LDAPImport/.packlist
+man/auto/RT/Extension/LDAPImport/.packlist.gz
+man/man3/RT::Extension::LDAPImport.3.gz
@dirrm %%RTHOME%%/plugins/RT-Extension-LDAPImport/lib/RT/Extension
@dirrm %%RTHOME%%/plugins/RT-Extension-LDAPImport/lib/RT
@dirrm %%RTHOME%%/plugins/RT-Extension-LDAPImport/lib
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile
index d0d5afaccbf..7266a219133 100644
--- a/www/p5-RT-Extension-SLA/Makefile
+++ b/www/p5-RT-Extension-SLA/Makefile
@@ -23,7 +23,6 @@ USE_PERL5= configure
OPTIONS_DEFINE= RT38
RT38_DESC= Install for rt-3.8.x (default rt-4.0.x)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRT38}
@@ -35,19 +34,6 @@ RT_VER= 40
BUILD_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
RUN_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
-MAN3PREFIX= ${PREFIX}
-
-MAN3= RT::Action::SLA.3 \
- RT::Action::SLA_SetDefault.3 \
- RT::Action::SLA_SetDue.3 \
- RT::Action::SLA_SetStarts.3 \
- RT::Condition::SLA.3 \
- RT::Condition::SLA_RequireDefault.3 \
- RT::Condition::SLA_RequireDueSet.3 \
- RT::Condition::SLA_RequireStartsSet.3 \
- RT::Extension::SLA.3 \
- RT::Queue_SLA.3
-
PLIST_SUB+= RTHOME=share/rt${RT_VER}
SUB_LIST+= RTHOME=share/rt${RT_VER}
@@ -64,7 +50,4 @@ do-configure:
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
-post-install:
- ${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
diff --git a/www/p5-RT-Extension-SLA/files/patch-inc_Module_Install_RTx.pm b/www/p5-RT-Extension-SLA/files/patch-inc_Module_Install_RTx.pm
new file mode 100644
index 00000000000..cf752ddb815
--- /dev/null
+++ b/www/p5-RT-Extension-SLA/files/patch-inc_Module_Install_RTx.pm
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- inc/Module/Install/RTx.pm.orig
++++ inc/Module/Install/RTx.pm
+@@ -100,7 +100,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-SLA/pkg-plist b/www/p5-RT-Extension-SLA/pkg-plist
index 562415278b3..f3be7022fa8 100644
--- a/www/p5-RT-Extension-SLA/pkg-plist
+++ b/www/p5-RT-Extension-SLA/pkg-plist
@@ -1,4 +1,3 @@
-man/auto/RT/Extension/SLA/.packlist
%%RTHOME%%/plugins/RT-Extension-SLA/etc/initialdata
%%RTHOME%%/plugins/RT-Extension-SLA/etc/upgrade/0.06/content
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action/SLA.pm
@@ -13,6 +12,17 @@ man/auto/RT/Extension/SLA/.packlist
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA/Test.pm.in
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Queue_SLA.pm
+man/man3/RT::Action::SLA.3.gz
+man/man3/RT::Action::SLA_SetDefault.3.gz
+man/man3/RT::Action::SLA_SetDue.3.gz
+man/man3/RT::Action::SLA_SetStarts.3.gz
+man/man3/RT::Condition::SLA.3.gz
+man/man3/RT::Condition::SLA_RequireDefault.3.gz
+man/man3/RT::Condition::SLA_RequireDueSet.3.gz
+man/man3/RT::Condition::SLA_RequireStartsSet.3.gz
+man/man3/RT::Extension::SLA.3.gz
+man/man3/RT::Queue_SLA.3.gz
+man/auto/RT/Extension/SLA/.packlist.gz
@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA
@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension
@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition
diff --git a/www/p5-RTx-Calendar/Makefile b/www/p5-RTx-Calendar/Makefile
index 3860f0b69e0..31cb5a557e8 100644
--- a/www/p5-RTx-Calendar/Makefile
+++ b/www/p5-RTx-Calendar/Makefile
@@ -24,7 +24,6 @@ USE_PERL5= configure
OPTIONS_DEFINE= RT38
RT38_DESC= Install for rt-3.8.x (default rt-4.0.x)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRT38}
@@ -38,7 +37,6 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
MAN3PREFIX= ${PREFIX}
-MAN3= RTx::Calendar.3
PLIST_SUB+= RTHOME=share/rt${RT_VER}
post-patch:
diff --git a/www/p5-RTx-Calendar/files/patch-inc_Module_Install_RTx.pm b/www/p5-RTx-Calendar/files/patch-inc_Module_Install_RTx.pm
new file mode 100644
index 00000000000..2703d0c788a
--- /dev/null
+++ b/www/p5-RTx-Calendar/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-RTx-Calendar/pkg-plist b/www/p5-RTx-Calendar/pkg-plist
index 8e5ebc4a307..55c1a2c0b22 100644
--- a/www/p5-RTx-Calendar/pkg-plist
+++ b/www/p5-RTx-Calendar/pkg-plist
@@ -19,7 +19,8 @@
%%RTHOME%%/plugins/RTx-Calendar/html/Callbacks/RTx-Calendar/Ticket/Elements/Tabs/Default
%%RTHOME%%/plugins/RTx-Calendar/html/Callbacks/RTx-Calendar/Elements/Tabs/Privileged
%%RTHOME%%/plugins/RTx-Calendar/html/Callbacks/RTx-Calendar/Elements/Header/Head
-man/auto/RTx/Calendar/.packlist
+man/man3/RTx::Calendar.3.gz
+man/auto/RTx/Calendar/.packlist.gz
@dirrm %%RTHOME%%/plugins/RTx-Calendar/lib/RTx
@dirrm %%RTHOME%%/plugins/RTx-Calendar/lib
@dirrm %%RTHOME%%/plugins/RTx-Calendar/html/Search