# $OpenBSD: Makefile.template,v 1.88 2020/05/15 01:32:48 abieber Exp $

COMMENT =	simple and fast file manager

GH_ACCOUNT =	dylanaraps
GH_PROJECT =	fff
GH_TAGNAME =	2.1

CATEGORIES =	x11

HOMEPAGE =	https://github.com/dylanaraps/fff

MAINTAINER =		Dimitri Karamazov <deserter666@danwin1210.me>

#MIT
PERMIT_PACKAGE =	Yes

RUN_DEPENDS =		shells/bash \
			devel/gettext,-runtime \
			converters/libiconv \
			devel/xdg-utils


CONFIGURE_STYLE =	none
NO_BUILD =		Yes
NO_TEST =		Yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/fff ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/fff.1 ${PREFIX}/man/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fff
	${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/fff

.include <bsd.port.mk>
