PORTNAME= dma
PORTVERSION= 20090208
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= http://mirror.roe.ch/dist/dma/
if ARGV.delete "-t"
msg = STDIN.read
head, cr, body = msg.split(/(?<=\n)(\r?)\n/, 2)
head, cr, body = msg.split(/\n(\r?)\n/, 2)
head = head + "\n"
tmphead = head.gsub(/\n\s+/m, ' ')
rcpts = []
tmphead.gsub(/^(?:to|cc|bcc):\s.*$/i) do |match|