Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 16:59:54 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449806 - head/devel/pear-SebastianBergmann_Git
Message-ID:  <201709131659.v8DGxscM019378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Wed Sep 13 16:59:54 2017
New Revision: 449806
URL: https://svnweb.freebsd.org/changeset/ports/449806

Log:
  - Unbreak this port
  - switch to GitHub
  
  Approved by:	miwi (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12146

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

Modified: head/devel/pear-SebastianBergmann_Git/Makefile
==============================================================================
--- head/devel/pear-SebastianBergmann_Git/Makefile	Wed Sep 13 16:50:37 2017	(r449805)
+++ head/devel/pear-SebastianBergmann_Git/Makefile	Wed Sep 13 16:59:54 2017	(r449806)
@@ -3,23 +3,32 @@
 
 PORTNAME=	Git
 PORTVERSION=	1.2.0
+PORTREVISION=	1
 CATEGORIES=	devel pear
-MASTER_SITES=	http://pear.phpunit.de/get/
 PKGNAMEPREFIX=	pear-SebastianBergmann_
 
 MAINTAINER=	joneum@FreeBSD.org
 COMMENT=	Simple wrapper for Git
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	pear>=1.9.4:devel/pear \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
-RUN_DEPENDS=	pear>=1.9.4:devel/pear \
-		${PEARDIR}/.channels/pear.phpunit.de.reg:devel/pear-channel-phpunit
+BUILD_DEPENDS=	pear>=1.9.4:devel/pear
+RUN_DEPENDS=	pear>=1.9.4:devel/pear
 
-BROKEN=		unfetchable, redirects to https://phpunit.de/
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	git
 
-USES=	pear
-PEAR_CHANNEL=	phpunit
+NO_BUILD=	yes
+
+PHP_DIR=	share/PHP
+
+PLIST_FILES=	${PHP_DIR}/${PORTNAME}/Git.php
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${INSTALL_SCRIPT} ${WRKSRC}/src/Git.php \
+		${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/devel/pear-SebastianBergmann_Git/distinfo
==============================================================================
--- head/devel/pear-SebastianBergmann_Git/distinfo	Wed Sep 13 16:50:37 2017	(r449805)
+++ head/devel/pear-SebastianBergmann_Git/distinfo	Wed Sep 13 16:59:54 2017	(r449806)
@@ -1,2 +1,3 @@
-SHA256 (PEAR/Git-1.2.0.tgz) = b51bd62acc23df45bc49fc97e636317ad92054dd4b8e81e7062233ecb3ce6a62
-SIZE (PEAR/Git-1.2.0.tgz) = 3418
+TIMESTAMP = 1503836008
+SHA256 (sebastianbergmann-git-1.2.0_GH0.tar.gz) = f0413815174c5797dc619dd038dbce3200ce6a64c11c6d820a1303b7bd7d7d12
+SIZE (sebastianbergmann-git-1.2.0_GH0.tar.gz) = 4479



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