head	1.21;
access;
symbols
	pkgsrc-2026Q1:1.21.0.10
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.21.0.8
	pkgsrc-2025Q4-base:1.21
	pkgsrc-2025Q3:1.21.0.6
	pkgsrc-2025Q3-base:1.21
	pkgsrc-2025Q2:1.21.0.4
	pkgsrc-2025Q2-base:1.21
	pkgsrc-2025Q1:1.21.0.2
	pkgsrc-2025Q1-base:1.21
	pkgsrc-2024Q4:1.20.0.8
	pkgsrc-2024Q4-base:1.20
	pkgsrc-2024Q3:1.20.0.6
	pkgsrc-2024Q3-base:1.20
	pkgsrc-2024Q2:1.20.0.4
	pkgsrc-2024Q2-base:1.20
	pkgsrc-2024Q1:1.20.0.2
	pkgsrc-2024Q1-base:1.20
	pkgsrc-2023Q4:1.19.0.2
	pkgsrc-2023Q4-base:1.19
	pkgsrc-2023Q3:1.18.0.2
	pkgsrc-2023Q3-base:1.18
	pkgsrc-2023Q2:1.17.0.8
	pkgsrc-2023Q2-base:1.17
	pkgsrc-2023Q1:1.17.0.6
	pkgsrc-2023Q1-base:1.17
	pkgsrc-2022Q4:1.17.0.4
	pkgsrc-2022Q4-base:1.17
	pkgsrc-2022Q3:1.17.0.2
	pkgsrc-2022Q3-base:1.17
	pkgsrc-2022Q2:1.16.0.12
	pkgsrc-2022Q2-base:1.16
	pkgsrc-2022Q1:1.16.0.10
	pkgsrc-2022Q1-base:1.16
	pkgsrc-2021Q4:1.16.0.8
	pkgsrc-2021Q4-base:1.16
	pkgsrc-2021Q3:1.16.0.6
	pkgsrc-2021Q3-base:1.16
	pkgsrc-2021Q2:1.16.0.4
	pkgsrc-2021Q2-base:1.16
	pkgsrc-2021Q1:1.16.0.2
	pkgsrc-2021Q1-base:1.16
	pkgsrc-2020Q4:1.14.0.2
	pkgsrc-2020Q4-base:1.14
	pkgsrc-2020Q3:1.13.0.6
	pkgsrc-2020Q3-base:1.13
	pkgsrc-2020Q2:1.13.0.4
	pkgsrc-2020Q2-base:1.13
	pkgsrc-2020Q1:1.13.0.2
	pkgsrc-2020Q1-base:1.13
	pkgsrc-2019Q4:1.12.0.4
	pkgsrc-2019Q4-base:1.12
	pkgsrc-2019Q3:1.11.0.4
	pkgsrc-2019Q3-base:1.11
	pkgsrc-2019Q2:1.11.0.2
	pkgsrc-2019Q2-base:1.11
	pkgsrc-2019Q1:1.10.0.18
	pkgsrc-2019Q1-base:1.10
	pkgsrc-2018Q4:1.10.0.16
	pkgsrc-2018Q4-base:1.10
	pkgsrc-2018Q3:1.10.0.14
	pkgsrc-2018Q3-base:1.10
	pkgsrc-2018Q2:1.10.0.12
	pkgsrc-2018Q2-base:1.10
	pkgsrc-2018Q1:1.10.0.10
	pkgsrc-2018Q1-base:1.10
	pkgsrc-2017Q4:1.10.0.8
	pkgsrc-2017Q4-base:1.10
	pkgsrc-2017Q3:1.10.0.6
	pkgsrc-2017Q3-base:1.10
	pkgsrc-2017Q2:1.10.0.2
	pkgsrc-2017Q2-base:1.10
	pkgsrc-2017Q1:1.6.0.2
	pkgsrc-2017Q1-base:1.6
	pkgsrc-2016Q4:1.5.0.8
	pkgsrc-2016Q4-base:1.5
	pkgsrc-2016Q3:1.5.0.6
	pkgsrc-2016Q3-base:1.5
	pkgsrc-2016Q2:1.5.0.4
	pkgsrc-2016Q2-base:1.5
	pkgsrc-2016Q1:1.5.0.2
	pkgsrc-2016Q1-base:1.5;
locks; strict;
comment	@# @;


1.21
date	2025.02.08.03.36.56;	author taca;	state Exp;
branches;
next	1.20;
commitid	UMNkkjr8N7UhfCIF;

1.20
date	2024.02.19.15.43.34;	author taca;	state Exp;
branches;
next	1.19;
commitid	SVKrQoPxhXDYF3ZE;

1.19
date	2023.11.13.16.34.02;	author taca;	state Exp;
branches;
next	1.18;
commitid	6Gf6jZHcY7wx6tME;

1.18
date	2023.08.14.05.24.03;	author wiz;	state Exp;
branches;
next	1.17;
commitid	LOSB79OLVxvXjIAE;

1.17
date	2022.06.30.11.18.11;	author nia;	state Exp;
branches;
next	1.16;
commitid	AhctUV91Vubws3KD;

1.16
date	2021.03.07.13.21.57;	author taca;	state Exp;
branches;
next	1.15;
commitid	f9CcQGw2nqoMznKC;

1.15
date	2021.01.01.09.05.06;	author taca;	state Exp;
branches;
next	1.14;
commitid	BQEswevyZuy8f0CC;

1.14
date	2020.12.04.20.45.06;	author nia;	state Exp;
branches;
next	1.13;
commitid	FPz71MqRX3WN0tyC;

1.13
date	2020.02.09.21.10.32;	author rillig;	state Exp;
branches;
next	1.12;
commitid	8XVnhNKrEflpL2WB;

1.12
date	2019.12.09.14.20.55;	author taca;	state Exp;
branches;
next	1.11;
commitid	Lm7R7hOnaQQyu2OB;

1.11
date	2019.04.25.07.32.42;	author maya;	state Exp;
branches;
next	1.10;
commitid	1FEMQBEPb9uTxHkB;

1.10
date	2017.06.27.10.35.46;	author roy;	state Exp;
branches;
next	1.9;
commitid	q2pjxODzJO4O00Xz;

1.9
date	2017.06.23.14.05.19;	author roy;	state Exp;
branches;
next	1.8;
commitid	KtyZcbw4sqzOivWz;

1.8
date	2017.06.22.12.49.52;	author youri;	state Exp;
branches;
next	1.7;
commitid	qUEkVQ6bVnebVmWz;

1.7
date	2017.03.30.20.14.16;	author roy;	state Exp;
branches;
next	1.6;
commitid	DqIcBZVILpy05CLz;

1.6
date	2017.03.17.12.40.58;	author roy;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	RuwtVwtPU2MMXTJz;

1.5
date	2016.03.05.17.11.22;	author youri;	state Exp;
branches;
next	1.4;
commitid	Q9O4iRaktS0xBtXy;

1.4
date	2016.03.04.16.00.12;	author youri;	state Exp;
branches;
next	1.3;
commitid	iVPYKNLBZ9T5flXy;

1.3
date	2016.03.04.15.54.03;	author wiz;	state Exp;
branches;
next	1.2;
commitid	OQ1cdWTuQ4fSclXy;

1.2
date	2016.03.04.15.23.29;	author youri;	state Exp;
branches;
next	1.1;
commitid	zrImzKhLtu3u2lXy;

1.1
date	2016.03.04.10.55.47;	author youri;	state Exp;
branches;
next	;
commitid	7yMESqsfauHHyjXy;

1.6.2.1
date	2017.04.03.16.22.38;	author spz;	state Exp;
branches;
next	;
commitid	SIrm7yFYHwMDF6Mz;


desc
@@


1.21
log
@multiple PHP support

* Use PHP_BASE_VERS in DEPENDS if required.
* Use REPLACE_PHP.

Bump PKGREVISION.
@
text
@# $NetBSD: Makefile,v 1.20 2024/02/19 15:43:34 taca Exp $

DISTNAME=		arcanist-20170609
PKGREVISION=		8
CATEGORIES=		devel
MASTER_SITES=		${MASTER_SITE_GITHUB:=phacility/}
# Track the stable branch
GITHUB_PROJECT=		arcanist
GITHUB_TAG=		0c53a35d30e924f902510eb2e497ae5934209304

MAINTAINER=		roy@@NetBSD.org
HOMEPAGE=		https://github.com/phacility/arcanist/
COMMENT=		Command line interface for Phabricator
LICENSE=		apache-2.0

EXTRACT_USING=		bsdtar
USE_TOOLS+=		bsdtar pax

DEPENDS+=		${PHP_PKG_PREFIX}-curl>=${PHP_BASE_VERS}:../../www/php-curl
DEPENDS+=		libphutil-[0-9]*:../../devel/libphutil

CONFLICTS+=		arc-[0-9]*

REPLACE_PHP=	scripts/arcanist.php
REPLACE_PHP+=	scripts/hgdaemon/hgdaemon_client.php
REPLACE_PHP+=	scripts/hgdaemon/hgdaemon_server.php
REPLACE_PHP+=	src/lint/linter/xhpast/rules/__tests__/inline-html/inline-html.lint-test

REPLACE_PYTHON+=	scripts/breakout.py

NO_BUILD=		yes

ARCANISTDIR=		share/arcanist

INSTALLATION_DIRS+=	${ARCANISTDIR} bin

do-install:
	cd ${WRKSRC} \
	&& ${PAX} -rw -s',.*\.orig$$,,' * ${DESTDIR}${PREFIX}/${ARCANISTDIR}
	ln -s ${PREFIX}/${ARCANISTDIR}/scripts/arcanist.php \
		${DESTDIR}${PREFIX}/bin/arc

.include "../../lang/python/application.mk"
.include "../../lang/php/json.mk"
.include "../../mk/bsd.pkg.mk"
@


1.20
log
@Bump PKGREVISION by changing default PHP's version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2023/11/13 16:34:02 taca Exp $
d4 1
a4 1
PKGREVISION=		7
d19 1
a19 1
DEPENDS+=		${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
d24 4
a27 8
SUBST_CLASSES+=		php
SUBST_MESSAGE.php=	Fixing PHP path
SUBST_STAGE.php=	post-configure
SUBST_FILES.php=	scripts/arcanist.php
SUBST_FILES.php+=	scripts/hgdaemon/hgdaemon_client.php
SUBST_FILES.php+=	scripts/hgdaemon/hgdaemon_server.php
SUBST_FILES.php+=	src/lint/linter/xhpast/rules/__tests__/inline-html/inline-html.lint-test
SUBST_SED.php=		-e 's,/usr/bin/env php,${PREFIX}/bin/php,'
@


1.19
log
@Bump PKGREVISION by PHP_VERSION_DEFAULT change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2023/08/14 05:24:03 wiz Exp $
d4 1
a4 1
PKGREVISION=		6
@


1.18
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2022/06/30 11:18:11 nia Exp $
d4 1
a4 1
PKGREVISION=		5
@


1.17
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2021/03/07 13:21:57 taca Exp $
d4 1
a4 1
PKGREVISION=		4
@


1.16
log
@Switch to use lang/php/json.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2021/01/01 09:05:06 taca Exp $
d4 1
a4 1
PKGREVISION=		3
@


1.15
log
@Remove reference to php70
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2020/12/04 20:45:06 nia Exp $
a19 1
DEPENDS+=		${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
d48 1
a48 2
.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"
@


1.14
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2020/02/09 21:10:32 rillig Exp $
a15 2
PHP_VERSIONS_INCOMPATIBLE=	70

@


1.13
log
@devel/arcanist: fix pax command line used during do-install

Fixes PR pkg/54891.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2019/12/09 14:20:55 taca Exp $
d4 1
a4 1
PKGREVISION=		2
@


1.12
log
@Bump PKGREVISION by changing of default PHP version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2019/04/25 07:32:42 maya Exp $
d25 1
a25 1
CONFLICTS+=		arc-[0-9]*:../../archivers/arc
d45 2
a46 3
	cd ${WRKSRC} && \
		${PAX} -rw * -s',.*\.orig$$,,' \
		${DESTDIR}${PREFIX}/${ARCANISTDIR}
@


1.11
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2017/06/27 10:35:46 roy Exp $
d4 1
a4 1
PKGREVISION=		1
@


1.10
log
@Phabricator doesn't support PHP-7.0.
Works fine with other versions in tree.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2017/06/23 14:05:19 roy Exp $
d4 1
@


1.9
log
@Take over maintainership. ok youri@@
Swap back to the latest stable branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2017/06/22 12:49:52 youri Exp $
d15 2
@


1.8
log
@Update arcanist to last git commit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2017/03/30 20:14:16 roy Exp $
d3 1
a3 1
DISTNAME=		arcanist-20170225
d6 1
d8 1
a8 1
GITHUB_TAG=		c04f141ab0231e593a513356b3832a30f9404627
d10 1
a10 1
MAINTAINER=		youri@@NetBSD.org
d16 1
a16 1
USE_TOOLS+=		bash bsdtar pax
@


1.7
log
@arcanist should not rely on bash.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2017/03/17 12:40:58 roy Exp $
a3 1
PKGREVISION=		1
d7 1
a7 1
GITHUB_TAG=		822bc53ca306e06314560d8a76f68771d732e8e0
@


1.6
log
@Update phabricator and friends to latest stable branches.
There's been no upadte here for over a year and noting all the changes
there-in would be futile here.

The important change is that Phabricator now works with php-7.1.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2016/03/05 17:11:22 youri Exp $
d4 1
a23 2
REPLACE_BASH+=		bin/arc

d42 5
a46 2
	cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${PREFIX}/${ARCANISTDIR}
	ln -s ${PREFIX}/${ARCANISTDIR}/bin/arc ${DESTDIR}${PREFIX}/bin/arc
@


1.6.2.1
log
@Pullup ticket #5230 - requested by sevan
devel/arcanist: dependency fix

Revisions pulled up:
- devel/arcanist/Makefile                                       1.7
- devel/arcanist/distinfo                                       1.3
- devel/arcanist/patches/patch-bin_arc                          1.1

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   roy
   Date:           Thu Mar 30 20:14:16 UTC 2017

   Modified Files:
           pkgsrc/devel/arcanist: Makefile distinfo
   Added Files:
           pkgsrc/devel/arcanist/patches: patch-bin_arc

   Log Message:
   arcanist should not rely on bash.


   To generate a diff of this commit:
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/arcanist/Makefile
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/arcanist/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/devel/arcanist/patches/patch-bin_arc
@
text
@d1 1
a1 1
# $NetBSD$
a3 1
PKGREVISION=		1
d23 2
d43 2
a44 5
	cd ${WRKSRC} && \
		${PAX} -rw * -s',.*\.orig$$,,' \
		${DESTDIR}${PREFIX}/${ARCANISTDIR}
	ln -s ${PREFIX}/${ARCANISTDIR}/scripts/arcanist.php \
		${DESTDIR}${PREFIX}/bin/arc
@


1.5
log
@Conflicts with archivers/arc.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2016/03/04 16:00:12 youri Exp $
d3 1
a3 1
DISTNAME=		arcanist-20160224
d7 1
a7 1
GITHUB_TAG=		086f5399bfbb65513b1b0e2c5371522202a9beb7
@


1.4
log
@Remove duplicate DEPENDS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/03/04 15:54:03 wiz Exp $
d21 2
@


1.3
log
@Extract using bsdtar, fails with plain tar for me (NetBSD 7.99.26/amd64)
Merge post-install into do-install.
Re-add bin/arc to PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2016/03/04 15:23:29 youri Exp $
d17 3
a19 3
DEPENDS=		${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl
DEPENDS=		${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
DEPENDS=		libphutil-[0-9]*:../../devel/libphutil
d34 1
a34 1
NO_BUILD=	yes
d36 1
a36 1
ARCANISTDIR=	share/arcanist
a43 3
DEPENDS+=	${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json
DEPENDS+=	${PHP_PKG_PREFIX}-curl-[0-9]*:../../www/php-curl

@


1.2
log
@Install `arc` in $PREFIX/bin.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2016/03/04 10:55:47 youri Exp $
d14 2
a15 1
USE_TOOLS+=		bash pax
d42 1
a42 3

post-install:
	ln -s ${PREFIX}/${ARCANISTDIR}/bin/arc ${PREFIX}/bin/arc
@


1.1
log
@Import arcanist-20160224 as devel/arcanist.

Arcanist is the command-line tool for Phabricator. It allows you to interact
with Phabricator installs to send code for review, download patches, transfer
files, view status, make API calls, and various other things.
@
text
@d1 1
a1 1
# $NetBSD$
d41 3
a43 2
	${RUN} ${LN} -s ${ARCANISTDIR}/bin/arc \
		${DESTDIR}${PREFIX}/bin/arc
@

