svn commit: r345737 - in head/devel: . php-composer
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 23 15:26:20 UTC 2014
Author: sunpoet
Date: Sun Feb 23 15:26:19 2014
New Revision: 345737
URL: http://svnweb.freebsd.org/changeset/ports/345737
QAT: https://qat.redports.org/buildarchive/r345737/
Log:
- Add php-composer 1.0.0.a8.20140223
- While I'm here:
- Use DISTVERSION
- Pet portlint:
- Use DISTNAME and EXTRACT_SUFX instead of DISTFILES
- Use PLIST_FILES instead of PLIST
Composer is a tool for dependency management in PHP. It allows you to declare
the dependent libraries your project needs and it will install them in your
project for you.
WWW: http://getcomposer.org/
PR: ports/186972
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Added:
head/devel/php-composer/
head/devel/php-composer/Makefile (contents, props changed)
head/devel/php-composer/distinfo (contents, props changed)
head/devel/php-composer/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Feb 23 15:21:58 2014 (r345736)
+++ head/devel/Makefile Sun Feb 23 15:26:19 2014 (r345737)
@@ -3343,6 +3343,7 @@
SUBDIR += performance
SUBDIR += perlconsole
SUBDIR += php-Psr_Log
+ SUBDIR += php-composer
SUBDIR += php-java-bridge
SUBDIR += php-libawl
SUBDIR += php-memoize
Added: head/devel/php-composer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/php-composer/Makefile Sun Feb 23 15:26:19 2014 (r345737)
@@ -0,0 +1,34 @@
+# Created by: Gea-Suan Lin <gslin at gslin.org>
+# $FreeBSD$
+
+PORTNAME= composer
+DISTVERSION= 1.0.0-alpha8.20140223
+CATEGORIES= devel
+MASTER_SITES= http://getcomposer.org/download/${DISTVERSION}/ \
+ http://freebsd.cs.nctu.edu.tw/~gslin/files/${PORTNAME}/${DISTVERSION}/
+PKGNAMEPREFIX= php-
+DISTNAME= composer
+EXTRACT_SUFX= .phar
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= gslin at gslin.org
+COMMENT= Dependency Manager for PHP
+
+LICENSE= MIT
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USE_PHP= yes
+
+PLIST_FILES= bin/composer \
+ bin/composer.phar
+
+do-extract:
+ ${MKDIR} ${WRKSRC}/
+ ${CP} ${_DISTDIR}/composer.phar ${WRKSRC}/
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/composer.phar ${STAGEDIR}${PREFIX}/bin/
+ ${LN} -s composer.phar ${STAGEDIR}${PREFIX}/bin/composer
+
+.include <bsd.port.mk>
Added: head/devel/php-composer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/php-composer/distinfo Sun Feb 23 15:26:19 2014 (r345737)
@@ -0,0 +1,2 @@
+SHA256 (composer-1.0.0.a8.20140223/composer.phar) = 53bacb3afc3c14998ac4744dd34fd7d799af3ef169147da7772a60820679578b
+SIZE (composer-1.0.0.a8.20140223/composer.phar) = 998870
Added: head/devel/php-composer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/php-composer/pkg-descr Sun Feb 23 15:26:19 2014 (r345737)
@@ -0,0 +1,5 @@
+Composer is a tool for dependency management in PHP. It allows you to declare
+the dependent libraries your project needs and it will install them in your
+project for you.
+
+WWW: http://getcomposer.org/
More information about the svn-ports-all
mailing list