aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-09-14 00:59:54 +0800
committerjoneum <joneum@FreeBSD.org>2017-09-14 00:59:54 +0800
commit1bdc072998e75ff7c78de088d224c6f914354356 (patch)
treebe38d449d9a5d891c7c980d09609524e6e6ba597
parent45b90376ee9b288dcd50303aaa60a9ad51636c25 (diff)
downloadfreebsd-ports-gnome-1bdc072998e75ff7c78de088d224c6f914354356.tar.gz
freebsd-ports-gnome-1bdc072998e75ff7c78de088d224c6f914354356.tar.zst
freebsd-ports-gnome-1bdc072998e75ff7c78de088d224c6f914354356.zip
- Unbreak this port
- switch to GitHub Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D12146
-rw-r--r--devel/pear-SebastianBergmann_Git/Makefile25
-rw-r--r--devel/pear-SebastianBergmann_Git/distinfo5
2 files changed, 20 insertions, 10 deletions
diff --git a/devel/pear-SebastianBergmann_Git/Makefile b/devel/pear-SebastianBergmann_Git/Makefile
index 5e5404f7cf16..a767c333508d 100644
--- a/devel/pear-SebastianBergmann_Git/Makefile
+++ b/devel/pear-SebastianBergmann_Git/Makefile
@@ -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>
diff --git a/devel/pear-SebastianBergmann_Git/distinfo b/devel/pear-SebastianBergmann_Git/distinfo
index eeb23304db53..ed23bc2bd4ca 100644
--- a/devel/pear-SebastianBergmann_Git/distinfo
+++ b/devel/pear-SebastianBergmann_Git/distinfo
@@ -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