aboutsummaryrefslogtreecommitdiff
path: root/sysutils/siegfried/Makefile
blob: fbd9d136ad6d3965767de79f097890327362a954 (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
PORTNAME=	siegfried
DISTVERSIONPREFIX=	v
DISTVERSION=	1.11.1
PORTREVISION=	1
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>