freebsd-ports/www/p5-Apache2-Scoreboard/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

33 lines
873 B
Makefile

# New ports collection makefile for: Apache2-Scoreboard
# Date Created: 11 June 2005
# Whom: Philip Paeps <philip@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Apache2-Scoreboard
PORTVERSION= 2.08
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=Apache
PKGNAMEPREFIX= p5-
DISTNAME= Apache-Scoreboard-${PORTVERSION}
MAINTAINER= philip@FreeBSD.org
COMMENT= Perl interface to the Apache scoreboard structure
BUILD_DEPENDS= ${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= 5.8.0+
MAN3= Apache::Scoreboard.3 Apache::DummyScoreboard.3
INSTALLS_SHLIB= YES
post-patch:
@${RM} -f ${WRKSRC}/lib/Apache/*.orig
${SED} -i.bak 's@%%LOCALBASE%%@${LOCALBASE}@g' ${WRKSRC}/Makefile.PL
${SED} -i.bak 's@%%LOCALBASE%%@${LOCALBASE}@g' ${WRKSRC}/Dummy/Makefile.PL
.include <bsd.port.mk>