commit 824deb71511a48e044286de172f250deeee0b757 parent 0c0cf147cbac1d3af63d5f8d92118063f194090e Author: sin <sin@2f30.org> Date: Mon, 19 May 2014 20:51:38 +0100 We can now do mk TARG=wtv package Diffstat:
M | mkfile | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/mkfile b/mkfile @@ -47,3 +47,11 @@ fetch:QV: else env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk fetch TARG="$TARG" fi + +package:QV: + cd ports + if test "$TARG" = ""; then + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk package + else + env -i PATH="$PATH" configmk="$configmk" mkbuild="$mkbuild" mk package TARG="$TARG" + fi