From owner-svn-ports-head@freebsd.org Wed May 15 20:53:17 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B93E215A2096; Wed, 15 May 2019 20:53:17 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CD34714B0; Wed, 15 May 2019 20:53:17 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36FDCEFFA; Wed, 15 May 2019 20:53:17 +0000 (UTC) (envelope-from crees@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4FKrHl3049838; Wed, 15 May 2019 20:53:17 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4FKrGAO049832; Wed, 15 May 2019 20:53:16 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201905152053.x4FKrGAO049832@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Wed, 15 May 2019 20:53:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501749 - in head/devel: . arcanist arcanist-lib arcanist/files phabricator X-SVN-Group: ports-head X-SVN-Commit-Author: crees X-SVN-Commit-Paths: in head/devel: . arcanist arcanist-lib arcanist/files phabricator X-SVN-Commit-Revision: 501749 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5CD34714B0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2019 20:53:18 -0000 Author: crees Date: Wed May 15 20:53:15 2019 New Revision: 501749 URL: https://svnweb.freebsd.org/changeset/ports/501749 Log: devel/arcanist: Split into arcanist-lib and arcanist. The arcanist port has always conflicted with archivers/arc, but if the port is installed without the symlink in PREFIX/bin, there is no issue. A user expecting to be able to use arcanist in this way can alias arcanist in their .cshrc or similar and only install the -lib port. Approved by: grembo (maintainer) Differential Revision: https://reviews.freebsd.org/D19920 Added: head/devel/arcanist-lib/ - copied from r499081, head/devel/arcanist/ Deleted: head/devel/arcanist/distinfo head/devel/arcanist/files/ head/devel/arcanist/pkg-descr head/devel/arcanist/pkg-plist Modified: head/devel/Makefile head/devel/arcanist-lib/Makefile head/devel/arcanist-lib/pkg-plist head/devel/arcanist/Makefile head/devel/phabricator/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed May 15 20:46:59 2019 (r501748) +++ head/devel/Makefile Wed May 15 20:53:15 2019 (r501749) @@ -126,6 +126,7 @@ SUBDIR += apr2 SUBDIR += arachne-pnr SUBDIR += arcanist + SUBDIR += arcanist-lib SUBDIR += arduino SUBDIR += arduino-avrdude SUBDIR += arduino-bsd-mk Modified: head/devel/arcanist-lib/Makefile ============================================================================== --- head/devel/arcanist/Makefile Tue Apr 16 08:05:21 2019 (r499081) +++ head/devel/arcanist-lib/Makefile Wed May 15 20:53:15 2019 (r501749) @@ -1,21 +1,21 @@ # $FreeBSD$ -PORTNAME= arcanist -PORTVERSION= 20181231 -PORTREVISION= 1 -CATEGORIES= devel -PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} +PORTNAME?= arcanist +PORTVERSION?= 20181231 +PORTREVISION?= 2 +CATEGORIES?= devel +PKGNAMESUFFIX= ${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX} MAINTAINER= grembo@FreeBSD.org -COMMENT= Command line interface for Phabricator +COMMENT?= Libraries for the command line interface for Phabricator +SLAVEPORT?= lib + LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR} -CONFLICTS= arc-* - PHP_DESTDIR= lib/php/arcanist USES= php:flavors python:2.7,env shebangfix SHEBANG_FILES= scripts/breakout.py @@ -25,17 +25,36 @@ NO_BUILD= yes NO_ARCH= yes GH_ACCOUNT= phacility GH_TAGNAME= 25c2381 +PLIST= ${.CURDIR}/pkg-plist +.if ${SLAVEPORT} == lib +SLAVE_PKGNAMESUFFIX= -${SLAVEPORT} + OPTIONS_DEFINE= ENCODINGS OPTIONS_DEFAULT=ENCODINGS ENCODINGS_DESC= Support for encodings other than utf-8 ENCODINGS_USE= PHP=mbstring +.else # link only + +RUN_DEPENDS= arcanist-lib${PHP_PKGNAMESUFFIX}>0:devel/arcanist-lib@${PHP_FLAVOR} + +NO_BUILD= yes + +CONFLICTS= arc + +PLIST_FILES= bin/arc + +.endif + do-install: +.if ${SLAVEPORT} == bin + ${RLN} ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc +.else @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} - ${LN} -sf ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ ${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/shell/bash-completion ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc +.endif .include Modified: head/devel/arcanist-lib/pkg-plist ============================================================================== --- head/devel/arcanist/pkg-plist Tue Apr 16 08:05:21 2019 (r499081) +++ head/devel/arcanist-lib/pkg-plist Wed May 15 20:53:15 2019 (r501749) @@ -1,4 +1,3 @@ -bin/arc lib/php/arcanist/LICENSE lib/php/arcanist/NOTICE lib/php/arcanist/README.md Modified: head/devel/arcanist/Makefile ============================================================================== --- head/devel/arcanist/Makefile Wed May 15 20:46:59 2019 (r501748) +++ head/devel/arcanist/Makefile Wed May 15 20:53:15 2019 (r501749) @@ -1,41 +1,12 @@ # $FreeBSD$ PORTNAME= arcanist -PORTVERSION= 20181231 -PORTREVISION= 1 -CATEGORIES= devel -PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= grembo@FreeBSD.org COMMENT= Command line interface for Phabricator -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE +SLAVEPORT= bin -RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR} +MASTERDIR= ${.CURDIR}/../arcanist-lib -CONFLICTS= arc-* - -PHP_DESTDIR= lib/php/arcanist -USES= php:flavors python:2.7,env shebangfix -SHEBANG_FILES= scripts/breakout.py -USE_PHP= curl dom hash json simplexml zlib -USE_GITHUB= yes -NO_BUILD= yes -NO_ARCH= yes -GH_ACCOUNT= phacility -GH_TAGNAME= 25c2381 - -OPTIONS_DEFINE= ENCODINGS -OPTIONS_DEFAULT=ENCODINGS -ENCODINGS_DESC= Support for encodings other than utf-8 -ENCODINGS_USE= PHP=mbstring - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} - cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR} - ${LN} -sf ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc - @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ - ${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/shell/bash-completion ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc - -.include +.include "${MASTERDIR}/Makefile" Modified: head/devel/phabricator/Makefile ============================================================================== --- head/devel/phabricator/Makefile Wed May 15 20:46:59 2019 (r501748) +++ head/devel/phabricator/Makefile Wed May 15 20:53:15 2019 (r501749) @@ -12,7 +12,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR} \ - arcanist${PHP_PKGNAMESUFFIX}>0:devel/arcanist@${PHP_FLAVOR} \ + arcanist-lib${PHP_PKGNAMESUFFIX}>0:devel/arcanist-lib@${PHP_FLAVOR} \ git:devel/git OPTIONS_DEFINE= GD OPCACHE