diff --git a/devel/Makefile b/devel/Makefile index 0fad6706f20c..cdc76b5fcae7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/php-composer/Makefile b/devel/php-composer/Makefile new file mode 100644 index 000000000000..86ad1726adb1 --- /dev/null +++ b/devel/php-composer/Makefile @@ -0,0 +1,34 @@ +# Created by: Gea-Suan Lin +# $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@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 diff --git a/devel/php-composer/distinfo b/devel/php-composer/distinfo new file mode 100644 index 000000000000..4f09297e604f --- /dev/null +++ b/devel/php-composer/distinfo @@ -0,0 +1,2 @@ +SHA256 (composer-1.0.0.a8.20140223/composer.phar) = 53bacb3afc3c14998ac4744dd34fd7d799af3ef169147da7772a60820679578b +SIZE (composer-1.0.0.a8.20140223/composer.phar) = 998870 diff --git a/devel/php-composer/pkg-descr b/devel/php-composer/pkg-descr new file mode 100644 index 000000000000..240593540021 --- /dev/null +++ b/devel/php-composer/pkg-descr @@ -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/