2000-03-19 05:42:08 +00:00
|
|
|
# New ports collection makefile for: p5-libapreq
|
|
|
|
# Date created: March 13, 2000
|
|
|
|
# Whom: Frank Mayhar <frank@exit.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-06-17 02:37:15 +00:00
|
|
|
PORTNAME= libapreq
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTVERSION= 0.31
|
2000-03-19 05:42:08 +00:00
|
|
|
CATEGORIES= www perl5 devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Apache
|
2000-06-17 02:37:15 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
2000-03-19 05:42:08 +00:00
|
|
|
|
|
|
|
MAINTAINER= frank@exit.com
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13 \
|
2000-04-23 16:42:13 +00:00
|
|
|
${LOCALBASE}/include/apache/modules/perl/mod_perl.h:${PORTSDIR}/www/p5-Apache
|
2000-03-19 05:42:08 +00:00
|
|
|
|
2000-06-17 02:37:15 +00:00
|
|
|
USE_PERL5= yes
|
2000-03-19 05:42:08 +00:00
|
|
|
|
|
|
|
MAN3= Apache::Request.3 Apache::Cookie.3 libapreq.3 Apache::libapreq.3
|
|
|
|
|
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
|
|
|
do-configure:
|
2000-06-17 02:37:15 +00:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL} Makefile.PL \
|
|
|
|
CC="${CC}" CCFLAGS="${CFLAGS}"
|
|
|
|
@${PERL} -i -p \
|
|
|
|
-e 's/^(CC = ).*/$$1 ${CC}/;' \
|
|
|
|
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \
|
|
|
|
`find ${WRKSRC} -name Makefile`
|
2000-03-19 05:42:08 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-06-17 02:37:15 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/blib/arch/auto/libapreq/libapreq.so \
|
|
|
|
${PREFIX}/lib
|
2000-03-19 05:42:08 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|