aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoneum <joneum@FreeBSD.org>2017-09-13 01:46:30 +0800
committerjoneum <joneum@FreeBSD.org>2017-09-13 01:46:30 +0800
commitb912fbe2ce0d040accc99f77253b7dfad734024f (patch)
tree91286a493ca492541fab3cac3edbbee9f5e51c12
parent744d670863fe31da79222b2a35f7770b8cebe4a2 (diff)
downloadfreebsd-ports-gnome-b912fbe2ce0d040accc99f77253b7dfad734024f.tar.gz
freebsd-ports-gnome-b912fbe2ce0d040accc99f77253b7dfad734024f.tar.zst
freebsd-ports-gnome-b912fbe2ce0d040accc99f77253b7dfad734024f.zip
- devel/pear-TheSeer_fDOMDocument: Update from 1.4.3 to 1.6.6
- switch to GitHub - Changelog: https://github.com/theseer/fDOMDocument/releases Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D12187
-rw-r--r--devel/pear-TheSeer_fDOMDocument/Makefile26
-rw-r--r--devel/pear-TheSeer_fDOMDocument/distinfo5
2 files changed, 23 insertions, 8 deletions
diff --git a/devel/pear-TheSeer_fDOMDocument/Makefile b/devel/pear-TheSeer_fDOMDocument/Makefile
index 0b1509db28e8..0a4514ffd95b 100644
--- a/devel/pear-TheSeer_fDOMDocument/Makefile
+++ b/devel/pear-TheSeer_fDOMDocument/Makefile
@@ -2,21 +2,35 @@
# $FreeBSD$
PORTNAME= fDOMDocument
-PORTVERSION= 1.4.3
+PORTVERSION= 1.6.6
CATEGORIES= devel www pear
-MASTER_SITES= http://pear.netpirates.net/get/
PKGNAMEPREFIX= pear-TheSeer_
MAINTAINER= joneum@FreeBSD.org
-COMMENT= Extension to PHP's standard DOM
+COMMENT= Extension to PHP standard DOM
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PEARDIR}/.channels/pear.netpirates.net.reg:devel/pear-channel-theseer
-RUN_DEPENDS= ${PEARDIR}/.channels/pear.netpirates.net.reg:devel/pear-channel-theseer
+BUILD_DEPENDS= pear-channel-theseer>=20120501:devel/pear-channel-theseer
+RUN_DEPENDS= pear-channel-theseer>=20120501:devel/pear-channel-theseer
+
+USE_GITHUB= yes
+GH_ACCOUNT= theseer
+GH_PROJECT= fDOMDocument
USE_PHP= dom xml
PEAR_CHANNEL= theseer
-USES= pear
+
+NO_BUILD= yes
+
+PHP_DIR= share/PHP
+
+PLIST_FILES= ${PHP_DIR}/${PORTNAME}/fDOMDocument.php
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/fDOMDocument.php \
+ ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
.include <bsd.port.mk>
diff --git a/devel/pear-TheSeer_fDOMDocument/distinfo b/devel/pear-TheSeer_fDOMDocument/distinfo
index ea821b2135ff..9a86f6f5352b 100644
--- a/devel/pear-TheSeer_fDOMDocument/distinfo
+++ b/devel/pear-TheSeer_fDOMDocument/distinfo
@@ -1,2 +1,3 @@
-SHA256 (PEAR/fDOMDocument-1.4.3.tgz) = 9c8c14bd39c406d0fba4c7c9a8c6382c8c06ba870f9982e8f42bf824e8b814bd
-SIZE (PEAR/fDOMDocument-1.4.3.tgz) = 15310
+TIMESTAMP = 1504199780
+SHA256 (theseer-fDOMDocument-1.6.6_GH0.tar.gz) = 7e5bfe993a622ca814ecc19d13484bf4ee08f8a6d3b01de9a1e9c057a0518e19
+SIZE (theseer-fDOMDocument-1.6.6_GH0.tar.gz) = 21233