COMMENT =	general purpose file previewer

MODGO_MODNAME =	github.com/doronbehar/pistol
MODGO_VERSION =	v0.5.3

DISTNAME =	pistol-${MODGO_VERSION}

CATEGORIES =	sysutils

HOMEPAGE =	https://github.com/doronbehar/pistol

MAINTAINER =	Igor Zornik <mocheryl@mocheryl.org>

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB +=	c pthread

BUILD_DEPENDS =	devel/libmagic \
				textproc/asciidoctor

MODULES =	lang/go

post-install:
	@asciidoctor -b manpage -d manpage \
		${WRKSRC}/README.adoc -D ${PREFIX}/man/man1/

.include "modules.inc"

.include <bsd.port.mk>
