aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2001-01-08 14:44:24 +0800
committerkuriyama <kuriyama@FreeBSD.org>2001-01-08 14:44:24 +0800
commit4d0f092e215fb6e734f5410676ae72236be9ef9c (patch)
treefb5d6e35932142b71e7f849c67261be0796f9403
parenta22ab55b6c5e071e5bbb92bcc57237ac25a7d5bd (diff)
downloadfreebsd-ports-gnome-4d0f092e215fb6e734f5410676ae72236be9ef9c.tar.gz
freebsd-ports-gnome-4d0f092e215fb6e734f5410676ae72236be9ef9c.tar.zst
freebsd-ports-gnome-4d0f092e215fb6e734f5410676ae72236be9ef9c.zip
Use $PERL_CONFIGURE.
-rw-r--r--devel/p5-File-Sync/Makefile6
-rw-r--r--mail/p5-MIME-Tools/Makefile5
-rw-r--r--mail/p5-Mail-Tools/Makefile5
-rw-r--r--net/p5-Net-Telnet/Makefile5
-rw-r--r--textproc/p5-XML-DOM/Makefile5
-rw-r--r--textproc/p5-XML-Parser/Makefile8
-rw-r--r--www/p5-HTML-Template/Makefile6
7 files changed, 9 insertions, 31 deletions
diff --git a/devel/p5-File-Sync/Makefile b/devel/p5-File-Sync/Makefile
index b890cfa00bd7..faa9d7d38801 100644
--- a/devel/p5-File-Sync/Makefile
+++ b/devel/p5-File-Sync/Makefile
@@ -14,13 +14,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
-USE_PERL5= yes
+PERL_CONFIGURE= yes
MAN3= File::Sync.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}"
-
.include <bsd.port.mk>
diff --git a/mail/p5-MIME-Tools/Makefile b/mail/p5-MIME-Tools/Makefile
index 88ccc4dcf207..a756088b4bc2 100644
--- a/mail/p5-MIME-Tools/Makefile
+++ b/mail/p5-MIME-Tools/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Header.pm:${PORTS
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/IO/Wrap.pm:${PORTSDIR}/devel/p5-IO-stringy
-USE_PERL5= YES
+PERL_CONFIGURE= YES
MAN3= MIME::Entity.3 \
MIME::Decoder::QuotedPrint.3 \
@@ -35,7 +35,4 @@ MAN3= MIME::Entity.3 \
MIME::Decoder.3 MIME::Field::ContDisp.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
.include <bsd.port.mk>
diff --git a/mail/p5-Mail-Tools/Makefile b/mail/p5-Mail-Tools/Makefile
index 1f67f860f3fd..d79bc886e81e 100644
--- a/mail/p5-Mail-Tools/Makefile
+++ b/mail/p5-Mail-Tools/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSD
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/Domain.pm:${PORTSDIR}/net/p5-Net
-USE_PERL5= yes
+PERL_CONFIGURE= yes
MAN3= Mail::Address.3 \
Mail::Cap.3 \
@@ -35,7 +35,4 @@ MAN3= Mail::Address.3 \
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
.include <bsd.port.mk>
diff --git a/net/p5-Net-Telnet/Makefile b/net/p5-Net-Telnet/Makefile
index fedb27e640e1..b8a0e973dc75 100644
--- a/net/p5-Net-Telnet/Makefile
+++ b/net/p5-Net-Telnet/Makefile
@@ -14,12 +14,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
-USE_PERL5= yes
+PERL_CONFIGURE= yes
MAN3= Net::Telnet.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-DOM/Makefile b/textproc/p5-XML-DOM/Makefile
index 534fed749ca5..a8837bf61b96 100644
--- a/textproc/p5-XML-DOM/Makefile
+++ b/textproc/p5-XML-DOM/Makefile
@@ -16,12 +16,9 @@ MAINTAINER= kuriyama@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
-USE_PERL5= yes
+PERL_CONFIGURE= yes
MAN3= XML::DOM.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index 8a1061f4bac2..c2c762ff4ce0 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -18,15 +18,13 @@ MAINTAINER= kuriyama@FreeBSD.org
LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2
-USE_PERL5= yes
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include
MAN3= XML::Parser.3 XML::Parser::Expat.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}" \
- EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include
+post-configure:
@${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile
diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile
index 4c913c0f7457..e5c4e57da1b6 100644
--- a/www/p5-HTML-Template/Makefile
+++ b/www/p5-HTML-Template/Makefile
@@ -14,14 +14,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
-USE_PERL5= yes
+PERL_CONFIGURE= yes
MAN3= HTML::Template.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}"
-
.include <bsd.port.mk>