freebsd-ports/www/p5-Kwiki-ModPerl/Makefile
Cheng-Lung Sung 5a765ecbe4 - s,BROKEN,IGNORE
Noted by:	kris@
2007-04-30 07:49:47 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: p5-Kwiki-ModPerl
# Date created: Wed Apr 6 16:30:34 CST 2005
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= Kwiki-ModPerl
PORTVERSION= 0.09
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Kwiki
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Enable Kwiki to work under mod_perl
BUILD_DEPENDS= ${SITE_PERL}/Kwiki.pm:${PORTSDIR}/www/p5-Kwiki
RUN_DEPENDS= ${BUILD_DEPENDS}
DEPRECATED= already bundled in www/p5-Kwiki (0.39 or latter)
EXPIRATION_DATE= 2007-07-28
IGNORE= ${DEPRECATED}
PERL_CONFIGURE= yes
.if defined(WITH_APACHE2)
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
pre-patch:
@${REINPLACE_CMD} -e 's|mod_perl|mod_perl2|g' ${WRKSRC}/Makefile.PL
.else
BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
.endif
MAN3= Kwiki::ModPerl.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires Perl 5.8.0 or later. Install lang/perl5.8 then try again
.elif defined(WITH_APACHE2) && ${PERL_LEVEL} < 500807
# Recent versions of mod_perl2 require a newer version of CGI.pm than is
# shipped with Perl < 5.8.7.
BUILD_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>