048ac17922
Upstream release notes: 2.1.11 - Fixed issues in proxied binary files when using declare() on php <8 (#10249) - Fixed GitHub Actions output escaping issues (#10243) 2.1.10 - Added type annotations to all classes, which may have an effect on CI/static analysis for people using Composer as a dependency (#10159) - Fixed CurlDownloader requesting gzip encoding even when no gzip support is present (#10153) - Fixed regression in 2.1.6 where the help command was not working for plugin commands (#10147) - Fixed warning showing when an invalid cache dir is configured but unused (#10125) - Fixed require command reverting changes even though dependency resolution succeeded when something fails in scripts for example (#10118) - Fixed require not finding the right package version when some newly required extension is missing from the system (#10167) - Fixed proxied binary file issues, now using output buffering (e1dbd65) - Fixed and improved error reporting in several edge cases (#9804, #10136, #10163, #10224, #10209) - Fixed some more Windows CLI parameter escaping edge cases
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2021/11/03 12:08:04 tpaul Exp $
|
|
|
|
VERSION= 2.1.11
|
|
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"
|