summaryrefslogtreecommitdiff
path: root/sysutils/angrysearch/Makefile
blob: 5ba767afb59cae736dadabcc060a10cc080b5b9f (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
29
30
31
PORTNAME=	${GH_PROJECT:tl}
PORTVERSION=	1.0.3
PORTREVISION=	2
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils python

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Quick search GUI tool for Unix-like systems
WWW=		https://github.com/DoTheEvo/ANGRYsearch

LICENSE=	GPLv2

RUN_DEPENDS=	xdg-open:devel/xdg-utils \
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}

USE_GITHUB=	yes
GH_ACCOUNT=	DoTheEvo
GH_PROJECT=	ANGRYsearch

USES=		python pyqt:5
USE_PYTHON=	autoplist distutils noflavors
USE_PYQT=	pyqt5:run

post-patch:
	@${REINPLACE_CMD} -e 's,Linux,${OPSYS}, ; s,linux,${OPSYS:tl}, \
		; s,/usr/share,${PREFIX}/share,' ${WRKSRC}/setup.py \
		${WRKSRC}/angrysearch.desktop

.include <bsd.port.mk>

PATCH_ARGS+=	-l