pkgsrc-WIP-changes archive

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

Look, an installed Perl 6 package!



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%NetBSD.org@localhost>
Pushed By:	bsiegert
Date:		Sun Mar 6 21:00:05 2016 +0100
Changeset:	748d4038cafd6f74bdce0eec038034c72d38ca48

Modified Files:
	p6-panda/Makefile
	p6-panda/PLIST

Log Message:
Look, an installed Perl 6 package!

Make panda bootstrap into DESTDIR. Still fails with PKG_DEVELOPER on.

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

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

diffstat:
 p6-panda/Makefile |  7 +++++--
 p6-panda/PLIST    | 18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 2 deletions(-)

diffs:
diff --git a/p6-panda/Makefile b/p6-panda/Makefile
index b0db5f4..c744965 100644
--- a/p6-panda/Makefile
+++ b/p6-panda/Makefile
@@ -14,7 +14,10 @@ LICENSE=	artistic
 WRKSRC=		${WRKDIR}/panda-2015.12
 USE_LANGUAGES=	# none
 
-do-build:
-	cd ${WRKSRC} && perl6 ./bootstrap.pl
+NO_BUILD=	yes
+
+do-install:
+	cd ${WRKSRC} && perl6 ./bootstrap.pl --prefix=${DESTDIR}${PREFIX}
+	rm -rf ${DESTDIR}${PREFIX}/lib/.precomp ${DESTDIR}${PREFIX}/bin/*.bat
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/p6-panda/PLIST b/p6-panda/PLIST
index 48d96a5..214c786 100644
--- a/p6-panda/PLIST
+++ b/p6-panda/PLIST
@@ -1 +1,19 @@
 @comment $NetBSD$
+bin/panda
+bin/panda-build
+bin/panda-cpanize
+bin/panda-fetch
+bin/panda-install
+bin/panda-test
+lib/Panda.pm
+lib/Panda/App.pm
+lib/Panda/Builder.pm
+lib/Panda/Bundler.pm
+lib/Panda/Common.pm
+lib/Panda/Ecosystem.pm
+lib/Panda/Fetcher.pm
+lib/Panda/Installer.pm
+lib/Panda/Project.pm
+lib/Panda/Reporter.pm
+lib/Panda/Tester.pm
+panda/state


Home | Main Index | Thread Index | Old Index