summaryrefslogtreecommitdiff
path: root/www/firefox_decrypt/Makefile
blob: 0cb1af0dc3bc2bb922415848943f5670f491ddd1 (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
26
27
28
# $NetBSD: Makefile,v 1.3 2022/06/30 11:18:58 nia Exp $

DISTNAME=	firefox_decrypt-0.7.0
PKGREVISION=	2
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GITHUB:=unode/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/unode/firefox_decrypt/
COMMENT=	Extract passwords from Mozilla Firefox profiles
LICENSE=	gnu-gpl-v3

PYTHON_VERSIONS_INCOMPATIBLE=	27
REPLACE_PYTHON=			firefox_decrypt.py
INSTALLATION_DIRS=		bin

SUBST_CLASSES+=			nss
SUBST_FILES.nss+=		${REPLACE_PYTHON}
SUBST_STAGE.nss=		pre-configure
SUBST_VARS.nss+=		PREFIX

do-build:

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/firefox_decrypt.py ${DESTDIR}${PREFIX}/bin

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"