Merge branch 'staged'
[dports.git] / dns / pear-Net_DNS2 / Makefile
1 PORTNAME=       Net_DNS2
2 PORTVERSION=    1.5.4
3 DISTVERSIONPREFIX=      v
4 PORTREVISION=   1
5 CATEGORIES=     dns net pear
6
7 MAINTAINER=     sunpoet@FreeBSD.org
8 COMMENT=        PHP Resolver library used to communicate with a DNS server
9 WWW=            https://pear.php.net/package/Net_DNS2 \
10                 https://github.com/mikepultz/netdns2
11
12 LICENSE=        BSD3CLAUSE
13 LICENSE_FILE=   ${WRKSRC}/LICENSE
14
15 USES=           pear
16
17 USE_GITHUB=     yes
18 GH_ACCOUNT=     mikepultz
19 GH_PROJECT=     netdns2
20
21 NO_ARCH=        yes
22
23 PLIST_FILES=    ${PEARDIR}/Net/DNS2/Names.php \
24                 ${PEARDIR}/Net/DNS2/RR/ZONEMD.php
25
26 post-install:
27         ${INSTALL_DATA} ${WRKSRC}/Net/DNS2/Names.php ${STAGEDIR}${PEARDIR}/Net/DNS2/Names.php
28         ${INSTALL_DATA} ${WRKSRC}/Net/DNS2/RR/ZONEMD.php ${STAGEDIR}${PEARDIR}/Net/DNS2/RR/ZONEMD.php
29
30 .include <bsd.port.mk>