Update to 0.23.

Dupplicate some code from bsd.port.mk to have it build the same way as other ports using it.
This commit is contained in:
Mathieu Arnold 2004-02-10 13:24:53 +00:00
parent bc1ba6bc77
commit b14da08b0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100544
4 changed files with 21 additions and 29 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= Module-Build
PORTVERSION= 0.22
PORTVERSION= 0.23
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
@ -42,6 +42,24 @@ MAN3= Module::Build.3 \
Module::Build::Platform::darwin.3 \
Module::Build::Platform::os2.3
PERL_CONFIGURE= yes
CONFIGURE_SCRIPT?= Build.PL
ALL_TARGET?=
PL_BUILD?= Build
CONFIGURE_ARGS+= \
install_path=lib="${PREFIX}/${SITE_PERL_REL}" \
install_path=arch="${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}" \
install_path=script="${PREFIX}/bin" \
install_path=bin="${PREFIX}/bin" \
install_path=libdoc="${MAN3PREFIX}/man/man3" \
install_path=bindoc="${MAN1PREFIX}/man/man1"
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${ALL_TARGET})
do-install:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} > 500600
@ -51,5 +69,4 @@ BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/ParseXS.pm:${PORTSDIR}/devel/p5-ExtUtils-P
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.include "inc.build.mk"
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
MD5 (Module-Build-0.22.tar.gz) = a788154750c657d01c0bf97d72e787e2
SIZE (Module-Build-0.22.tar.gz) = 98397
MD5 (Module-Build-0.23.tar.gz) = 712d8c3be8afda673acdf83bc82af4b9
SIZE (Module-Build-0.23.tar.gz) = 100214

View file

@ -1,11 +0,0 @@
--- lib/Module/Build/Compat.pm~ Sun Jan 11 05:19:59 2004
+++ lib/Module/Build/Compat.pm Tue Jan 13 14:44:22 2004
@@ -144,7 +144,7 @@
$perl -e unlink -e shift $makefile
force_do_it :
- @
+
EOF
# XXX - user might be using a different subclass

View file

@ -1,14 +0,0 @@
# $FreeBSD$
# To be used by modules using Module::Build
.if ${PORTNAME} != Module-Build
BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
.endif
CONFIGURE_ARGS+= install_path=lib="${SITE_PERL:S|^${LOCALBASE}/|${PREFIX}/|}" \
install_path=arch="${SITE_PERL:S|^${LOCALBASE}/|${PREFIX}/|}/${PERL_ARCH}" \
install_path=script="${PREFIX}/bin" \
install_path=bin="${PREFIX}/bin" \
install_path=libdoc="${MAN3PREFIX}/man/man3" \
install_path=bindoc="${MAN1PREFIX}/man/man1"