1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- 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@gslin.org>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-02-23 15:26:19 +00:00
parent fb23a6f087
commit b3bf24a8f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345737
4 changed files with 42 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,34 @@
# Created by: Gea-Suan Lin <gslin@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@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>

View File

@ -0,0 +1,2 @@
SHA256 (composer-1.0.0.a8.20140223/composer.phar) = 53bacb3afc3c14998ac4744dd34fd7d799af3ef169147da7772a60820679578b
SIZE (composer-1.0.0.a8.20140223/composer.phar) = 998870

View File

@ -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/