7986793da4
Upstream release notes: - Updated composer/xdebug-handler to 2.0 which adds supports for Xdebug 3 - Fixed handling of inline-update-constraints with references or stability flags (#9847) - Fixed async processes erroring in an unclear way when they failed to start (#9808) - Fixed support for the upcoming Symfony 6.0 release when Composer is installed as a library (#9896) - Fixed progress output missing newlines on PowerShell, and disable progress output by default when CI env var is present (#9621) - Fixed support for Vagrant/VirtualBox filesystem slowness when installing binaries from packages (#9627) - Fixed type annotations for the InstalledVersions class - Deprecated InstalledVersions::getRawData in favor of InstalledVersions::getAllRawData (#9816)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2021/05/24 06:41:51 triaxx Exp $
|
|
|
|
VERSION= 2.0.14
|
|
PKGNAME= ${PHP_PKG_PREFIX}-composer-${VERSION}
|
|
DISTNAME= composer
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://getcomposer.org/download/${VERSION}/
|
|
DIST_SUBDIR= php-composer/${VERSION}
|
|
EXTRACT_SUFX= .phar
|
|
|
|
MAINTAINER= tpaul@NetBSD.org
|
|
HOMEPAGE= https://getcomposer.org/
|
|
COMMENT= Dependency Manager for PHP
|
|
LICENSE= mit
|
|
|
|
NO_BUILD= yes
|
|
AUTO_MKDIRS= yes
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-zip-[0-9]*:../../archivers/php-zip
|
|
|
|
do-extract:
|
|
${MKDIR} -m 0755 ${WRKSRC}
|
|
${INSTALL} -m 0644 ${FILESDIR}/composer ${WRKSRC}/composer
|
|
|
|
do-install:
|
|
${INSTALL} -m 0755 ${WRKSRC}/composer ${DESTDIR}${PREFIX}/bin/composer
|
|
${INSTALL} -m 0644 ${DISTDIR}/${DIST_SUBDIR}/composer.phar \
|
|
${DESTDIR}${PREFIX}/share/php/composer.phar
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_STAGE.fix-paths= post-extract
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= composer
|
|
SUBST_VARS.fix-paths= PREFIX
|
|
|
|
.include "../../lang/php/json.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|