(1) Use the new "deinstall" target in testing examples.

(2) Explicitly note that not only packages are not to be included in
    the uploaded port tarball, but they are not needed at all.

Merge the above two (as well as 1.85) to the Japanese version.
This commit is contained in:
Satoshi Asami 1997-12-29 17:01:12 +00:00
parent 75f9f2e478
commit d47ecf2893
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2317
3 changed files with 27 additions and 19 deletions

View file

@ -1,4 +1,4 @@
<!-- $Id: porting.sgml,v 1.85 1997-12-27 10:57:51 asami Exp $ -->
<!-- $Id: porting.sgml,v 1.86 1997-12-29 17:01:05 asami Exp $ -->
<!-- The FreeBSD Documentation Project -->
<sect1><heading>Porting an existing piece of free software<label id="porting"></heading>
@ -299,11 +299,11 @@ lib/X11/oneko/mouse.xpm
<p>You should make sure that the port rules do exactly what
you want it to do, including packaging up the port. Try
doing `<tt>make install</tt>', `<tt>make package</tt>' and
then `<tt>pkg_delete `make package-name`</tt>' and see if all
then `<tt>make deinstall</tt>' and see if all
the files and directories are correctly deleted. Then do a
`<tt>pkg_add `make package-name`.tgz</tt>' and see if everything
re-appears and works correctly. Then do another
`<tt>pkg_delete `make package-name`</tt>' and then `<tt>make
`<tt>make deinstall</tt>' and then `<tt>make
reinstall; make package</tt>' to make sure you haven't
included in the packing list any files that are not
installed by your port.
@ -324,6 +324,8 @@ ftp://ftp.FreeBSD.ORG/pub/FreeBSD/incoming/
</verb></tscreen>
and send mail to us using <tt>send-pr(1)</tt> (please
classify it as category `ports' and class `change-request').
There is no need to upload the package, we will build it by
ourselves.
We will take a look, get back to you if necessary, and put
it in the tree. Your name will also appear in the list of
`Additional FreeBSD contributors' on the FreeBSD Handbook

View file

@ -1,6 +1,6 @@
<!-- $Id: porting.sgml,v 1.30 1997-12-07 06:03:58 max Exp $ -->
<!-- $Id: porting.sgml,v 1.31 1997-12-29 17:01:12 asami Exp $ -->
<!-- The FreeBSD Japanese Documentation Project -->
<!-- Original revision: 1.84 -->
<!-- Original revision: 1.86 -->
<sect1><heading>フリーソフトウェアの移植<label id="porting"></heading>
@ -155,6 +155,7 @@ Makefile
2.2-STABLE (2.2.2-RELEASE 以後): 222001
2.2.5-RELEASE: 225000
2.2-STABLE (2.2.5-RELEASE 以後): 225001
2.2-STABLE (ldconfig -R 以後): 225002
3.0-current (mount(2) 変更以前): 300000
3.0-current (1997年11月現在): 300001
</verb></tscreen>
@ -300,12 +301,12 @@ lib/X11/oneko/mouse.xpm
<p>そのportが正しく動くことを, package化を含めて確認してく
ださい. まず, `<tt>make install</tt>', `<tt>make
package</tt>' を試してください. また, `<tt>pkg_delete
&lt;pkgname&gt;</tt>' をして,すべてのファイルとディレクトリ
package</tt>' を試してください. また, `<tt>make
deinstall</tt>' をして,すべてのファイルとディレクトリ
が正しく消去されているかどうかを確認してください. それから,
`<tt>pkg_add &lt;pkgname&gt;.tgz</tt>' をおこない, すべての
`<tt>pkg_add `make package-name`.tgz</tt>' をおこない, すべての
ファイルが再び現れ, 正しく動作することを確認してください. そ
して再度 `<tt>pkg_delete &lt;pkgname&gt;</tt>' を実行してか
して再度 `<tt>make deinstall</tt>' を実行してか
ら, `<tt>make reinstall; make package</tt>' を実行して,
packing list にあなたの作ったportがインストールする以外のファ
イルが含まれていないことを確認してください.
@ -324,8 +325,10 @@ ftp://ftp.FreeBSD.ORG/pub/FreeBSD/incoming/
</verb></tscreen>
へ置き, <tt>send-pr(1)</tt> を使って私たちのところにメールを送っ
てください (categoryは `ports', classは `change-request' を
使ってください). 私たちは, 何か不明な点があったらあなたに確
認したのち, それをツリーへ置きます. あなたの名前は, FreeBSD
使ってください).
Packageはこちらで作りますので送っていただく必要はありません.
私たちは, 何か不明な点があったらあなたに確認したのち,
それをツリーへ置きます. あなたの名前は, FreeBSD
ハンドブックやその他のファイルの `Additional FreeBSD
contributors' のリストにも載るでしょう. う~ん, 素晴らし
い. <tt>:)</tt>

View file

@ -1,6 +1,6 @@
<!-- $Id: porting.sgml,v 1.30 1997-12-07 06:03:58 max Exp $ -->
<!-- $Id: porting.sgml,v 1.31 1997-12-29 17:01:12 asami Exp $ -->
<!-- The FreeBSD Japanese Documentation Project -->
<!-- Original revision: 1.84 -->
<!-- Original revision: 1.86 -->
<sect1><heading>フリーソフトウェアの移植<label id="porting"></heading>
@ -155,6 +155,7 @@ Makefile
2.2-STABLE (2.2.2-RELEASE 以後): 222001
2.2.5-RELEASE: 225000
2.2-STABLE (2.2.5-RELEASE 以後): 225001
2.2-STABLE (ldconfig -R 以後): 225002
3.0-current (mount(2) 変更以前): 300000
3.0-current (1997年11月現在): 300001
</verb></tscreen>
@ -300,12 +301,12 @@ lib/X11/oneko/mouse.xpm
<p>そのportが正しく動くことを, package化を含めて確認してく
ださい. まず, `<tt>make install</tt>', `<tt>make
package</tt>' を試してください. また, `<tt>pkg_delete
&lt;pkgname&gt;</tt>' をして,すべてのファイルとディレクトリ
package</tt>' を試してください. また, `<tt>make
deinstall</tt>' をして,すべてのファイルとディレクトリ
が正しく消去されているかどうかを確認してください. それから,
`<tt>pkg_add &lt;pkgname&gt;.tgz</tt>' をおこない, すべての
`<tt>pkg_add `make package-name`.tgz</tt>' をおこない, すべての
ファイルが再び現れ, 正しく動作することを確認してください. そ
して再度 `<tt>pkg_delete &lt;pkgname&gt;</tt>' を実行してか
して再度 `<tt>make deinstall</tt>' を実行してか
ら, `<tt>make reinstall; make package</tt>' を実行して,
packing list にあなたの作ったportがインストールする以外のファ
イルが含まれていないことを確認してください.
@ -324,8 +325,10 @@ ftp://ftp.FreeBSD.ORG/pub/FreeBSD/incoming/
</verb></tscreen>
へ置き, <tt>send-pr(1)</tt> を使って私たちのところにメールを送っ
てください (categoryは `ports', classは `change-request' を
使ってください). 私たちは, 何か不明な点があったらあなたに確
認したのち, それをツリーへ置きます. あなたの名前は, FreeBSD
使ってください).
Packageはこちらで作りますので送っていただく必要はありません.
私たちは, 何か不明な点があったらあなたに確認したのち,
それをツリーへ置きます. あなたの名前は, FreeBSD
ハンドブックやその他のファイルの `Additional FreeBSD
contributors' のリストにも載るでしょう. う~ん, 素晴らし
い. <tt>:)</tt>