Changeset 2231 in kBuild
- Timestamp:
- Jan 9, 2009 12:46:46 AM (16 years ago)
- Location:
- trunk/dist/freebsd/devel/kBuild
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dist/freebsd/devel/kBuild/Makefile
r2200 r2231 24 24 AUTOMAKE=${AUTOMAKE} \ 25 25 AUTORECONF=${AUTORECONF} 26 KBUILD_BINS= kDepIDB \ 27 kDepPre \ 28 kObjCache \ 29 kmk \ 30 kmk_append \ 31 kmk_ash \ 32 kmk_cat \ 33 kmk_chmod \ 34 kmk_cmp \ 35 kmk_cp \ 36 kmk_echo \ 37 kmk_expr \ 38 kmk_gmake \ 39 kmk_install \ 40 kmk_ln \ 41 kmk_md5sum \ 42 kmk_mkdir \ 43 kmk_mv \ 44 kmk_printf \ 45 kmk_redirect \ 46 kmk_rm \ 47 kmk_rmdir \ 48 kmk_sed \ 49 kmk_sleep \ 50 kmk_test \ 51 kmk_time 52 26 KBUILD_STAGE= ${WRKSRC}/out/freebsd.${KBUILD_ARCH}/release${PREFIX} 27 28 # KBUILD_BINS, KBUILD_DATA_FILES and KBUILD_DOC_FILES (generated). 29 .include "kBuild-files.mk" 53 30 54 31 # Override autotools … … 57 34 58 35 do-build: 59 cd ${WRKSRC} && ${SETENV} ${KBUILD_ENV} ./kBuild/env.sh --full ${GMAKE} NIX_INSTALL_DIR=${PREFIX} -f bootstrap.gmk 60 cd ${WRKSRC} && ./kBuild/env.sh --full-with-bin kmk NIX_INSTALL_DIR=${PREFIX} 36 cd ${WRKSRC} && ${SETENV} ${KBUILD_ENV} ./kBuild/env.sh --full \ 37 ${GMAKE} NIX_INSTALL_DIR=${PREFIX} -f bootstrap.gmk 38 ${WRKSRC}/kBuild/env.sh --full-with-bin \ 39 kmk -C ${WRKSRC} NIX_INSTALL_DIR=${PREFIX} 61 40 62 41 do-install: 63 .for bin in ${KBUILD_BINS}64 ${INSTALL_PROGRAM} ${ WRKSRC}/out/freebsd.${KBUILD_ARCH}/release${PREFIX}/bin/${bin} ${PREFIX}/bin42 .for file in ${KBUILD_BIN_FILES} 43 ${INSTALL_PROGRAM} ${KBUILD_STAGE}/bin/${file} ${PREFIX}/bin/${file} 65 44 .endfor 66 ${MKDIR) ${DATADIR} 67 (cd ${WRKSRC}/out/freebsd.${KBUILD_ARCH}/release${PREFIX}/share/kBuild && ${COPYTREE_SHARE} \* ${DATADIR}) 45 ${MKDIR} ${DATADIR} 46 .for file in ${KBUILD_DATA_FILES} 47 ${MKDIR} `dirname ${DATADIR}/${file}` 48 ${INSTALL_DATA} ${KBUILD_STAGE}/share/kBuild/${file} ${DATADIR}/${file} 49 .endfor 50 ${MKDIR} ${DOCSDIR} 51 .for file in ${KBUILD_DOC_FILES} 52 ${MKDIR} `dirname ${DOCSDIR}/${file}` 53 ${INSTALL_DATA} ${KBUILD_STAGE}/share/doc/kBuild-${PORTVERSION}/${file} ${DOCSDIR}/${file} 54 .endfor 55 68 56 69 57 .include <bsd.port.mk> 58 59 # 60 # Helper rule to generate kBuild-files.mk and pkg-plist when updating the port. 61 # 62 kbuild-generate-files: 63 echo '# Autogenerated by kbuild-generate-files in Makefile' > kBuild-files.mk 64 echo '' >> kBuild-files.mk 65 echo 'KBUILD_BIN_FILES = \' >> kBuild-files.mk 66 ${WRKSRC}/kBuild/env.sh --full-with-bin --quiet \ 67 kmk --no-print-directory -sC ${WRKSRC} NIX_INSTALL_DIR=${PREFIX} \ 68 MY_INST_BIN=_keep_/ MY_INST_DATA=_drop_/ MY_INST_DOC=_drop_/ \ 69 kbuild-show-install-files \ 70 | sed -e '/^_drop_/d' -e 's/^_keep_\// /' -e 's/$$/ \\/' \ 71 >> kBuild-files.mk 72 echo '' >> kBuild-files.mk 73 echo 'KBUILD_DATA_FILES = \' >> kBuild-files.mk 74 ${WRKSRC}/kBuild/env.sh --full-with-bin --quiet \ 75 kmk --no-print-directory -sC ${WRKSRC} NIX_INSTALL_DIR=${PREFIX} \ 76 MY_INST_BIN=_drop_/ MY_INST_DATA=_keep_/ MY_INST_DOC=_drop_/ \ 77 kbuild-show-install-files \ 78 | sed -e '/^_drop_/d' -e 's/^_keep_\// /' -e 's/$$/ \\/' \ 79 >> kBuild-files.mk 80 echo '' >> kBuild-files.mk 81 echo 'KBUILD_DOC_FILES = \' >> kBuild-files.mk 82 ${WRKSRC}/kBuild/env.sh --full-with-bin --quiet \ 83 kmk --no-print-directory -sC ${WRKSRC} NIX_INSTALL_DIR=${PREFIX} \ 84 MY_INST_BIN=_drop_/ MY_INST_DATA=_drop_/ MY_INST_DOC=_keep_/ \ 85 kbuild-show-install-files \ 86 | sed -e '/^_drop_/d' -e 's/^_keep_\// /' -e 's/$$/ \\/' \ 87 >> kBuild-files.mk 88 echo '' >> kBuild-files.mk 89 90 ${WRKSRC}/kBuild/env.sh --full-with-bin --quiet \ 91 kmk --no-print-directory -sC ${WRKSRC} NIX_INSTALL_DIR=${PREFIX} \ 92 'MY_INST_BIN=bin/' 'MY_INST_DATA=%%DATADIR%%/' \ 93 'MY_INST_DOC=%%DOCSDIR%%/' kbuild-show-install-files \ 94 > pkg-plist 95 echo '@dirrm %%DATADIR%%/msgstyles' >> pkg-plist 96 echo '@dirrm %%DATADIR%%/sdks' >> pkg-plist 97 echo '@dirrm %%DATADIR%%/templates' >> pkg-plist 98 echo '@dirrm %%DATADIR%%/tools' >> pkg-plist 99 echo '@dirrm %%DATADIR%%/units' >> pkg-plist 100 echo '@dirrm %%DATADIR%%' >> pkg-plist 101 echo '@dirrm %%DOCSDIR%%' >> pkg-plist 102 -
trunk/dist/freebsd/devel/kBuild/distinfo
r2199 r2231 1 SIZE (kBuild-0.1.5-src.tar.gz) = 2501924 2 SHA256 (kBuild-0.1.5-src.tar.gz) = f53fe7e2742a134c07a59e1c63b218a80b8a04990705f8334a8d0309a2faf1523 MD5 (kBuild-0.1.5-src.tar.gz) = 3e3dd3bb25a976afcc7da3d40039f9b1 1 MD5 (kBuild-0.1.5-src.tar.gz) = 0f6015e68681e82a43abb6293dfa4c90 2 SHA256 (kBuild-0.1.5-src.tar.gz) = d0f3a1525d9c84c164d8ba53c2f3cabca481e0aa0977ab81260e774465fbc5ec 3 SIZE (kBuild-0.1.5-src.tar.gz) = 2505403 -
trunk/dist/freebsd/devel/kBuild/pkg-plist
r2199 r2231 1 bin/kDepIDB 2 bin/kDepPre 3 bin/kObjCache 1 bin/kmk_sed 4 2 bin/kmk 5 3 bin/kmk_append 6 bin/kmk_ash7 4 bin/kmk_cat 8 5 bin/kmk_chmod 6 bin/kmk_cp 9 7 bin/kmk_cmp 10 bin/kmk_cp11 8 bin/kmk_echo 12 9 bin/kmk_expr 13 bin/kmk_gmake14 bin/kmk_install15 bin/kmk_ln16 10 bin/kmk_md5sum 17 11 bin/kmk_mkdir 18 12 bin/kmk_mv 13 bin/kmk_install 14 bin/kmk_ln 19 15 bin/kmk_printf 20 16 bin/kmk_redirect 21 17 bin/kmk_rm 22 18 bin/kmk_rmdir 23 bin/kmk_sed24 19 bin/kmk_sleep 25 20 bin/kmk_test 21 bin/kDepIDB 22 bin/kmk_gmake 23 bin/kmk_fgmake 24 bin/kmk_ash 25 bin/kDepPre 26 bin/kObjCache 26 27 bin/kmk_time 27 28 %%DATADIR%%/footer.kmk … … 32 33 %%DATADIR%%/up.kmk 33 34 %%DATADIR%%/tools/ALP.kmk 35 %%DATADIR%%/tools/BISON.kmk 34 36 %%DATADIR%%/tools/FLEX.kmk 35 37 %%DATADIR%%/tools/GCC.kmk … … 54 56 %%DATADIR%%/tools/MINGW32.kmk 55 57 %%DATADIR%%/tools/MSLINK510.kmk 56 %%DATADIR%%/tools/TAR.kmk57 58 %%DATADIR%%/tools/NASM.kmk 58 59 %%DATADIR%%/tools/OPENWATCOM-16.kmk 59 60 %%DATADIR%%/tools/OPENWATCOM-WL.kmk 60 61 %%DATADIR%%/tools/OPENWATCOM.kmk 62 %%DATADIR%%/tools/TAR.kmk 61 63 %%DATADIR%%/tools/TARGZ.kmk 62 64 %%DATADIR%%/tools/VAC308.kmk … … 70 72 %%DATADIR%%/tools/WGET.kmk 71 73 %%DATADIR%%/tools/XGCCAMD64LINUX.kmk 74 %%DATADIR%%/tools/YACC.kmk 72 75 %%DATADIR%%/tools/YASM.kmk 73 76 %%DATADIR%%/tools/ZIP.kmk … … 99 102 %%DATADIR%%/units/qt3.kmk 100 103 %%DATADIR%%/units/qt4.kmk 101 %%DATADIR%%/doc/QuickReference-kmk.txt 102 %%DATADIR%%/doc/QuickReference-kmk.html 104 %%DATADIR%%/units/yacc.kmk 103 105 %%DATADIR%%/msgstyles/brief.kmk 104 106 %%DATADIR%%/templates/DUMMY.kmk 105 @dirrm %%DATADIR%%/doc 107 %%DOCSDIR%%/QuickReference-kmk.txt 108 %%DOCSDIR%%/QuickReference-kmk.html 106 109 @dirrm %%DATADIR%%/msgstyles 107 110 @dirrm %%DATADIR%%/sdks … … 110 113 @dirrm %%DATADIR%%/units 111 114 @dirrm %%DATADIR%% 115 @dirrm %%DOCSDIR%%
Note:
See TracChangeset
for help on using the changeset viewer.