ports/59977: [maintainer update] net/pear-Net_NNTP: update to 0.10.1

Clement Laforet sheepkiller at cultdeadsheep.org
Fri Dec 5 17:00:59 UTC 2003


>Number:         59977
>Category:       ports
>Synopsis:       [maintainer update] net/pear-Net_NNTP: update to 0.10.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 05 09:00:35 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.2-BETA i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.2-BETA FreeBSD 5.2-BETA #0: Fri Nov 28 21:23:08 CET 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	- update to 0.10.1
	- introduce NOPORTEXAMPLES knob
	- use PORTDOCS macro

>How-To-Repeat:
	N/A.
>Fix:

	

--- pear-Net_NNTP.diff begins here ---
? pear-Net_NNTP/work
Index: pear-Net_NNTP/Makefile
===================================================================
RCS file: /SERVICES/cvs/FreeBSD/ports/net/pear-Net_NNTP/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- pear-Net_NNTP/Makefile	5 Dec 2003 15:31:50 -0000	1.5
+++ pear-Net_NNTP/Makefile	5 Dec 2003 16:49:51 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Net_NNTP
-PORTVERSION=	0.10.0
+PORTVERSION=	0.10.1
 CATEGORIES=	net news www pear
 
 MAINTAINER=	sheepkiller at cultdeadsheep.org
@@ -18,7 +18,14 @@
 .include <bsd.port.pre.mk>
 .include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
 
-LIB_FILES=	NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
+LIB_FILES=	NNTP/Realtime.php NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
+PORTDOCS=	README
+
+.if defined(NOPORTEXAMPLES)
+PLIST_SUB+=		PORTEXAMPLES="@comment "
+.else
+PLIST_SUB+=		PORTEXAMPLES=""
+.endif
 
 do-install:
 	@${MKDIR} ${PEARDIR}/Net/NNTP
@@ -27,9 +34,13 @@
 	@${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/Net/NNTP
 .endfor
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
-.if !(NOPORTDOCS)
+.if !(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-	@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/* ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/*.php ${EXAMPLESDIR}
+.endif
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/${PORTDOCS} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
Index: pear-Net_NNTP/distinfo
===================================================================
RCS file: /SERVICES/cvs/FreeBSD/ports/net/pear-Net_NNTP/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- pear-Net_NNTP/distinfo	5 Dec 2003 15:31:50 -0000	1.4
+++ pear-Net_NNTP/distinfo	5 Dec 2003 16:49:51 -0000
@@ -1 +1 @@
-MD5 (PEAR/Net_NNTP-0.10.0.tgz) = 4ab0cf46f366086ec161f97d5f4eb6c1
+MD5 (PEAR/Net_NNTP-0.10.1.tgz) = 495b9bb0218c9d43d291f0cec7b5dd87
Index: pear-Net_NNTP/pkg-plist
===================================================================
RCS file: /SERVICES/cvs/FreeBSD/ports/net/pear-Net_NNTP/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pear-Net_NNTP/pkg-plist	7 Oct 2003 22:56:00 -0000	1.3
+++ pear-Net_NNTP/pkg-plist	5 Dec 2003 16:49:51 -0000
@@ -1,13 +1,13 @@
 %%PEARDIR%%/Net/NNTP.php
-%%PEARDIR%%/Net/NNTP/Protocol.php
 %%PEARDIR%%/Net/NNTP/Header.php
 %%PEARDIR%%/Net/NNTP/Message.php
+%%PEARDIR%%/Net/NNTP/Protocol.php
+%%PEARDIR%%/Net/NNTP/Realtime.php
 %%PKGREGDIR%%/package.xml
-%%PORTDOCS%%%%EXAMPLESDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/read.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/group.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/index.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/group.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.php
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 @dirrm %%PEARDIR%%/Net/NNTP
 @dirrm %%PKGREGDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
 @unexec rmdir %D/share/pear/Net 2> /dev/null || true
--- pear-Net_NNTP.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list