Siegfried is an advanced file identification tool written in Go. It is signature-based, implementing the PRONOM file format signatures and freedesktop.org's MIME-info file format signatures. PR: 209912 Submitted by: Steffen Fritz <steffen@fritz.wtf> Reviewed by: matthew Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D9136
26 lines
481 B
Makefile
26 lines
481 B
Makefile
# Created by: Steffen Fritz <steffen@fritz.wtf>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= siegfried
|
|
PORTVERSION= 1.6.7
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= steffen@fritz.wtf
|
|
COMMENT= File identification tool
|
|
|
|
LICENSE= APACHE20
|
|
|
|
PLIST_FILES= bin/sf
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= richardlehane
|
|
|
|
USES= go
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/sf
|
|
|
|
STRIP= # stripping can break go binaries
|
|
|
|
.include <bsd.port.mk>
|