View | Details | Raw Unified | Return to bug 262565
Collapse All | Expand All

(-)b/www/p5-RTx-Calendar/Makefile (-3 / +14 lines)
Lines 22-31 RUN_DEPENDS= p5-Date-ICal>0:devel/p5-Date-ICal \ Link Here
22
		p5-DateTime-Set>0:devel/p5-DateTime-Set \
22
		p5-DateTime-Set>0:devel/p5-DateTime-Set \
23
		${LOCALBASE}/bin/rt:www/rt${RT_VER}
23
		${LOCALBASE}/bin/rt:www/rt${RT_VER}
24
24
25
USES=		perl5
25
FLAVOR?=	${FLAVORS:[1]}
26
USE_PERL5=	configure
26
FLAVORS=	rt44 rt50
27
rt44_PKGNAMEPREFIX=	p5-RT44-
28
rt44_CONFLICTS_INSTALL= rt50
29
rt50_PKGNAMEPREFIX=	p5-RT50-
30
rt50_CONFLICTS_INSTALL= rt44
27
31
32
.if ${FLAVOR} == rt44
28
RT_VER=		44
33
RT_VER=		44
34
.elif ${FLAVOR} == rt50
35
RT_VER=		50
36
.endif
37
38
USES=		perl5
39
USE_PERL5=	configure
29
40
30
NO_ARCH=	yes
41
NO_ARCH=	yes
31
42
Lines 35-41 post-patch: Link Here
35
	@${FIND} ${WRKSRC} -name '*.orig' -delete
46
	@${FIND} ${WRKSRC} -name '*.orig' -delete
36
47
37
# Note: You can install using an arbitrary $PREFIX but only if it
48
# Note: You can install using an arbitrary $PREFIX but only if it
38
# matches the $PREFIX used to install www/rt44.  Hence ignore
49
# matches the $PREFIX used to install www/rt{44,50}.  Hence ignore
39
# $PREFIX in the environment and inherit settings from RT.pm
50
# $PREFIX in the environment and inherit settings from RT.pm
40
do-configure:
51
do-configure:
41
	@cd ${CONFIGURE_WRKSRC} && \
52
	@cd ${CONFIGURE_WRKSRC} && \

Return to bug 262565