<commit_before># $FreeBSD$

PORTNAME=	snowflake
DISTVERSION=	g20180322
CATEGORIES=	security net ipv6

MAINTAINER=	<EMAIL>
COMMENT=	Unofficial/experimental version of security/snowflake

LICENSE=	MIT
# LICENSE_FILE=	${WRKSRC}/LICENSE

CGO_CFLAGS+=	-I${GO_WRKSRC:H}/go-webrtc/include

BUILD_DEPENDS=	goptlib>=0.5:security/goptlib

USES=		go
USE_GITHUB=	nodefault

GH_ACCOUNT=	keroserene:snowflake,webrtc dchest:uniuri
GH_PROJECT=	snowflake:snowflake go-webrtc:webrtc uniuri:uniuri
GH_TAGNAME=	07291a0:snowflake 52280a1:webrtc 8902c56:uniuri

GO_PKGNAME=	github.com/keroserene/snowflake
GO_TARGET=	${GO_PKGNAME}/client

PLIST_FILES=	bin/snowflake

post-extract:
	${MKDIR} ${GO_WRKSRC:H}
	${MKDIR} ${GO_WRKSRC:H}/../dchest
	cd ${GO_WRKSRC:H}/../ && \
		${LN} -sf ${WRKDIR}/snowflake-07291a0 keroserene/snowflake && \
		${LN} -sf ${WRKDIR}/go-webrtc-52280a1 keroserene/go-webrtc && \
		${LN} -sf ${WRKDIR}/uniuri-8902c56    dchest/uniuri

.include <bsd.port.mk><commit_msg>c++: error: linker command failed with exit code 1 (use -v to see invocation) 	mas, acredite, eu sei o que cagou o pau! 	barulheira da mulesta e um show da metallica rolando ali na tv.<commit_after># $FreeBSD$

PORTNAME=	snowflake
DISTVERSION=	g20180322
CATEGORIES=	security net ipv6

MAINTAINER=	<EMAIL>
COMMENT=	Unofficial/experimental version of security/snowflake

LICENSE=	MIT
# LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	goptlib>=0.5:security/goptlib

USES=		go
USE_GITHUB=	nodefault

GH_ACCOUNT=	keroserene:snowflake,webrtc dchest:uniuri
GH_PROJECT=	snowflake:snowflake go-webrtc:webrtc uniuri:uniuri
GH_TAGNAME=	07291a0:snowflake 52280a1:webrtc 8902c56:uniuri

GO_PKGNAME=	github.com/keroserene/snowflake
GO_TARGET=	${GO_PKGNAME}/client

PLIST_FILES=	bin/snowflake

post-extract:
	${MKDIR} ${GO_WRKSRC:H}
	${MKDIR} ${GO_WRKSRC:H}/../dchest
	cd ${GO_WRKSRC:H}/../ && \
		${LN} -sf ${WRKDIR}/snowflake-07291a0 keroserene/snowflake && \
		${LN} -sf ${WRKDIR}/go-webrtc-52280a1 keroserene/go-webrtc && \
		${LN} -sf ${WRKDIR}/uniuri-8902c56    dchest/uniuri
	cd ${GO_WRKSRC:H}/go-webrtc/ && \
		${LN} -sf include/webrtc webrtc

.include <bsd.port.mk>
{'fraction_non_alphanumeric': 0.1372825575928538, 'fraction_numerical': 0.04466384579219558, 'mean_word_length': 5.429003021148036, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1434211', 'n_tokens_mistral': 1069, 'n_tokens_neox': 973, 'n_words': 171}