Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of the p6-zef #7

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions p6-zef/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD$

GITHUB_PROJECT= zef
GITHUB_TAG= v0.1.26
GITHUB_TAG= v0.4.6
DISTNAME= zef-${GITHUB_TAG:S/v//}
CATEGORIES= wip
MASTER_SITES= ${MASTER_SITE_GITHUB:=ugexe/}
Expand All @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/ugexe/zef/
COMMENT= Perl 6 module manager
LICENSE= artistic

WRKSRC= ${WRKDIR}/zef-0.1.26
WRKSRC= ${WRKDIR}/zef-0.4.6
USE_LANGUAGES= # none
USE_TOOLS+= gtar
EXTRACT_USING= gtar
Expand All @@ -22,14 +22,16 @@ CHECK_INTERPRETER_SKIP+= share/perl6/site/bin/zef-j
ZEF= ${PREFIX}/bin/perl6 -I${WRKSRC}/lib ${WRKSRC}/bin/zef

do-build:
cd ${WRKSRC} && ${ZEF} build . --debug
echo "Build of ZEF no longer needed skipping"
# cd ${WRKSRC} && ${ZEF} build . --debug

do-install:
cd ${WRKSRC} && ${ZEF} --to='inst#${DESTDIR}${PREFIX}/share/perl6/site' --force --debug install .
cd ${WRKSRC} && perl6 -I. bin/zef install .
#cd ${WRKSRC} && ${ZEF} --to='inst#${DESTDIR}${PREFIX}/share/perl6/site' --force --debug install .
${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/precomp/.lock
${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/repo.lock
#${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/repo.lock
${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/version
cd ${DESTDIR}${PREFIX} && mkdir bin && ${LN} -s ../share/perl6/site/bin/zef bin/zef
cd ${DESTDIR}${PREFIX} && mkdir bin && ${LN} -fs ../share/perl6/site/bin/zef bin/zef

.include "../../lang/rakudo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions p6-zef/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD$

SHA1 (zef-0.1.26.tar.gz) = 9ed56df820d5df8db24e4d254216cbb49d35ecf3
RMD160 (zef-0.1.26.tar.gz) = 5a8c807a67d43ef6a6449288a990757e12876634
SHA512 (zef-0.1.26.tar.gz) = c326065150254d4c348aad8f87f4d4da90043084716552539ee44c46da80651065ab71d93d13605e47923288c8dff2ef325b505048f1ea5b5feaac095184e505
Size (zef-0.1.26.tar.gz) = 59699 bytes
SHA1 (zef-0.4.6.tar.gz) = bcc31c0f448184c7d17b6eac6ae9692655a14bb7
RMD160 (zef-0.4.6.tar.gz) = 912e2f43156a73be8e8f3201702b3d00904b41fb
SHA512 (zef-0.4.6.tar.gz) = b6d9a296699ad059dfaf58d5dde8ddb32df84289c5da4d3a9885ea352a08b1a0dffa76ff78a8c10a29263a7f5c59d633d3376a2629a1f53a658fb7b199347e0d
Size (zef-0.4.6.tar.gz) = 62005 bytes