pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/php-composer devel/php-composer: Import version ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/70a8959acbd9
branches: trunk
changeset: 412969:70a8959acbd9
user: tpaul <tpaul%pkgsrc.org@localhost>
date: Sat Mar 14 04:26:39 2020 +0000
description:
devel/php-composer: Import version 1.10.1
Composer is a tool for dependency management in PHP. It allows you to
declare the libraries your project depends on and it will manage
(install/update) them for you.
diffstat:
devel/php-composer/DESCR | 3 +++
devel/php-composer/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
devel/php-composer/PLIST | 3 +++
devel/php-composer/distinfo | 6 ++++++
devel/php-composer/files/composer | 7 +++++++
5 files changed, 58 insertions(+), 0 deletions(-)
diffs (78 lines):
diff -r 1d7b15136143 -r 70a8959acbd9 devel/php-composer/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-composer/DESCR Sat Mar 14 04:26:39 2020 +0000
@@ -0,0 +1,3 @@
+Composer is a tool for dependency management in PHP. It allows you to
+declare the libraries your project depends on and it will manage
+(install/update) them for you.
diff -r 1d7b15136143 -r 70a8959acbd9 devel/php-composer/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-composer/Makefile Sat Mar 14 04:26:39 2020 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2020/03/14 04:26:39 tpaul Exp $
+
+VERSION= 1.10.1
+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@localhost
+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}-json-[0-9]*:../../textproc/php-json
+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/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1d7b15136143 -r 70a8959acbd9 devel/php-composer/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-composer/PLIST Sat Mar 14 04:26:39 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/14 04:26:39 tpaul Exp $
+bin/composer
+share/php/composer.phar
diff -r 1d7b15136143 -r 70a8959acbd9 devel/php-composer/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-composer/distinfo Sat Mar 14 04:26:39 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/14 04:26:39 tpaul Exp $
+
+SHA1 (php-composer/1.10.1/composer.phar) = fa51d7b32dbfb52eaeb8aa8a5112ab33017cc0b9
+RMD160 (php-composer/1.10.1/composer.phar) = f79c3fe04a18881947c012c71bcefc6ef6294992
+SHA512 (php-composer/1.10.1/composer.phar) = bb0fa469b8180ade3feb5736a58f2702b0889b6fc3038efbb962f8fd7a691f9d995f8b121e67f9feb7e409b360a25fae10426545d2dc68e0976be6126d69d8f4
+Size (php-composer/1.10.1/composer.phar) = 1969526 bytes
diff -r 1d7b15136143 -r 70a8959acbd9 devel/php-composer/files/composer
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-composer/files/composer Sat Mar 14 04:26:39 2020 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+PREFIX="@PREFIX@"
+BINDIR="$PREFIX/bin"
+DATADIR="$PREFIX/share"
+
+"$BINDIR/php" "$DATADIR/php/composer.phar" $@
Home |
Main Index |
Thread Index |
Old Index