freebsd-ports/sysutils/angrysearch/Makefile
2021-04-06 16:31:07 +02:00

32 lines
782 B
Makefile

# 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