summaryrefslogtreecommitdiff
path: root/dns/pear-Net_DNS2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/pear-Net_DNS2/Makefile')
-rw-r--r--dns/pear-Net_DNS2/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/dns/pear-Net_DNS2/Makefile b/dns/pear-Net_DNS2/Makefile
index e3fa54bf203b..329c1aad2713 100644
--- a/dns/pear-Net_DNS2/Makefile
+++ b/dns/pear-Net_DNS2/Makefile
@@ -1,22 +1,27 @@
PORTNAME= Net_DNS2
-PORTVERSION= 1.5.5
+PORTVERSION= 2.0.3
DISTVERSIONPREFIX= v
CATEGORIES= dns net pear
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP Resolver library used to communicate with a DNS server
-WWW= https://pear.php.net/package/Net_DNS2 \
+WWW= https://netdns2.com/ \
https://github.com/mikepultz/netdns2
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= pear
+USES= pear:env
+
+NO_ARCH= yes
+NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= mikepultz
GH_PROJECT= netdns2
-NO_ARCH= yes
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>