summaryrefslogtreecommitdiff
path: root/security/picocrypt/Makefile
blob: c356dc843413516a7d80cccea24c577a369f4551 (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
39
40
41
42
43
44
45
46
47
PORTNAME=	picocrypt
DISTVERSION=	1.33
PORTREVISION=	8
CATEGORIES=	security

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Small, simple, yet very secure encryption tool
WWW=		https://github.com/HACKERALERT/Picocrypt

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/../LICENSE

ONLY_FOR_ARCHS=	aarch64 amd64 mips64 powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON=	upstream only supports 64-bit
# https://github.com/HACKERALERT/Picocrypt/issues/127

LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz

USES=		gl gnome go:modules pkgconfig xorg
USE_GL=		gl
USE_GNOME=	cairo gdkpixbuf2 gtk30
USE_XORG=	x11 xau xcb xdmcp
USE_GITHUB=	yes
GH_ACCOUNT=	HACKERALERT
GH_PROJECT=	Picocrypt
GH_TUPLE=	HACKERALERT:crypto:aa0dd62d8f67:hackeralert_crypto/vendor/github.com/HACKERALERT/crypto \
		HACKERALERT:dialog:af3bc34fe379:hackeralert_dialog/vendor/github.com/HACKERALERT/dialog \
		HACKERALERT:giu:211c1da061d9:hackeralert_giu/vendor/github.com/HACKERALERT/giu \
		HACKERALERT:gl:73af36e130d3:hackeralert_gl/vendor/github.com/HACKERALERT/gl \
		HACKERALERT:glfw:c08d79e41abe:hackeralert_glfw_glfw/vendor/github.com/HACKERALERT/glfw \
		HACKERALERT:imgui-go:1d1c00423178:hackeralert_imgui_go/vendor/github.com/HACKERALERT/imgui-go \
		HACKERALERT:infectious:2c37b99f37ff:hackeralert_infectious/vendor/github.com/HACKERALERT/infectious \
		HACKERALERT:mainthread:2ec9e701cc14:hackeralert_mainthread/vendor/github.com/HACKERALERT/mainthread \
		HACKERALERT:serpent:293b29869c66:hackeralert_serpent/vendor/github.com/HACKERALERT/serpent \
		HACKERALERT:sys:46e319fb60c9:hackeralert_sys/vendor/github.com/HACKERALERT/sys \
		HACKERALERT:w32:76f2a4b526bd:hackeralert_w32/vendor/github.com/HACKERALERT/w32 \
		HACKERALERT:zxcvbn-go:fa924b767f89:hackeralert_zxcvbn_go/vendor/github.com/HACKERALERT/zxcvbn-go

WRKSRC_SUBDIR=	src

PLIST_FILES=	bin/${PORTNAME}

post-patch:
	@${LN} -sf dlgs_linux.go \
	   ${WRKSRC}/vendor/github.com/HACKERALERT/dialog/dlgs_${OPSYS:tl}.go

.include <bsd.port.mk>