diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
commit | 1e60866cc19e399726a715fe8f90de75614755d9 (patch) | |
tree | 919603a1bf324ecbe31827d6a9441e11e58f98a0 /www/p5-libapreq | |
parent | 30563b53998852429b379c5698be8bc307cc56ca (diff) | |
download | ports-1e60866cc19e399726a715fe8f90de75614755d9.tar.gz ports-1e60866cc19e399726a715fe8f90de75614755d9.zip |
Notes
Diffstat (limited to 'www/p5-libapreq')
-rw-r--r-- | www/p5-libapreq/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/www/p5-libapreq/Makefile b/www/p5-libapreq/Makefile index d198da42fd9c..95c5528af866 100644 --- a/www/p5-libapreq/Makefile +++ b/www/p5-libapreq/Makefile @@ -5,29 +5,35 @@ # $FreeBSD$ # -PORTNAME= p5-libapreq +PORTNAME= libapreq PORTVERSION= 0.31 CATEGORIES= www perl5 devel MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Apache -DISTNAME= libapreq-0.31 +PKGNAMEPREFIX= p5- MAINTAINER= frank@exit.com BUILD_DEPENDS= ${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13 \ ${LOCALBASE}/include/apache/modules/perl/mod_perl.h:${PORTSDIR}/www/p5-Apache -USE_PERL5= YES +USE_PERL5= yes MAN3= Apache::Request.3 Apache::Cookie.3 libapreq.3 Apache::libapreq.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: - cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${PERL} Makefile.PL + @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` post-install: - ${CP} ${WRKSRC}/blib/arch/auto/libapreq/libapreq.so ${LOCALBASE}/lib + ${INSTALL_DATA} ${WRKSRC}/blib/arch/auto/libapreq/libapreq.so \ + ${PREFIX}/lib ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib .include <bsd.port.mk> |