summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-28 08:40:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-28 08:40:38 +0000
commit26b4e3327608791512d5ac09a0810f93b56989af (patch)
tree520a8a8fc1ed0809dc5dbb49b43396474e3bdd26 /net
parentUse %%DOCSDIR%% in pkg-plist (diff)
[update] net/pear-Net_NNTP: update to 0.9.2
Update NNTP pear class to the lastest version. PR: ports/55949 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes: svn path=/head/; revision=87869
Diffstat (limited to 'net')
-rw-r--r--net/pear-Net_NNTP/Makefile13
-rw-r--r--net/pear-Net_NNTP/distinfo2
-rw-r--r--net/pear-Net_NNTP/pkg-plist4
3 files changed, 13 insertions, 6 deletions
diff --git a/net/pear-Net_NNTP/Makefile b/net/pear-Net_NNTP/Makefile
index d415f3e39062..c8e42b7b3e65 100644
--- a/net/pear-Net_NNTP/Makefile
+++ b/net/pear-Net_NNTP/Makefile
@@ -6,23 +6,26 @@
#
PORTNAME= Net_NNTP
-PORTVERSION= 0.2
+PORTVERSION= 0.9.2
CATEGORIES= net news www
MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= PEAR class that provides an implementation of the NNTP protocol
-BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
RUN_DEPENDS= ${BUILD_DEPENDS}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+LIB_FILES= NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
+
do-install:
-.if !exists(${PEARDIR}/Net)
- @${MKDIR} ${PEARDIR}/Net
-.endif
+ @${MKDIR} ${PEARDIR}/Net/NNTP
@${CP} -p ${WRKSRC}/NNTP.php ${PEARDIR}/Net
+.for FILE in ${LIB_FILES}
+ @${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/Net/NNTP
+.endfor
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
.include <bsd.port.post.mk>
diff --git a/net/pear-Net_NNTP/distinfo b/net/pear-Net_NNTP/distinfo
index 64899f561911..0a6146a9cde2 100644
--- a/net/pear-Net_NNTP/distinfo
+++ b/net/pear-Net_NNTP/distinfo
@@ -1 +1 @@
-MD5 (PEAR/Net_NNTP-0.2.tgz) = 7f2591f11bef81202dd4a09070a33a28
+MD5 (PEAR/Net_NNTP-0.9.2.tgz) = 1748a8d1a9cf5194f4f8bd91cb117b6f
diff --git a/net/pear-Net_NNTP/pkg-plist b/net/pear-Net_NNTP/pkg-plist
index 46088154112c..cd7d31ce9ad7 100644
--- a/net/pear-Net_NNTP/pkg-plist
+++ b/net/pear-Net_NNTP/pkg-plist
@@ -1,4 +1,8 @@
%%PEARDIR%%/Net/NNTP.php
+%%PEARDIR%%/Net/NNTP/Protocol.php
+%%PEARDIR%%/Net/NNTP/Header.php
+%%PEARDIR%%/Net/NNTP/Message.php
%%PKGREGDIR%%/package.xml
+@dirrm %%PEARDIR%%/Net/NNTP
@dirrm %%PKGREGDIR%%
@unexec rmdir %D/share/pear/Net 2> /dev/null || true