mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
46 lines
1.4 KiB
Makefile
46 lines
1.4 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.06
|
|
CATEGORIES= www perl5 devel
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
|
|
MASTER_SITE_SUBDIR=libapreq
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-dev
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Generic Apache2 Request Library
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.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= ${BUILD_DEPENDS}
|
|
|
|
WITH_APACHE2= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
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]+//}
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
MAN3= APR::Request::Apache2.3 APR::Request::CGI.3 APR::Request::Cookie.3 \
|
|
APR::Request::Error.3 APR::Request::Param.3 APR::Request.3 \
|
|
APR::Request::Hook.3 APR::Request::Parser.3 Apache2::Cookie.3 \
|
|
Apache2::Upload.3 Apache2::Request.3
|
|
|
|
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>
|