28. • インストールオプションを表示する
% sudo /opt/local/bin/port variants postfix
postfix has the variants:
universal
pcre: add pcre support
tls: add tls supporti via openssl
sasl: add sasl support via cyrus-sasl2
36. # $Id $
PortSystem 1.0
name screen
version 4.0.3
homepage http://www.gnu.org/software/screen/
description Screen manager withVT100/ANSI terminal emulation
long_description Screen is a full-screen window manager that multiplexes a physical
terminal between several processes (typically interactive shells).
Each virtual terminal provides the functions of a DECVT100 terminal
and, in addition, several control functions from the ANSI X3.64 (ISO
6429) and ISO 2022 standards (e.g. insert/delete line and support for
multiple character sets).There is a scrollback history buffer for each
virtual terminal and a copy-and-paste mechanism that allows moving text
regions between windows.
categories sysutils
platforms darwin
maintainers digdog@macports.org
master_sites http://fresh.t-systems-sfr.com/unix/src/misc/
ftp://ftp.uni-erlangen.de/pub/utilities/screen/
http://www.cis.nctu.edu.tw/~is85005/dports/screen/:encoding
48. • ディレクトリを作る
% cd /Users/Shared
% mkdir -p ports/misc/bat
% cd ports/misc/bat
49. • Portfileを作る
# $Id$
PortSystem 1.0
name bat
version 0.0.1
categories misc
maintainers bto
description bat
long_description bat
homepage http://labs.unoh.net/2006/10/global_standard_programming_wi.html
html
platforms darwin
master_sites http://labs.unoh.net/misc/autotools
checksums md5 dd15d8257a84d8d9cc4edadf5dec4b4a
sha1 67d95834dff4776175798d03553e3574c4fd2e61
rmd160 41c93ce881e62563b210f29131f5ae011c81a652
51. • Portインデックスを更新する
% cd /Users/Shared/ports
% sudo /opt/local/bin/portindex
% ls
PortIndex misc/
52. • Portをインストーしてみる
% sudo /opt/local/bin/port search bat
bat misc/bat 0.0.1 bat
% sudo /opt/local/bin/port bat install
---> Unpacking tgz archive for bat 0.0.1_0
---> Installing bat 0.0.1_0
---> Activating bat 0.0.1_0
---> Cleaning bat