# $Id: Portfile 74522 2010-12-20 09:07:52Z jmr@macports.org $

PortSystem	1.0

name		pidgin-encryption
version		3.0
categories	net
maintainers	reifferscheid.org:rsync
description	Pidgin encryption plugin
depends_lib	port:nss port:pidgin

long_description ${description}
configure.args	--with-nss-includes=${prefix}/include/nss \
		--with-nss-libs=${prefix}/lib/nss \
		--with-nspr-includes=${prefix}/include/nspr \
		--with-nspr-libs=${prefix}/lib/nspr

homepage	http://pidgin-encrypt.sourceforge.net/
platforms       darwin
master_sites	http://downloads.sourceforge.net/pidgin-encrypt/
checksums	md5 3f3f8e9a15d19e084d54bfbbd2db9d77 \
		sha1 bccad1c4ac0bec12e6837324f543ea60530d0761

build.target

destroot {
        xinstall -m 755 -d ${destroot}${prefix}/lib/pidgin/
        eval xinstall -m 755 ${worksrcpath}/.libs/encrypt.so ${destroot}${prefix}/lib/pidgin/
        eval xinstall -m 755 ${worksrcpath}/.libs/encrypt.la ${destroot}${prefix}/lib/pidgin/
}
