mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
6f42637828
I no longer have any RT setups to maintain.
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# Created by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
|
|
|
|
PORTNAME= RTx-Calendar
|
|
PORTVERSION= 1.03
|
|
PORTREVISION= 1
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Calendar extension module for the RT ticketing system
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= p5-Date-ICal>0:devel/p5-Date-ICal \
|
|
p5-Data-ICal>0:deskutils/p5-Data-ICal \
|
|
p5-DateTime-Set>0:devel/p5-DateTime-Set \
|
|
${LOCALBASE}/bin/rt:www/rt${RT_VER}
|
|
RUN_DEPENDS= p5-Date-ICal>0:devel/p5-Date-ICal \
|
|
p5-Data-ICal>0:deskutils/p5-Data-ICal \
|
|
p5-DateTime-Set>0:devel/p5-DateTime-Set \
|
|
${LOCALBASE}/bin/rt:www/rt${RT_VER}
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
RT_VER= 44
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_SUB+= RTHOME=share/rt${RT_VER}
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
|
|
|
# Note: You can install using an arbitrary $PREFIX but only if it
|
|
# matches the $PREFIX used to install www/rt44. 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_CMD} && \
|
|
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PREFIX}/man/auto/RTx/Calendar/.packlist
|
|
${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RTx/Calendar 2>/dev/null || :
|
|
|
|
.include <bsd.port.mk>
|