1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Update to version 0.05

- Add support for www/rt40
- Add license
- Pet portlint

PR:		ports/160955
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
This commit is contained in:
Florian Smeets 2011-10-18 15:50:57 +00:00
parent 62c2faf7ba
commit 5073517da6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283823
3 changed files with 25 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= RT-Extension-SLA
PORTVERSION= 0.04
PORTVERSION= 0.05
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -14,17 +14,28 @@ PKGNAMEPREFIX= p5-
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= RT extension to automate due dates using service levels
LICENSE= GPLv2
BUILD_DEPENDS= ${SITE_PERL}/Business/Hours.pm:${PORTSDIR}/misc/p5-Business-Hours
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS:= ${BUILD_DEPENDS}
LICENSE= GPLv2
PERL_CONFIGURE= yes
RTHOME?= share/rt38
SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata
RT_PM_DIR= ${SITE_PERL}
BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38
OPTIONS= RT38 "Install for rt-3.8.x (default rt-4.0.x)" off
.include <bsd.port.options.mk>
.if defined(WITH_RT38)
RT_VER= 38
.else
RT_VER= 40
.endif
BUILD_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
RUN_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
MAN3PREFIX= ${PREFIX}
MAN3= RT::Action::SLA.3 \
@ -38,9 +49,10 @@ MAN3= RT::Action::SLA.3 \
RT::Extension::SLA.3 \
RT::Queue_SLA.3
PLIST_SUB+= RTHOME=${RTHOME}
PLIST_SUB+= RTHOME=share/rt${RT_VER}
SUB_LIST+= RTHOME=${RTHOME}
SUB_LIST+= RTHOME=share/rt${RT_VER}
SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata
SUB_FILES+= pkg-message
# Note: You can install using an arbitrary $PREFIX but only if it
@ -49,7 +61,7 @@ SUB_FILES+= pkg-message
do-configure:
@cd ${CONFIGURE_WRKSRC} && \
unset PREFIX && \
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (RT-Extension-SLA-0.04.tar.gz) = 1e024a353cdeec0b1ef0dc0e1711129a678add8530fee67466e40c0095c774ab
SIZE (RT-Extension-SLA-0.04.tar.gz) = 41584
SHA256 (RT-Extension-SLA-0.05.tar.gz) = 0e74e6beb91c8cf0fabfcd6760f0c807f318499e67b6f26ea9aeefb1fb345491
SIZE (RT-Extension-SLA-0.05.tar.gz) = 41842

View File

@ -8,8 +8,10 @@ man/auto/RT/Extension/SLA/.packlist
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireDefault.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireDueSet.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA/Test.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA.pm
%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Queue_SLA.pm
@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
@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action