blob: 710f8d98b08e862804aef9c81b9ed0d5e31fde38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
PORTNAME= composer
DISTVERSION= 1.0.0-alpha11
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://getcomposer.org/download/${DISTVERSION}/
PKGNAMEPREFIX= php-
DISTNAME= composer
EXTRACT_SUFX= .phar
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Dependency Manager for PHP
LICENSE= MIT
RUN_DEPENDS= ca_root_nss>0:${PORTSDIR}/security/ca_root_nss
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PHP= intl openssl phar json ctype
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>
|