Index: head/sysutils/siegfried/Makefile =================================================================== --- head/sysutils/siegfried/Makefile (revision 519067) +++ head/sysutils/siegfried/Makefile (revision 519068) @@ -1,24 +1,28 @@ # Created by: Steffen Fritz # $FreeBSD$ PORTNAME= siegfried DISTVERSIONPREFIX= v DISTVERSION= 1.7.13 CATEGORIES= sysutils MAINTAINER= tobik@FreeBSD.org COMMENT= File identification tool LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= go:modules USE_GITHUB= yes GH_ACCOUNT= richardlehane GO_TARGET= ./cmd/sf -GO_TEST_TARGET= ./cmd/sf PLIST_FILES= bin/sf + +do-test: + @cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS} \ + ./cmd/sf .include