# New ports collection makefile for:	gnome-password-generator
# Date created:				2004-07-13
# Whom:					Sergey Akifyev <asa@gascom.ru>
#
# $FreeBSD: ports/security/gnome-password-generator/Makefile,v 1.7 2006/10/14 08:54:42 marcus Exp $
#

PORTNAME=	gnome-password-generator
PORTVERSION=	1.4
PORTREVISION=	4
CATEGORIES=	security gnome python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gnome-password

MAINTAINER=	asa@gascom.ru
COMMENT=	GNOME 2 password generator

USE_GNOME=	pygnome2
USE_PYTHON=	yes
USE_GMAKE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|g' -e 's|(prefix)/share|(prefix)/share/gnome|g' ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' ${WRKSRC}/${PORTNAME}

.include <bsd.port.mk>
