aboutsummaryrefslogtreecommitdiff
path: root/sysutils/siegfried/Makefile
blob: 95616597639278c22476849d72be82ec954ea743 (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
PORTNAME=	siegfried
DISTVERSIONPREFIX=	v
DISTVERSION=	1.9.4
PORTREVISION=	2
CATEGORIES=	sysutils

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	File identification tool
WWW=		https://github.com/richardlehane/siegfried

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		go:modules

GO_MODULE=	github.com/richardlehane/siegfried
GO_TARGET=	./cmd/sf

PLIST_FILES=	bin/sf

do-test:
	@cd ${WRKSRC} && \
		${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS} \
		./cmd/sf

.include <bsd.port.mk>