Date: Sun, 20 Oct 2013 08:29:15 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330987 - head/Mk/Uses Message-ID: <201310200829.r9K8TF6N064301@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Oct 20 08:29:15 2013 New Revision: 330987 URL: http://svnweb.freebsd.org/changeset/ports/330987 Log: - Cosmetic change: - Reorder knobs - Indent using tabstop=4 Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Sun Oct 20 07:05:49 2013 (r330986) +++ head/Mk/Uses/perl5.mk Sun Oct 20 08:29:15 2013 (r330987) @@ -150,10 +150,10 @@ _USES_POST+= perl5 _INCLUDE_USES_PERL5_POST_MK= yes PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ - PERL_VER=${PERL_VER} \ - PERL_ARCH=${PERL_ARCH} \ - PERL5_MAN3=lib/perl5/${PERL_VER}/man/man3 \ - SITE_PERL=${SITE_PERL_REL} + PERL_VER=${PERL_VER} \ + PERL_ARCH=${PERL_ARCH} \ + PERL5_MAN3=lib/perl5/${PERL_VER}/man/man3 \ + SITE_PERL=${SITE_PERL_REL} # handle perl5 specific manpages .for sect in 3 @@ -164,35 +164,34 @@ _MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX} MANDIRS+= ${PREFIX}/lib/perl5/${PERL_VER} .if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny} -_USE_PERL5+= configure +_USE_PERL5+= configure +ALL_TARGET?= # empty +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" CONFIGURE_SCRIPT?= Build.PL +PL_BUILD?= Build +.if !defined(NO_STAGE) +CONFIGURE_ARGS+=--destdir ${STAGEDIR} +DESTDIRNAME= --destdir +.endif .if ${_USE_PERL5:Mmodbuild} .if ${PORTNAME} != Module-Build -BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build +BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build .endif CONFIGURE_ARGS+=--create_packlist 0 .endif .if ${_USE_PERL5:Mmodbuildtiny} .if ${PORTNAME} != Module-Build-Tiny -BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny +BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny .endif CONFIGURE_ARGS+=--create_packlist 1 .endif -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" -.if !defined(NO_STAGE) -CONFIGURE_ARGS+=--destdir ${STAGEDIR} -DESTDIRNAME= --destdir -.endif .elif ${_USE_PERL5:Mconfigure} -CONFIGURE_ARGS+= INSTALLDIRS="site" +CONFIGURE_ARGS+=INSTALLDIRS="site" .endif # modbuild .if ${_USE_PERL5:Mconfigure}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310200829.r9K8TF6N064301>