head	1.2;
access;
symbols
	pkgsrc-2026Q1:1.2.0.20
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.18
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.16
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.14
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.12
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.10
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.8
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.6
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.4
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.2
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.1.0.8
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.6
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.4
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.2
	pkgsrc-2022Q4-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2023.10.24.22.08.55;	author wiz;	state Exp;
branches;
next	1.1;
commitid	MTsrqKm6aGrQAVJE;

1.1
date	2022.12.13.22.10.14;	author nikita;	state Exp;
branches;
next	;
commitid	psDqIlTnU4RZIr5E;


desc
@@


1.2
log
@*: bump for openssl 3
@
text
@# $NetBSD: Makefile,v 1.1 2022/12/13 22:10:14 nikita Exp $

DISTNAME=	pijul-1.0.0-beta.2
PKGNAME=	pijul-1.0.0.beta2
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	https://static.crates.io/crates/pijul/
DISTFILES=	pijul-1.0.0-beta.2.crate

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://pijul.org/
COMMENT=	Distributed version control system
LICENSE=	gnu-gpl-v2

.include "cargo-depends.mk"

INSTALLATION_DIRS=	bin
USE_LANGUAGES+=		c c++
USE_TOOLS+=		pkg-config

MAKE_ENV+=		OPENSSL_DIR=${BUILDLINK_PREFIX.openssl}
MAKE_ENV+=		DEP_SODIUM_INCLUDE=${BUILDLINK_PREFIX.libsodium}/include
MAKE_ENV+=		DEP_SODIUM_LIB=${BUILDLINK_PREFIX.libsodium}/lib
RUSTFLAGS+=		-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zstd}/lib
RUSTFLAGS+=		-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.xxhash}/lib

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/pijul ${DESTDIR}${PREFIX}/bin

.include "../../archivers/zstd/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/xxhash/buildlink3.mk"
.include "../../lang/rust/cargo.mk"
.include "../../lang/rust/buildlink3.mk"
.include "../../security/libsodium/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@devel/pijul: import pijul-1.0.0.beta2

Pijul is a version control system based on patches, that can mimic the
behaviour and workflows of both Git and Darcs, but contrarily to those
systems, Pijul is based on a mathematically sound theory of patches.

Pijul was started out of frustration that no version control system
was at the same time fast and sound:

- Git has non-associative merges, which might lead to security problems.
  Concretely, this means that the commits you merge might not be the same as
  the ones you review and test.

- Handling of conflicts: Pijul has an explicit internal representation of
  conflicts, a rock-solid theory of how they behave, and super-fast data
  structures to handle them.

- Speed! The complexity of Pijul is low in all cases, whereas previous
  attempts to build a mathematically sound distributed version control
  system had huge worst-case complexities. The use of Rust
  additionally yields a blazingly fast implementation.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
@

