summaryrefslogtreecommitdiff
path: root/security/age/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/age/Makefile')
-rw-r--r--security/age/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/security/age/Makefile b/security/age/Makefile
new file mode 100644
index 00000000000..aa5e6af4e60
--- /dev/null
+++ b/security/age/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2021/06/09 17:03:49 abs Exp $
+
+DISTNAME= age-${GITHUB_TAG:S/v//:S/-rc./rc/}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=FiloSottile/}
+GITHUB_TAG= v1.0.0-rc.2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/FiloSottile/age/
+COMMENT= Simple, modern and secure encryption tool
+LICENSE= modified-bsd
+
+GO_BUILD_PATTERN= filippo.io/age/cmd/...
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/age ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/age-keygen ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-module.mk"
+.include "../../mk/bsd.pkg.mk"