From 1e60866cc19e399726a715fe8f90de75614755d9 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sat, 17 Jun 2000 02:37:15 +0000 Subject: Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX. Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber --- www/p5-WWW-Search/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'www/p5-WWW-Search') diff --git a/www/p5-WWW-Search/Makefile b/www/p5-WWW-Search/Makefile index f2ba65992495..2690c9e50e4a 100644 --- a/www/p5-WWW-Search/Makefile +++ b/www/p5-WWW-Search/Makefile @@ -5,19 +5,19 @@ # $FreeBSD$ # -PORTNAME= p5-WWW-Search +PORTNAME= WWW-Search PORTVERSION= 2.10 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= WWW -DISTNAME= WWW-Search-2.10 +PKGNAMEPREFIX= p5- MAINTAINER= jfitz@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/LWP.pm:${PORTSDIR}/www/p5-libwww \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree -USE_PERL5= YES +USE_PERL5= yes MAN1= AutoSearch.1 \ WebSearch.1 @@ -74,10 +74,8 @@ MAN3= WWW::Search.3 \ WWW::Search::ZDNet.3 \ WWW::SearchResult.3 -post-patch: - @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/Makefile.PL - do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + PREFIX="${PREFIX}" .include -- cgit v1.2.3