Index: sysutils/Makefile =================================================================== --- sysutils/Makefile +++ sysutils/Makefile @@ -1039,6 +1039,7 @@ SUBDIR += shlock SUBDIR += shmcat SUBDIR += showbeastie + SUBIDR += siegfried SUBDIR += sievelog SUBDIR += skill SUBDIR += slack Index: sysutils/siegfried/Makefile =================================================================== --- /dev/null +++ sysutils/siegfried/Makefile @@ -0,0 +1,26 @@ +# Created by: Steffen Fritz +# $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 Index: sysutils/siegfried/distinfo =================================================================== --- /dev/null +++ sysutils/siegfried/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1484153973 +SHA256 (richardlehane-siegfried-v1.6.7_GH0.tar.gz) = 7518163a4f26a6997d790a24b99ad019ed38427341a61b33ac006ad5442632d8 +SIZE (richardlehane-siegfried-v1.6.7_GH0.tar.gz) = 21531677 Index: sysutils/siegfried/pkg-descr =================================================================== --- /dev/null +++ sysutils/siegfried/pkg-descr @@ -0,0 +1,5 @@ +Siegfried is a signature-based file format identification tool, +implementing the National Archives UK's PRONOM file format +signatures and freedesktop.org's MIME-info file format signatures. + +WWW: http://www.itforarchivists.com/siegfried/ Index: sysutils/siegfried/pkg-message =================================================================== --- /dev/null +++ sysutils/siegfried/pkg-message @@ -0,0 +1 @@ +You should run 'sf -update' to update your local PRONOM database