# $Id: Portfile,v 1.3 2005/06/07 19:48:36 waqar Exp $

PortSystem 1.0
name		GPGAppKit
version		A1
revision	2
categories	aqua devel security
maintainers	waqar@opendarwin.org
description	A framework that provides GPG-type panels
long_description	\
	A framework that provides GPG-type panels for key selection 	\
	(single or multiple) and passphrase entry.			\
									\
	All panels can be used as modal windows, relative windows 	\
	(pseudo-sheets), or sheets.
homepage	http://macgpg.sourceforge.net
platforms	macosx
master_sites	sourceforge:macgpg
dist_subdir	macgpg
worksrcdir	${name}
checksums	md5 bdf8de6fee79e1e6ffe0b8374b283e35			\
		sha1 3b09b07e864b2600894f7eafafe2f537e0b6ce0d
depends_lib	port:gpgme-objc
use_configure	no
build.type 	pbx
build.target	-target ${name}
build.args	build FRAMEWORK_SEARCH_PATHS=${prefix}/Library/Frameworks

destroot 	{
	cd ${worksrcpath}
	system "${build.cmd} install ${build.target}			\
		INSTALL_PATH=${prefix}/Library/Frameworks 		\
		FRAMEWORK_SEARCH_PATHS=${prefix}/Library/Frameworks	\
		INSTALL_MODE_FLAG=go-w,a+rX DSTROOT=${destroot}"
}
