forked from Lainports/freebsd-ports
38 lines
1.6 KiB
Makefile
38 lines
1.6 KiB
Makefile
PORTNAME= siegfried
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.9.5
|
|
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
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= richardlehane
|
|
GH_TUPLE= golang:image:e7cb96979f69:golang_image/vendor/golang.org/x/image \
|
|
golang:sys:aba9fc2a8ff2:golang_sys/vendor/golang.org/x/sys \
|
|
golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
|
|
richardlehane:characterize:v1.0.0:richardlehane_characterize/vendor/github.com/richardlehane/characterize \
|
|
richardlehane:match:v1.0.2:richardlehane_match/vendor/github.com/richardlehane/match \
|
|
richardlehane:mscfb:v1.0.4:richardlehane_mscfb/vendor/github.com/richardlehane/mscfb \
|
|
richardlehane:msoleps:v1.0.3:richardlehane_msoleps/vendor/github.com/richardlehane/msoleps \
|
|
richardlehane:webarchive:v1.0.0:richardlehane_webarchive/vendor/github.com/richardlehane/webarchive \
|
|
richardlehane:xmldetect:v1.0.2:richardlehane_xmldetect/vendor/github.com/richardlehane/xmldetect \
|
|
ross-spencer:spargo:v0.4.1:ross_spencer_spargo/vendor/github.com/ross-spencer/spargo \
|
|
ross-spencer:wikiprov:v0.2.0:ross_spencer_wikiprov/vendor/github.com/ross-spencer/wikiprov
|
|
#GO_MODULE= github.com/richardlehane/siegfried # fails to build: https://github.com/richardlehane/siegfried/issues/204
|
|
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>
|