18.4. ¥É¥­¥å¥á¥ó¥È¤Î¥¢¥Ã¥×¥Ç¡¼¥È

¥Ù¡¼¥¹¥·¥¹¥Æ¥à¡¢Ports Collection ¤Ë²Ã¤¨¡¢ ¥É¥­¥å¥á¥ó¥È¤â FreeBSD ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Î¹½À®Í×ÁǤǤ¹¡£ FreeBSD ¥É¥­¥å¥á¥ó¥È¥»¥Ã¥È¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢FreeBSD ¥¦¥§¥Ö¥µ¥¤¥È ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¤¬¡¢ ¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤¬ÃÙ¤¤¡¢¤â¤·¤¯¤Ï¤Þ¤Ã¤¿¤¯Àܳ¤Ç¤­¤Ê¤¤¥æ¡¼¥¶¤â¤¤¤Þ¤¹¡£ ¹¬±¿¤Ë¤â¡¢³Æ¥ê¥ê¡¼¥¹¤ÇÄ󶡤µ¤ì¤ë¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¡¢ ºÇ¿·¤Î FreeBSD ¥É¥­¥å¥á¥ó¥È¥»¥Ã¥È¤ò¥í¡¼¥«¥ë¤Ç°Ý»ý¤¹¤ëÊýË¡¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

18.4.1. Subversion ¤òÍѤ¤¤¿¥É¥­¥å¥á¥ó¥È¤Î¥¢¥Ã¥×¥Ç¡¼¥ÈÊýË¡

FreeBSD ¤Î¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤Ï¡¢ Subversion ¤òÍѤ¤¤ÆÆþ¼ê¤Ç¤­¤Þ¤¹¡£ ¤³¤ÎÀá¤Ç¤Ï°Ê²¼¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£

18.4.2. Subversion ¤ª¤è¤Ó¥É¥­¥å¥á¥ó¥È¥Ä¡¼¥ë¥Á¥§¥¤¥ó¤Î¥¤¥ó¥¹¥È¡¼¥ë

FreeBSD ¤Î¥É¥­¥å¥á¥ó¥È¤ò¥½¡¼¥¹¤«¤éºÆ¹½ÃÛ¤¹¤ë¤Ë¤Ï¡¢ ¤«¤Ê¤êÂ礭¤Ê¥Ä¡¼¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó¤¬É¬ÍפǤ¹¡£ ¤³¤ì¤é¤Î¥Ä¡¼¥ë¤Ï¿¤¯¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤òɬÍפȤ·¡¢¤Þ¤¿¡¢ ¤¹¤Ù¤Æ¤Î FreeBSD ¥æ¡¼¥¶¤Ë¤È¤Ã¤ÆÍ­ÍѤȤ¤¤¦¤ï¤±¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢ FreeBSD ¥Ù¡¼¥¹¥·¥¹¥Æ¥à¤Î°ìÉô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤é¤Î¥Ä¡¼¥ë¤Ï¡¢FreeBSD ¤Î¤¿¤á¤Ë¿·¤·¤¤¥É¥­¥å¥á¥ó¥È¤ò³èȯ¤Ë¼¹É®¤·¤Æ¤¤¤ëÊý¤ä¡¢ ÉÑÈˤ˥ɥ­¥å¥á¥ó¥È¤ò¥½¡¼¥¹¤«¤é¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ëÊý¤Ë¸þ¤±¤¿¤â¤Î¤Ç¤¹¡£

ɬÍפʥġ¼¥ë¤Ï¡¢¤¹¤Ù¤Æ Ports Collection ¤ÇÆþ¼ê¤Ç¤­¤Þ¤¹¡£textproc/docproj ¤Ï¡¢ FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥È¤Ë¤è¤ê³«È¯¤µ¤ì¤Æ¤¤¤ë¥Þ¥¹¥¿¡¼ port ¤Ç¡¢ ¤³¤ì¤é¤Î¥Ä¡¼¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥Ã¥×¥Ç¡¼¥È¤òÍưפˤ·¤Þ¤¹¡£

注意: ¥É¥­¥å¥á¥ó¥È¤Î PostScript® ¤ä PDF ÈǤ¬É¬Íפʤ±¤ì¤Ð¡¢¤«¤ï¤ê¤Ë textproc/docproj-nojadetex ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤â¹Í¤¨¤Æ¤è¤¤¤Ç¤·¤ç¤¦¡£ ¤³¤Î¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¤Î¥Ä¡¼¥ë¥Á¥§¥¤¥ó¤Ï¡¢ teTeX ¤È¸Æ¤Ð¤ì¤ëÁÈÈÇ¥¨¥ó¥¸¥ó¤ò½ü¤¤¤¿¤¹¤Ù¤Æ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£ teTeX ¤ÏÂ礭¤Ê¥Ä¡¼¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó¤Ç¤¹¡£ ¤½¤Î¤¿¤á¡¢¤â¤· PDF ½ÐÎϤòËÜÅö¤ËɬÍפȤ·¤Ê¤±¤ì¤Ð¡¢ ¤³¤Î¥Ä¡¼¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¤³¤È¤Ï¤È¤Æ¤â¸­ÌÀ¤Ç¤¹¡£

textproc/docproj ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤È¡¢Subversion ¤â¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

18.4.3. ¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë

¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤Ï¡¢ Subversion ¥×¥í¥°¥é¥à¤ò»È¤Ã¤Æ¥À¥¦¥ó¥í¡¼¥É¤Ç¤­¤Þ¤¹¡£ western US ¥ß¥é¡¼¤«¤é HTTPS ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

# svn checkout https://svn0.us-west.FreeBSD.org/doc/head /usr/doc

ÍøÍѲÄǽ¤Ê Subversion ¥ß¥é¡¼¥µ¥¤¥È ¤ÎÃ椫¤é¤â¤Ã¤È¤â¶á¤¤¥ß¥é¡¼¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£

ºÇ½é¤Ë¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤Ë¤Ï¾¯¤·»þ´Ö¤¬¤«¤«¤ê¤Þ¤¹¡£ ¥À¥¦¥ó¥í¡¼¥É¤¬½ª¤ï¤ë¤Þ¤Ç¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£

¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤Ë¤Ï¡¢ °Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# svn update /usr/doc

¥½¡¼¥¹¤òÆþ¼ê¤·¤¿¤é¡¢/usr/doc ¥Ç¥£¥ì¥¯¥È¥ê¤Î Makefile ¤ò»È¤¤¡¢ °Ê²¼¤Î¤è¤¦¤Ë¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

# cd /usr/doc
# make update

18.4.4. ¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ÎÄ´À°²Äǽ¤Ê¥ª¥×¥·¥ç¥ó

FreeBSD ¤Î¥É¥­¥å¥á¥ó¥È¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤È¥Ó¥ë¥É¥·¥¹¥Æ¥à¤Ï¡¢ ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¤Î°ìÉô¤Î¥¢¥Ã¥×¥Ç¡¼¥È¤ò´Êñ¤Ë¤¹¤ë¥ª¥×¥·¥ç¥ó¤ä¡¢ ÆÃÄê¤ÎËÝÌõ¤Î¥Ó¥ë¥É¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥·¥¹¥Æ¥àÁ´È̤Υª¥×¥·¥ç¥ó¤Ç¤¢¤ë /etc/make.conf ¥Õ¥¡¥¤¥ë¤ä¡¢make(1) ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ËÍ¿¤¨¤ë¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£

°Ê²¼¤¬¤³¤ì¤é¤Î¥ª¥×¥·¥ç¥ó¤Î°ìÉô¤Ç¤¹¡£

DOC_LANG

¥Ó¥ë¥É¤ª¤è¤Ó¥¤¥ó¥¹¥È¡¼¥ë¤Î¸À¸ì¤ª¤è¤Ó¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Î°ìÍ÷¡£ ¤¿¤È¤¨¤Ð¡¢±Ñ¸ì¤Î¥É¥­¥å¥á¥ó¥È¤Î¤ß¤ò»ØÄꤹ¤ë¤Ë¤Ï en_US.ISO8859-1 ¤òÀßÄꤷ¤Þ¤¹¡£

FORMATS

¥Ó¥ë¥É¤ò¹Ô¤¦¥Õ¥©¡¼¥Þ¥Ã¥È¡¢¤Þ¤¿¤Ï½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î°ìÍ÷¡£ ¸½ºß¤Ï html, html-split, txt, ps, pdf, ¤½¤·¤Æ rtf ¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£

DOCDIR

¥É¥­¥å¥á¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì½ê¡£¥Ç¥Õ¥©¥ë¥È¤Ï /usr/share/doc ¤Ç¤¹¡£

FreeBSD ¤Î¥·¥¹¥Æ¥àÁ´È̤Υª¥×¥·¥ç¥ó¤Ë´ØÏ¢¤¹¤ë¤â¤Ã¤È¿¤¯¤Î make ÊÑ¿ô¤Ë¤Ä¤¤¤Æ¤Ï¡¢ make.conf(5) ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

FreeBSD ¥É¥­¥å¥á¥ó¥È¤Î¥Ó¥ë¥É¥·¥¹¥Æ¥à¤ÇÂбþ¤·¤Æ¤¤¤ë¤µ¤é¤Ê¤ë make ¤ÎÊÑ¿ô¤Ë´Ø¤·¤Æ¤Ï¡¢ ¿·¤·¤¤¹×¸¥¼Ô¤Î¤¿¤á¤Î FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥ÈÆþÌç ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£

18.4.5. ¥½¡¼¥¹¤«¤é FreeBSD ¥É¥­¥å¥á¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë

¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ÎºÇ¿·¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤ò /usr/doc ¤Ë¥À¥¦¥ó¥í¡¼¥É¤·½ª¤ï¤Ã¤¿¤é¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë½àÈ÷¤¬¤¹¤Ù¤ÆÀ°¤¤¤Þ¤·¤¿¡£

makefile ¤Î DOC_LANG ¥ª¥×¥·¥ç¥ó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¸À¸ì¤ò´°Á´¤Ë¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤Ë¤Ï¡¢ °Ê²¼¤Î¤è¤¦¤ËÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£

# cd /usr/doc
# make install clean

¤â¤·¡¢¤¢¤ëÆÃÄê¤Î¸À¸ì¤Î¤ß¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤¿¤¤¤Î¤Ç¤¢¤ì¤Ð¡¢ /usr/doc ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Ç°Ê²¼¤Î¤è¤¦¤Ë make(1) ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# cd /usr/doc/en_US.ISO8859-1
# make update install clean

make ¤Î FORMATS ÊÑ¿ô¤òÀßÄꤷ¤Æ¡¢ °Ê²¼¤Î¤è¤¦¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë½ÐÎÏ·Á¼°¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£

# cd /usr/doc
# make FORMATS='html html-split' install clean

¥É¥­¥å¥á¥ó¥È¤òÊÔ½¸¤·¤¿¤ê¡¢ÄûÀµ¤·¤¿¤â¤Î¤òÄó½Ð¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¿·¤·¤¤¹×¸¥¼Ô¤Î¤¿¤á¤Î FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥×¥í¥¸¥§¥¯¥ÈÆþÌç ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£

18.4.6. ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports

¥Ù¡¼¥¹¤È¤Ê¤Ã¤¿ºî¶È:Marc Fonvieille.

¤³¤ì¤Þ¤Ç¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢¥½¡¼¥¹¥³¡¼¥É¤òÍѤ¤¤¿ FreeBSD ¥É¥­¥å¥á¥ó¥È¤Î¥¢¥Ã¥×¥Ç¡¼¥ÈÊýË¡¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤­¤Þ¤·¤¿¡£ ¤·¤«¤·¤Ê¤¬¤é¡¢¤¹¤Ù¤Æ¤Î¥·¥¹¥Æ¥à¤Ë¤ª¤¤¤Æ¡¢ ¥½¡¼¥¹¤«¤é¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤³¤È¤ÏÆñ¤·¤¤¤«¤âÃΤì¤Þ¤»¤ó¤·¡¢ ¤Ç¤­¤¿¤È¤·¤Æ¤â¸½¼ÂŪ¤Ç¤Ï¤Ê¤¤¤³¤È¤â¤¢¤ê¤Þ¤¹¡£ ¥É¥­¥å¥á¥ó¥È¤ò¥½¡¼¥¹¤«¤é¹½ÃÛ¤¹¤ë¤Ë¤Ï¡¢ ¤«¤Ê¤êÂ礭¤Ê¥Ä¡¼¥ë¤È¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤«¤é¹½À®¤µ¤ì¤ë ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥Ä¡¼¥ë¥Á¥§¥¤¥ó ¤¬É¬ÍפǤ¹¡£ ¤Þ¤¿¡¢Subversion ¥ê¥Ý¥¸¥È¥ê¤«¤é¥½¡¼¥¹¤ò¥Á¥§¥Ã¥¯¥¢¥¦¥È¤·¡¢ ¥Á¥§¥Ã¥¯¥¢¥¦¥È¤·¤¿¥½¡¼¥¹¤«¤é¥É¥­¥å¥á¥ó¥È¤ò¼êÆ°¤Ç¹½ÃÛ¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¡¢ ¤½¤ì¤Ê¤ê¤Ë½ÏÃΤ·¤Æ¤¤¤ëɬÍפ⤢¤ê¤Þ¤¹¡£ ¤³¤ÎÀá¤Ç¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë FreeBSD ¤Î¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤â¤¦°ì¤Ä¤ÎÊýË¡¤Ç¤¢¤ë¡¢ Ports Collection ¤òÍѤ¤¤¿°Ê²¼¤ÎÊýË¡¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£

FreeBSD ¤Î¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤³¤ì¤é¤ÎÊýË¡¤Ï¡¢ ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥¨¥ó¥¸¥Ë¥¢¥ê¥ó¥°¥Á¡¼¥à ¤¬Ëè·î¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¤¤¤ë ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Ë¤è¤ê¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Î ports ¤Ï¡¢FreeBSD Ports Collection ¤Î docs ²¾ÁÛ¥«¥Æ¥´¥ê¤Ë¤Þ¤È¤á¤é¤ì¤Æ¤¤¤Þ¤¹¡£

18.4.6.1. ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Î¹½Ãۤȥ¤¥ó¥¹¥È¡¼¥ë

¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Ç¤Ï¡¢ ports ¤Î¹½Ãۥե졼¥à¥ï¡¼¥¯¤¬ÍѤ¤¤é¤ì¤ë¤Î¤Ç¡¢ ¥É¥­¥å¥á¥ó¥È¤ò´Êñ¤Ë¹½ÃۤǤ­¤Þ¤¹¡£ ¤³¤Î ports ¤Ï¡¢¥É¥­¥å¥á¥ó¥È¤Î¥½¡¼¥¹¤ò¼«Æ°Åª¤Ë¥Á¥§¥Ã¥¯¥¢¥¦¥È¤·¡¢ ´Ä¶­ÊÑ¿ô¤ä¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤òŬÀÚ¤ËÀßÄꤷ¤Æ make(1) ¤ò¼Â¹Ô¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢Â¾¤Î FreeBSD port, package ¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÈƱÍͤ˴Êñ¤ÊÊýË¡¤Ç¡¢ ¥É¥­¥å¥á¥ó¥È¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ä¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

注意: Äɲäε¡Ç½¤È¤·¤Æ¡¢¤³¤Î ports ¤Ï ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥Ä¡¼¥ë¥Á¥§¥¤¥ó ports ¤Ø¤Î°Í¸¤òÍý²ò¤·¤Æ¤¤¤ë¤Î¤Ç¡¢ ¹½ÃÛ»þ¤Ë¤Ï¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥Ä¡¼¥ë¥Á¥§¥¤¥ó¤â¼«Æ°Åª¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Î¹½À®¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£

  • “¥Þ¥¹¥¿ port”, misc/freebsd-doc-en¡£ ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó port ¤Î¥Õ¥¡¥¤¥ë¤Ï¤³¤³¤Ë¤¢¤ê¤Þ¤¹¡£ ¤³¤Î port ¤Ï¡¢¤¹¤Ù¤Æ¤Î¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Î¥Ù¡¼¥¹¤Ç¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢±Ñ¸ì¤Îʸ½ñ¤Î¤ß¤ò¹½ÃÛ¤·¤Þ¤¹¡£

  • “¤¹¤Ù¤Æ¤Î¥É¥­¥å¥á¥ó¥È¤Î port”, misc/freebsd-doc-all¡£ ¤³¤ì¤Ï¡¢¤¹¤Ù¤Æ¤ÎÍøÍѲÄǽ¤Ê¸À¸ì¤Î¤¹¤Ù¤Æ¤Î¥É¥­¥å¥á¥ó¥È¤ò¹½ÃÛ¤·¤Þ¤¹¡£

  • ºÇ¸å¤Ë¡¢³Æ¸À¸ì¤Î¤¿¤á¤Ë “¥¹¥ì¡¼¥Ö port” ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤¿¤È¤¨¤Ð¡¢misc/freebsd-doc-hu ¤Ï¥Ï¥ó¥¬¥ê¡¼¸ì¤Î¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó port ¤Ç¤¹¡£ ¤³¤Î port ¤Ï¡¢¤¹¤Ù¤Æ¥Þ¥¹¥¿ port ¤Ë°Í¸¤·¡¢ ³Æ¸À¸ì¤ÎËÝÌõ¤µ¤ì¤¿¥É¥­¥å¥á¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£

¥½¡¼¥¹¤«¤é¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó port ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡¢ °Ê²¼¤Î¥³¥Þ¥ó¥É¤ò (root ¸¢¸Â¤Ç) ¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£

# cd /usr/ports/misc/freebsd-doc-en
# make install clean

±Ñ¸ìÈǤÎʬ³ä¤µ¤ì¤¿ HTML ·Á¼° (http://www.FreeBSD.org ¤ÈƱ¤¸·Á¼°) ¤Î¥É¥­¥å¥á¥ó¥È¤¬¹½ÃÛ¤µ¤ì¡¢/usr/local/share/doc/freebsd ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

18.4.6.1.1. ¶¦Ä̤Υª¥×¥·¥ç¥ó

¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Ë¤Ï¤¿¤¯¤µ¤ó¤Î¥ª¥×¥·¥ç¥ó¤¬ÍÑ°Õ¤µ¤ì¤Æ¤ª¤ê¡¢ ports ¤Î¿¶¤ëÉñ¤¤¤ò¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄ꤫¤éÊѹ¹¤Ç¤­¤Þ¤¹¡£ °Ê²¼¤Ï¤½¤ÎÃ椫¤é¤¤¤¯¤Ä¤«¤ò¥ê¥¹¥È¥¢¥Ã¥×¤·¤¿¤â¤Î¤Ç¤¹¡£

WITH_HTML

HTML ·Á¼°¤ò¹½ÃÛ¤·¤Þ¤¹¡£ ¤½¤ì¤¾¤ì¤Î¥É¥­¥å¥á¥ó¥È¤´¤È¤Ëñ°ìÈǤΠHTML ¥Õ¥¡¥¤¥ë¤¬¹½ÃÛ¤µ¤ì¤Þ¤¹¡£ À°·Á¤µ¤ì¤¿¥É¥­¥å¥á¥ó¥È¤Ï¡¢ article.html ¤ä book.html ¤È¤¤¤Ã¤¿Ì¾Á°¤Ç¡¢ ²èÁü¤È¤È¤â¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

WITH_PDF

Adobe® Portable Document Format ¤ò¹½ÃÛ¤·¤Þ¤¹¡£ Adobe Acrobat Reader®, Ghostscript¡¢ ¤Þ¤¿¤Ï¡¢Â¾¤Î PDF ¥ê¡¼¥À¤ÇÆɤि¤á¤Î¤â¤Î¤Ç¤¹¡£ À°·Á¤µ¤ì¤¿¥É¥­¥å¥á¥ó¥È¤Ï¡¢ article.pdf ¤ä book.pdf ¤È¤¤¤Ã¤¿Ì¾Á°¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

DOCBASE

¥É¥­¥å¥á¥ó¥È¤Î¥¤¥ó¥¹¥È¡¼¥ëÀè¤òÀßÄꤷ¤Þ¤¹¡£ ¥Ç¥Õ¥©¥ë¥È¤Î¥¤¥ó¥¹¥È¡¼¥ëÀè¤Ï /usr/local/share/doc/freebsd ¤Ç¤¹¡£

注意: ¥Ç¥Õ¥©¥ë¥È¤Î¥¿¡¼¥²¥Ã¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢ Subversion ¤òÍѤ¤¤ëÊýË¡¤È¤Ï°Û¤Ê¤ê¤Þ¤¹¡£ ¤Ê¤¼¤Ê¤é¤Ð¡¢¤³¤ÎÀá¤ÇÀâÌÀ¤ò¤·¤Æ¤¤¤ëÊýË¡¤Ç¤Ï port ¤òÍѤ¤¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤ê¡¢ ports ¤ÏÄ̾ï /usr/local ¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë¤¿¤á¤Ç¤¹¡£ PREFIX ÊÑ¿ô¤ò»È¤¦¤³¤È¤Ç¡¢ ¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê°Ê³°¤Ë¤â¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹¡£

°Ê²¼¤Ï¡¢¾åµ­¤ÎÊÑ¿ô¤òÍѤ¤¤Æ¥Ï¥ó¥¬¥ê¡¼¸ì¤Î¥É¥­¥å¥á¥ó¥È¤ò PDF ·Á¼°¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÊýË¡¤ò¼¨¤¹¡¢´Êñ¤ÊÎã¤Ç¤¹¡£

# cd /usr/ports/misc/freebsd-doc-hu
# make -DWITH_PDF DOCBASE=share/doc/freebsd/hu install clean

18.4.6.2. ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó package ¤ÎÍøÍÑ

Á°Àá¤ÇÀâÌÀ¤·¤¿¡¢ ¥½¡¼¥¹¤«¤é¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó port ¤ò¹½ÃÛ¤¹¤ëÊýË¡¤Ç¤Ï¡¢ ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥Ä¡¼¥ë¥Á¥§¥¤¥ó¤ò¥í¡¼¥«¥ë¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ê¡¢ ¤Þ¤¿¡¢ports ¤Î¹½ÃۤΤ¿¤á¤Ë¥Ç¥£¥¹¥¯ÍÆÎ̤òɬÍפȤ·¤Þ¤¹¡£ ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥Ä¡¼¥ë¥Á¥§¥¤¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥ê¥½¡¼¥¹¤¬¤Ê¤¤¾ì¹ç¤ä¡¢ ¥½¡¼¥¹¤«¤é¹½ÃÛ¤¹¤ë¾ì¹ç¤Ë¤Ï¿¤¯¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤òɬÍפȤ¹¤ë¤¿¤á¡¢ ¹½ÃۺѤߤΥɥ­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó¥¨¥ó¥¸¥Ë¥¢¥ê¥ó¥°¥Á¡¼¥à ¤Ï¡¢Ëè·î FreeBSD ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó package ¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤³¤ì¤é¤Î¥Ð¥¤¥Ê¥ê package ¤Ï¡¢¥·¥¹¥Æ¥à¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë pkg_add(1), pkg_delete(1) ¤Ê¤É¤Î package ´ÉÍý¥Ä¡¼¥ë¤òÍѤ¤¤Æ°·¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

注意: ¥Ð¥¤¥Ê¥ê package ¤ò»È¤¦¤È¡¢ ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¸À¸ì¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë ¤¹¤Ù¤Æ ¤Î·Á¼°¤Î FreeBSD ¥É¥­¥å¥á¥ó¥È¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

¤¿¤È¤¨¤Ð¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢ ¥Ï¥ó¥¬¥ê¡¼¸ì¤Î¥É¥­¥å¥á¥ó¥È¤ÎºÇ¿· package ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£

# pkg_add -r hu-freebsd-doc

注意: ¥É¥­¥å¥á¥ó¥È¤Î package ¤Ï¡¢¸À¸ì¤´¤È¤ËÂбþ¤¹¤ë port ¤Ë lang-freebsd-doc ¤Î·Á¼°¤Ç̾Á°¤¬¤Ä¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£ ¤³¤³¤Ç¡¢lang ¤Ï¸À¸ì¥³¡¼¥É¤Îû½Ì·Á¤Ç¤¹¡£ ¥Ï¥ó¥¬¥ê¡¼¸ì¤Î¾ì¹ç¤Ï hu¡¢´ÊÂλú¤Î¾ì¹ç¤Ë¤Ï zh_cn ¤Ç¤¹¡£

18.4.6.3. ¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó ports ¤Î¥¢¥Ã¥×¥Ç¡¼¥È

¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î¥É¥­¥å¥á¥ó¥Æ¡¼¥·¥ç¥ó port ¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ë¤Ë¤Ï¡¢ ports ¤Î¥¢¥Ã¥×¥Ç¡¼¥È¥Ä¡¼¥ë¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ì¤Ð½½Ê¬¤Ç¤¹¡£ ¤¿¤È¤¨¤Ð¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢ ports-mgmt/portupgrade ¥Ä¡¼¥ë¤Ç¡¢package ¤À¤±¤ò»È¤Ã¤Æ¥Ï¥ó¥¬¥ê¡¼¸ì¤Î¥É¥­¥å¥á¥ó¥È¤ò¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Þ¤¹¡£

# portupgrade -PP hu-freebsd-doc

ËÜʸ½ñ¡¢¤ª¤è¤Ó¾¤Îʸ½ñ¤Ï ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/ ¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤­¤Þ¤¹¡£

FreeBSD ¤Ë´Ø¤¹¤ë¼ÁÌ䤬¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢¥É¥­¥å¥á¥ó¥È ¤òÆɤó¤À¾å¤Ç <questions@FreeBSD.org> ¤Þ¤Ç (±Ñ¸ì¤Ç) Ï¢Íí¤·¤Æ¤¯¤À¤µ¤¤¡£
ËÜʸ½ñ¤Ë´Ø¤¹¤ë¼ÁÌä¤Ë¤Ä¤¤¤Æ¤Ï¡¢<doc@FreeBSD.org> ¤Þ¤ÇÅŻҥ᡼¥ë¤ò (±Ñ¸ì¤Ç) Á÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£