freebsd-ports/security/gnome-password-generator/Makefile
Marcus von Appen 742321c708 - Convert ports of science/ and security to new USES=python
Approved by:	portmgr (implicit)
2014-10-24 16:50:42 +00:00

25 lines
728 B
Makefile

# 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= ports@FreeBSD.org
COMMENT= GNOME 2 password generator
USE_GNOME= pygnome2
USES= python
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>