# ex:ts=8
# Ports collection makefile for:	nofgpg
# Date created:			Mar 15, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	nofgpg
PORTVERSION=	0.4
CATEGORIES=	security python
MASTER_SITES=	http://www.cgabriel.org/sw/nofgpg/

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg \
		${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome

USE_PYTHON=	yes
NO_BUILD=	yes

MAN1=	nofgpg.1

post-patch:
	@${PERL} -pi -e "s,/usr/share,${X11BASE}/share/gnome,g" ${WRKSRC}/nofgpg

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>