Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 2017 13:33:06 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435475 - head/devel/pear-PHP_TokenStream
Message-ID:  <201703051333.v25DX6ju084344@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Mar  5 13:33:06 2017
New Revision: 435475
URL: https://svnweb.freebsd.org/changeset/ports/435475

Log:
  - Update to 1.4.11
  - Switch to github
  
  PR:		217502
  Submitted by:	maintainer

Modified:
  head/devel/pear-PHP_TokenStream/Makefile
  head/devel/pear-PHP_TokenStream/distinfo

Modified: head/devel/pear-PHP_TokenStream/Makefile
==============================================================================
--- head/devel/pear-PHP_TokenStream/Makefile	Sun Mar  5 13:30:31 2017	(r435474)
+++ head/devel/pear-PHP_TokenStream/Makefile	Sun Mar  5 13:33:06 2017	(r435475)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	PHP_TokenStream
-PORTVERSION=	1.1.5
+PORTVERSION=	1.4.11
 CATEGORIES=	devel pear
-MASTER_SITES=	http://pear.phpunit.de/get/
 PKGNAMEPREFIX=	pear-
 
 MAINTAINER=	joneum@bsdproject.de
@@ -12,10 +11,18 @@ COMMENT=	Wrapper around PHP tokenizer ex
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS=	${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-
-USES=	pear
-PEAR_CHANNEL=	phpunit
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	php-token-stream
+
+NO_BUILD=	yes
+
+PHP_DIR=	share/PHP
+PLIST_FILES=	${PHP_DIR}/${PORTNAME}/Token.php
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/src/Token.php \
+	${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/devel/pear-PHP_TokenStream/distinfo
==============================================================================
--- head/devel/pear-PHP_TokenStream/distinfo	Sun Mar  5 13:30:31 2017	(r435474)
+++ head/devel/pear-PHP_TokenStream/distinfo	Sun Mar  5 13:33:06 2017	(r435475)
@@ -1,2 +1,3 @@
-SHA256 (PEAR/PHP_TokenStream-1.1.5.tgz) = 9ac8f3c2345d5a65920dd176cbe4334b8f4e52511bcb617967cc925e4a8b7945
-SIZE (PEAR/PHP_TokenStream-1.1.5.tgz) = 9859
+TIMESTAMP = 1488485031
+SHA256 (sebastianbergmann-php-token-stream-1.4.11_GH0.tar.gz) = 6b95960c1a162d321da8b7d42bc9361bdcc991478e0db93a659a433c2b6a9008
+SIZE (sebastianbergmann-php-token-stream-1.4.11_GH0.tar.gz) = 13388



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703051333.v25DX6ju084344>