summaryrefslogtreecommitdiffstats
path: root/security/gnome-password-generator/Makefile
blob: b176104701c786e6432bfe46e1df32e881ee4a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$

PORTNAME=	gnome-password-generator
PORTVERSION=	1.6
PORTREVISION=	5
CATEGORIES=	security gnome python
MASTER_SITES=	SF/gnome-password/Gnome%20Password%20Generator/${PORTVERSION}

MAINTAINER=	sylvio@FreeBSD.org
COMMENT=	GNOME 2 password generator

USE_GNOME=	pygnome2
USE_PYTHON=	yes

do-build:
	@cd ${WRKSRC} && ${SED} -e 's|/usr/bin/python|${PYTHON_CMD}|g ; \
		 s|/usr/share|${PREFIX}/share|g' ${PORTNAME}.py > ${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${PREFIX}/share/pixmaps
	${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${PREFIX}/share/applications

.include <bsd.port.mk>
OpenPOWER on IntegriCloud