Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site

Hi! I’m clsung RSS Feed
 
 
 
 

[ports] add new port

太久沒做了,忘光光!完整的作法在這裡

偷雞摸狗的作法就是先做一個,然後 blog 起來,以後照作就對啦:

  • 建 shar 檔:
    % shar `find nltk_lite` > nltk_lite.sh
  • 送到 freefall 去,用 scp 吧!
  • 解開
    % sh nltk_lite.sh

    記得要跟第一步是同一個目錄啊。

  • 記得再做一次 new port test :
    % cd nltk_lite; portlint -abcN
    looks fine.
  • 回到原來目錄後 commit :
    % addport -d nltk_lite/

    把 message 寫一下就可以啦

  • 成功的訊息長這樣:

    !You’re done! The new port nltk_lite has been completely imported in
    the tree. Don’t forget to add the creator’s name and email address to
    the Contributors’ List if they are not already there.

You’re done!!!!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • funp
  • Hemidemi
  • Live
  • TwitThis
  • udn
  • Ping.fm
  • Technorati

2 Responses to “[ports] add new port”

  1. 1
    vv:

    這些不是在自己的機器上都可以完成?

    /usr/ports/Tools/scripts/addport -a -d path -l PR

    然後用之前的 close-pr script, 遠端就可以搞定一切了.

  2. 2
    clsung:

    對啊, 可是我每次遠端都怕會不小心 ci 到別的東西, 所以除了 close-pr 之外, 我都不遠端的 :$ 不知道如果一次大量的話, 用這個會不會有問題啊?

Leave a Reply

噗浪:

  • clsung 說 愛印網 促銷中 10 hours 前
  • clsung 說 神秘的 bug.. 16 hours 前
  • clsung 說 雨耶... 22 hours 前

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了