From 26b4e3327608791512d5ac09a0810f93b56989af Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 28 Aug 2003 08:40:38 +0000 Subject: [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 --- net/pear-Net_NNTP/Makefile | 13 ++++++++----- net/pear-Net_NNTP/distinfo | 2 +- net/pear-Net_NNTP/pkg-plist | 4 ++++ 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'net/pear-Net_NNTP') 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 .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 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 -- cgit v1.2.3