freebsd-ports/www/p5-libapreq2/Makefile
Jun Kuriyama beded58173 - Unbreak on pointyhat.
- Upgrade to 2.04r03.
- Cleanup variables usage and dependency line.

Approved by:	maintainer
Comments from:	eik
2004-10-12 22:45:25 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-libapreq2
# Date created: June 5, 2004
# Whom: Autrijus Tang <autrijus@autrijus.org>
#
# $FreeBSD$
#
PORTNAME= libapreq2
PORTVERSION= 2.04r03
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR=libapreq
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/_/}-dev
MAINTAINER= autrijus@autrijus.org
COMMENT= Generic Apache2 Request Library
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/ModPerl/Config.pm:${PORTSDIR}/www/mod_perl2 \
${SITE_PERL}/ExtUtils/XSBuilder:${PORTSDIR}/devel/p5-ExtUtils-XSBuilder \
${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/ModPerl/Config.pm:${PORTSDIR}/www/mod_perl2
CONFLICTS= p5-libapreq
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-perl-glue --with-apache2-apxs=${APXS}
USE_PERL5= yes
USE_APACHE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:C/_[0-9]+//}
post-configure:
cd ${CONFIGURE_WRKSRC}/glue/perl && \
${PERL5} Makefile.PL -apxs ${APXS} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.include <bsd.port.mk>