freebsd-ports/www/p5-Apache2-Scoreboard/Makefile
Sunpoet Po-Chuan Hsieh 3b981f7463 - Update to 2.09.2 and unbreak this port
- Add WWW while I'm here

Changes:	http://search.cpan.org/dist/Apache-Scoreboard/Changes
PR:		ports/153759
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au>
Feature safe:	yes
2011-01-15 17:16:55 +00:00

34 lines
879 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.09.2
CATEGORIES= www perl5
MASTER_SITES= CPAN/../../authors/id/M/MJ/MJH
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME:C/2//}-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interface to the Apache scoreboard structure
BUILD_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.0:${PORTSDIR}/www/mod_perl2
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
USE_APACHE= 2.0+
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME:R}
MAN3= Apache::DummyScoreboard.3 Apache::Scoreboard.3
post-patch:
@${REINPLACE_CMD} \
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|%%APACHEINCLUDEDIR%%|${APACHEINCLUDEDIR}|g' \
${WRKSRC}/Makefile.PL ${WRKSRC}/Dummy/Makefile.PL
.include <bsd.port.mk>