blob: ffa1506b3b1fe8dc9425cd792818fdb4595e7ac1 (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= siegfried
DISTVERSIONPREFIX= v
DISTVERSION= 1.9.6
PORTREVISION= 5
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>
|