head	1.19;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.8
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.4;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.06.02.53;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.08.01.19.36.12;	author matthew;	state Exp;
branches;
next	1.17;

1.17
date	2012.06.07.11.59.52;	author matthew;	state Exp;
branches;
next	1.16;

1.16
date	2012.06.04.19.46.01;	author matthew;	state Exp;
branches;
next	1.15;

1.15
date	2012.06.01.05.25.00;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2012.02.09.17.09.48;	author matthew;	state Exp;
branches;
next	1.13;

1.13
date	2011.10.18.16.02.33;	author flo;	state Exp;
branches;
next	1.12;

1.12
date	2011.09.26.20.01.01;	author dougb;	state Exp;
branches;
next	1.11;

1.11
date	2011.09.26.09.24.18;	author dougb;	state Exp;
branches;
next	1.10;

1.10
date	2010.12.16.02.34.05;	author glarkin;	state Exp;
branches;
next	1.9;

1.9
date	2010.12.10.23.07.09;	author pgollucci;	state Exp;
branches;
next	1.8;

1.8
date	2010.01.21.20.36.49;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2010.01.14.06.23.31;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.31.13.56.34;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2009.05.16.02.33.02;	author pgollucci;	state Exp;
branches;
next	1.4;

1.4
date	2009.03.19.15.42.05;	author amdmi3;	state Exp;
branches;
next	1.3;

1.3
date	2009.02.19.15.33.51;	author wxs;	state Exp;
branches;
next	1.2;

1.2
date	2008.12.19.22.16.17;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.12.14.20.12.18;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switch exporter over
@
text
@# New ports collection Makefile for: RTx-Calendar
# Date created:	        16 August 2008
# Whom:                 Matthew Seaman <m.seaman@@infracaninophile.co.uk>
#
# $FreeBSD: head/www/p5-RTx-Calendar/Makefile 301842 2012-08-01 19:36:12Z matthew $
#

PORTNAME=	RTx-Calendar
PORTVERSION=	0.14
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	matthew@@FreeBSD.org
COMMENT=	Calendar extension module for the RT ticketing system

LICENSE_COMB=   dual
LICENSE=        ART10 GPLv1

BUILD_DEPENDS=	p5-Date-ICal>0:${PORTSDIR}/devel/p5-Date-ICal      \
		p5-Data-ICal>0:${PORTSDIR}/deskutils/p5-Data-ICal  \
		p5-DateTime-Set>0:${PORTSDIR}/devel/p5-DateTime-Set
RUN_DEPENDS:=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

OPTIONS_DEFINE=	RT38
RT38_DESC=	Install for rt-3.8.x (default rt-4.0.x)

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MRT38}
RT_VER=		38
.else
RT_VER=		40
.endif

BUILD_DEPENDS+=	${LOCALBASE}/bin/rt:${PORTSDIR}/www/rt${RT_VER}
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:
	@@${FIND} ${WRKSRC} -name '*.orig' -delete

# 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

.include <bsd.port.mk>
@


1.18
log
@SVN rev 301842 on 2012-08-01 19:36:12Z by matthew

- Update to 0.14
- ChangeLog:

Changes for 0.14
  * Guard the modern stylesheets call on older RTs

Changes for 0.13
  * Serve CSS the modern way on recent RT's
  * Namespace our CSS to avoid styling the RT core UI

Changes for 0.12
  * Copyright updates

Changes for 0.11
  * fixes for characters that were breaking 3.8

Changes for 0.10
  * packaging tweak

Changes for 0.09
  * RT 4 compatibility
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.17
log
@- Don't use SITE_PERL in *_DEPENDS
- Update CONFLICTS [1]

Approved by:	shaun (mentor)
Submitted by:	[1] Sulev-Madis 'ketas' Silber
@
text
@d9 1
a9 2
PORTVERSION=	0.08
PORTREVISION=	3
@


1.16
log
@Update to OPTIONSng framework

Approved by:	    shaun (mentor)
@
text
@d21 3
a23 3
BUILD_DEPENDS=	${SITE_PERL}/Date/ICal.pm:${PORTSDIR}/devel/p5-Date-ICal      \
		${SITE_PERL}/Data/ICal.pm:${PORTSDIR}/deskutils/p5-Data-ICal  \
		${SITE_PERL}/DateTime/Set.pm:${PORTSDIR}/devel/p5-DateTime-Set
d39 2
a40 2
BUILD_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
RUN_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
@


1.15
log
@- update png to 1.5.10
@
text
@d28 2
a29 1
OPTIONS=	RT38 "Install for rt-3.8.x (default rt-4.0.x)" off
d33 1
a33 1
.if defined(WITH_RT38)
@


1.14
log
@Update maintainer address to matthew@@FreeBSD.org

Approved by:	shaun (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.13
log
@- Add support for www/rt40
  * Patches for 4.0.x compatibility obtained from
  https://github.com/bestpractical/rtx-calendar
- Add license
- Pet portlint

PR:		ports/160976
Submitted by:	Matthew Seaman <m.seaman@@infracaninophile.co.uk> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	m.seaman@@infracaninophile.co.uk
@


1.12
log
@Remove support for rt36 in preparation for its removal

Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d18 3
d24 1
a24 1
RUN_DEPENDS=	${BUILD_DEPENDS}
d28 13
a40 3
RTHOME?=	share/rt38
RT_PM_DIR=	${SITE_PERL}
BUILD_DEPENDS+=	${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38
d44 4
a47 1
PLIST_SUB+=	RTHOME=${RTHOME}
d50 1
a50 1
# matches the $PREFIX used to install www/rt3{6,8}.  Hence ignore
d55 1
a55 1
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
@


1.11
log
@Mark FORBIDDEN the remaining ports that are vulnerable for more than
2 weeks according to portaudit (ranging from 23 days to 7 years).
The maintainers were notified by mail that this action would be taken
on 2011-09-03. (Ports for which maintainers responded have been/will be
dealt with separately.)

Also mark DEPRECATED ports that rely on the FORBIDDEN ports, and a few
ports that rely on those DEPRECATED ports.
@
text
@a24 17
OPTIONS=	RT36 "Install for rt-3.6.x (default rt-3.8.x)" off

.include <bsd.port.options.mk>

.if defined(WITH_RT36)

DEPRECATED=	Depends on www/rt36, which is FORBIDDEN
EXPIRATION_DATE=	2011-09-30

RTHOME?=	rt3
RT_PM_DIR=	${LOCALBASE}/${RTHOME}/lib
BUILD_DEPENDS+=	${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt36
PLIST=		${PKGDIR}/pkg-plist.rt36
MAN3PREFIX=	${PREFIX}/${RTHOME}/local

.else

a27 1
PLIST=		${PKGDIR}/pkg-plist.rt38
a29 2
.endif

@


1.10
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d31 3
@


1.9
log
@- Update to 0.08

PR:             ports/152907
Submitted by:   Matthew Seaman <m.seaman@@infracaninophile.co.uk> (maintainer)
Changes:        http://search.cpan.org/dist/RTx-Calendar/Changes
@
text
@d10 1
@


1.8
log
@As reported by pointyhat: env(1) did not grow a '-u' option until
7.1-RELEASE, and we still need to support 6.4-RELEASE.

PR:		ports/142940 ports/142941 ports/142942 ports/142943
Submitted by:	Matthew Seaman <m.seaman@@infracaninophile.co.uk> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.07
PORTREVISION=	2
@


1.7
log
@* Switch to using bsd.port.options.mk
* Track PREFIX settings from the parent www/rt38 or www/rt36 port: has to match, or it won't work.

PR:             ports/142140
Submitted by:   Matthew Seaman <m.seaman@@infracaninophile.co.uk> (maintainer)
@
text
@d55 2
a56 1
	    ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
@


1.6
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@a22 2
OPTIONS=	RT36 "Install for rt-3.6.x (default rt-3.8.x)" off

d25 1
a25 1
MAN3=		RTx::Calendar.3
d27 1
a27 3
PLIST_SUB+=	RTHOME=${RTHOME}

.include <bsd.port.pre.mk>
d47 6
a52 3
# Don't use normal CONFIGURE_ARGS.  Disable doc_?????_indstall targets to
# suppress installing perllocal.pod.  This duplicates code from bsd.perl.mk
# rather undesirably.
d55 1
a55 1
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
d58 1
a58 1
.include <bsd.port.post.mk>
@


1.5
log
@- Update to 2.12
- We busted something upstream and we need GMAKE now
- Bump PORTREVISIONS for p5-libapreq2 ports
    b/c of shared lib bumps

PR:             ports/133694
Approved by:    maintainer timeout (skv; 1 month 2 days)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.4
log
@- Update to 0.07

PR:		132757
Submitted by:	Matthew Seaman <m dot seaman at infracaninophile dot co dot uk> (maintainer)
@
text
@d10 1
@


1.3
log
@- Update to 0.06
- Provide rt38 compatability (default)
- Optionally install for rt36
- Split pkg-plist into pkg-plist.rt36 and pkg-plist.rt38

PR:		ports/131698
Submitted by:	Matthew Seaman <m.seaman@@infracaninophile.co.uk> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.06
@


1.2
log
@- Fix build

Submitted by:	maintainer via private mail
Reported by:	ionbot
@
text
@d9 1
a9 1
PORTVERSION=	0.05
d17 1
a17 2
BUILD_DEPENDS=	${LOCALBASE}/${RTHOME}/bin/rt:${PORTSDIR}/www/rt36     	      \
		${SITE_PERL}/Date/ICal.pm:${PORTSDIR}/devel/p5-Date-ICal      \
d22 6
a27 1
RTHOME?=	rt3
d30 3
a32 2
PERL_CONFIGURE=	yes
CONFIGURE_ENV+=	RTHOME=${PREFIX}/${RTHOME}
d34 4
d39 10
a48 1
MAN3=		RTx::Calendar.3
d55 1
a55 1
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
d58 1
a58 1
.include <bsd.port.mk>
@


1.1
log
@This RT extension provides a calendar view for your tickets and your
reminders so you see when is your next due ticket. You can find it in
the menu Search->Calendar.

There's a portlet to put on your home page (see Prefs/MyRT.html)

You can also enable ics (ICal) feeds for your default calendar and all
your private searches in Prefs/Calendar.html. Authentication is magic
number based so that you can give those feeds to other people.

You can find screenshots on
http://gaspard.mine.nu/dotclear/index.php?tag/rtx-calendar

WWW: http://search.cpan.org/dist/RTx-Calendar/

PR:		ports/126781
Submitted by:	Matthew Seaman <m.seaman at infracaninophile.co.uk>
@
text
@d32 3
a34 1
# Don't use normal CONFIGURE_ARGS
d37 2
a38 2
	    ${SETENV} ${CONFIGURE_ENV} \
	    ${PERL5} ./${CONFIGURE_SCRIPT}
@

