aboutsummaryrefslogtreecommitdiff
path: root/sysutils/angrysearch/Makefile
blob: 0c27d878ed880275fa2592ac60cfed07c3410d9c (plain) (blame)
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
32
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	angrysearch
PORTVERSION=	1.0.2 # untagged, but specified in the setup.py
PORTREVISION=	5
CATEGORIES=	sysutils python

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Quick search GUI tool for Unix-like systems

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
GH_TAGNAME=	6f8fccc

USES=		python pyqt:5
USE_PYTHON=	autoplist distutils noflavors
USE_PYQT=	core_run gui_run widgets_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