Notebook
これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。
HTML ファイル生成日時: 2025/01/14 09:02:48.430 (台灣標準時)
pkgsrc の MESSAGE ファイル
pkgsrc でパッケージを追加するとき、インストール後に重要な情報を表示さ
せたいことがあるでござる。そのようなとき、 MESSAGE というファイルを作っ
て置いておけば、 make install の最後にその MESSAGE ファイルの内容が表
示されるでござる。ただ、いつも決まった内容ではなく、状況に応じて異なる
内容を表示させたいこともあるでござる。例えば、 Python のバージョンによっ
て、重要なファイルのファイル名が異なる場合などでござる。
以下のようにすればよいようでござる。まず、 MESSAGE ファイルに以下のよ
うに書き込むでござる。
For the first usage of JupyterLab, execute following command before
starting JupyterLab.
# jupyter-${PYVERSSUFFIX} lab-${PYVERSSUFFIX} build
PYVERSSUFFIX は Python のバージョンに置き換わってほしいので、 Makefile
に以下の記述を追加するでござる。
MESSAGE_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
こうしておけば、 make install を実行したときに、例えば、以下のようなメッ
セージが表示されるでござる。
For the first usage of JupyterLab, execute following command before
starting JupyterLab.
# jupyter-3.9 lab-3.9 build
- About this article:
- author: daisuke
- file: 20220817_5.html
- category: Computer___NetBSD
- title: pkgsrc の MESSAGE ファイル
- mode: public
- last modified: 2022/08/17 21:49:04 (Taiwan Standard Time)
- html generated: 2025/01/14 09:02:48.430 (Taiwan Standard Time)
Frequently accessed files
- Computer___Python/20220518_0.html
- 11858 page views
- title: Matplotlib で作る図の縦横比
- Computer___Network/20230726_00.html
- 5897 page views
- title: git の SSL certificate problem の解決方法
- Misc___Taiwan/20240207_00.html
- 4394 page views
- title: 台灣から台灣の外に EMS で荷物を発送する方法
- Computer___Network/20230516_00.html
- 3847 page views
- title: OpenVPN 2.6 を使い VPN Gate に接続するときの注意点
- Computer___FreeBSD/20220621_0.html
- 3002 page views
- title: FreeBSD での X.org の設定の仕方
- Computer___Python/20220715_0.html
- 2300 page views
- title: SciPy による最小二乗法
- Computer___Network/20230508_00.html
- 2264 page views
- title: git push するときにパスワードの入力を省略する方法
- Food___Taiwan/20220429_0.html
- 2008 page views
- title: 「楊滇風」の滇味辣炒豬
- Computer___Network/20240130_00.html
- 1970 page views
- title: Google Colaboratory で Python 3.12 を使う方法
- Computer___Network/20240416_00.html
- 1739 page views
- title: git push としたときの error: RPC failed
- Computer___Python/20220410_0.html
- 1721 page views
- title: Pint モジュールを使った単位を含む数値の取り扱い
- Computer___NetBSD/20220817_3.html
- 1716 page views
- title: JupyterLab のインストール直後に行うべきこと
- Computer___NetBSD/20230119_00.html
- 1680 page views
- title: NetBSD でバイナリーパッケージを利用する方法
- Computer___Python/20221013_0.html
- 1630 page views
- title: Matplotlib での作図において順番を決めて点や線を描画する方法
- Computer___Debian/20210223_1.html
- 1614 page views
- title: Debian で autofs を使い自動で NFS マウントする方法
- Computer___Python/20210124_0.html
- 1561 page views
- title: Python での argparse を使ったコマンドライン引数の取り扱い方法
- Computer___NetBSD/20220428_0.html
- 1518 page views
- title: Beamer で verbatim 環境を使う方法
- Computer___NetBSD/20220818_1.html
- 1512 page views
- title: Emacs の markdown-mode について
- Computer___NetBSD/20240101_02.html
- 1431 page views
- title: ffmpeg を使って動画に音声を追加する方法
- Computer___TeX/20231107_00.html
- 1412 page views
- title: LaTeX での counter の利用方法について
- Computer___Python/20240101_00.html
- 1382 page views
- title: Matplotlib の 3D plot においての注意点
- Science___Math/20220420_0.html
- 1360 page views
- title: ラプラシアンの三次元極座標表示
- Computer___Network/20220413_1.html
- 1347 page views
- title: HTML 文書の中の一部の文字を点滅させる方法
- Computer___TeX/20230503_00.html
- 1328 page views
- title: LaTeX CJK で日本語や中国語を取り扱うための準備について
- Computer___NetBSD/20220808_0.html
- 1319 page views
- title: 端末エミュレーターで使うフォントを指定する方法
- Computer___NetBSD/20230515_00.html
- 1306 page views
- title: pkgsrc の fetch phase で問題
- Science___Astronomy/20220503_0.html
- 1304 page views
- title: Lane-Emden 方程式を数値的に解く
- Computer___NetBSD/20210127_0.html
- 1275 page views
- title: NetBSD 上で Apache により HTTPS サーバを立ち上げる方法
- Computer___Python/20220816_1.html
- 1203 page views
- title: Binder を使って Python スクリプトを実行する
- Computer___Python/20230717_01.html
- 1201 page views
- title: Python で gzip で圧縮されたファイルを読む方法 (2023 年 07 月中旬)
HTML file generated by Kinoshita Daisuke.