freebsd-ports/sysutils/siegfried/Makefile
2023-09-08 09:34:56 -05:00

25 lines
508 B
Makefile

PORTNAME= siegfried
DISTVERSIONPREFIX= v
DISTVERSION= 1.10.1
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>