# $Id: Portfile 34793 2008-03-06 01:55:52Z jmr@macports.org $

PortSystem 1.0

name			pgp
version			50i
categories		security mail
maintainers		nomaintainer
description		Public-Key encryption for the masses
platforms		darwin

homepage          http://www.pgpi.org/
master_sites		ftp://ftp.ifi.uio.no/pub/pgp/5.0/unix/ \
			ftp://ftp.doc.ic.ac.uk/pub/Mirrors/ftp.ifi.uio.no/pub/pgp/5.0/unix/
checksums		md5 7a01203f0053aa78a781367461d52187
distfiles		${name}${version}-unix-src.tar.gz
worksrcdir		${name}${version}/src

long_description \
	PGP 5.0 contains support for new encryption methods (most notably \
	DSS/Diffie-Hellman), and built-in keyserver support.  Also, the \
	command line has been redesigned to be more Unix and scripting \
	friendly. Note: this software is old\; you probably want gnupg or \
	gnupg2 instead.

patchfiles	patch-pgpFullLicense.c.diff

platform darwin i386 {
	pre-fetch {
		return -code error "PGP will only build on PowerPC Macs. Try gnupg instead."
	}
}
