Bug 186972 - [NEW PORT] devel/php-composer: Dependency Manager for PHP
[NEW PORT] devel/php-composer: Dependency Manager for PHP
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Sunpoet Po-Chuan Hsieh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-23 08:00 UTC by gslin
Modified: 2014-02-23 15:31 UTC (History)
1 user (show)

See Also:


Attachments
.shar (2.21 KB, text/plain)
2014-02-23 08:00 UTC, gslin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2014-02-23 08:00:00 UTC
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/

Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: new)
Comment 1 Sunpoet Po-Chuan Hsieh freebsd_committer 2014-02-23 15:16:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

I'll take it.
Comment 2 dfilter freebsd_committer 2014-02-23 15:26:27 UTC
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@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@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>

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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Sunpoet Po-Chuan Hsieh freebsd_committer 2014-02-23 15:31:37 UTC
State Changed
From-To: open->closed

New port added. Thanks!