pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Install the install-dist.pl script. Don't use /usr/bin/env perl6.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Jul 2 18:35:36 2017 +0100
Changeset:	02c6f33ddae82428cc21828d26b159947f5ec507

Modified Files:
	rakudo/Makefile
	rakudo/PLIST

Log Message:
Install the install-dist.pl script. Don't use /usr/bin/env perl6.

Bump PKGREVISION.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=02c6f33ddae82428cc21828d26b159947f5ec507

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rakudo/Makefile | 9 +++++++++
 rakudo/PLIST    | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diffs:
diff --git a/rakudo/Makefile b/rakudo/Makefile
index a5ec8914ec..c3641ab619 100644
--- a/rakudo/Makefile
+++ b/rakudo/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.9 2015/10/10 01:57:53 ryoon Exp $
 
 DISTNAME=	rakudo-2017.06
+PKGREVISION=	1
 CATEGORIES=	lang perl6
 MASTER_SITES=	http://rakudo.org/downloads/rakudo/
 
@@ -19,6 +20,13 @@ CONFIG_SHELL=		${PERL5}
 CONFIGURE_SCRIPT=	Configure.pl
 CONFIGURE_ARGS=		--prefix=${PREFIX:Q} --backends=moar
 
+SUBST_CLASSES+=		interp
+SUBST_STAGE.interp=	pre-configure
+SUBST_MESSAGE.interp=	Fixing interpreter line.
+SUBST_FILES.interp=	src/core/CompUnit/Repository/Installation.pm
+SUBST_FILES.interp+=	tools/install-dist.pl
+SUBST_SED.interp=	-e 's,/usr/bin/env ,${PREFIX}/bin/,'
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Darwin"
@@ -29,6 +37,7 @@ PLIST_SUBST+=	EXT=so
 
 post-install:
 	${RM} -rf ${DESTDIR}${PREFIX}/share/perl6/precomp/*
+	${INSTALL_SCRIPT} ${WRKSRC}/tools/install-dist.pl ${DESTDIR}${PREFIX}/share/perl6/bin
 
 .include "../../devel/MoarVM/buildlink3.mk"
 .include "../../wip/nqp/buildlink3.mk"
diff --git a/rakudo/PLIST b/rakudo/PLIST
index 4b3ef55e0b..95956878af 100644
--- a/rakudo/PLIST
+++ b/rakudo/PLIST
@@ -15,6 +15,7 @@ share/nqp/lib/Perl6/Ops.moarvm
 share/nqp/lib/Perl6/Optimizer.moarvm
 share/nqp/lib/Perl6/Pod.moarvm
 share/nqp/lib/Perl6/World.moarvm
+share/perl6/bin/install-dist.pl
 share/perl6/dist/3FD70CCCD6914FAEC84AFAE6F97AF461A3EE1588
 share/perl6/precomp/.lock
 share/perl6/repo.lock
@@ -60,4 +61,3 @@ share/perl6/version
 @pkgdir share/perl6/site/bin
 @pkgdir share/perl6/resources
 @pkgdir share/perl6/lib
-@pkgdir share/perl6/bin


Home | Main Index | Thread Index | Old Index