Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 18:57:48 +0200 (CEST)
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thierry@FreeBSD.org
Subject:   ports/65499: [PATCH] FILES-ify www/pear-HTTP_Session
Message-ID:  <20040413165748.9B6382FDA01@isis.wad.cz>
Resent-Message-ID: <200404131800.i3DI0XW9047533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65499
>Category:       ports
>Synopsis:       [PATCH] FILES-ify www/pear-HTTP_Session
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 11:00:32 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #3: Sun Mar 7 02:11:16 CET 2004 root@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386


	
>Description:
	Hi Thierry ;)

    I'm not sure whether the fact that the patch installs example code
    in EXAMPLESDIR, as opposed to current code, which puts it in DOCSDIR
    requires PORTREVISION bump.

    Do as you please.
>How-To-Repeat:
	Don't forget to remove the emptied pkg-plist.
>Fix:

	

--- www-pear-HTTP_Session.FILES.patch begins here ---
Index: www/pear-HTTP_Session/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/pear-HTTP_Session/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- www/pear-HTTP_Session/Makefile	28 Dec 2003 09:11:27 -0000	1.2
+++ www/pear-HTTP_Session/Makefile	13 Apr 2004 16:40:47 -0000
@@ -15,22 +15,10 @@
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+FILES=		Session.php Session/Container.php Session/Container/DB.php
+EXAMPLES=	HTTP_Session_Example.php sessiondata.sql
+_EXAMPLESDIR=	docs
+
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
-
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/docs/sessiondata.sql ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/docs/HTTP_Session_Example.php ${DOCSDIR}
-	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
-
-do-install:
-	@${MKDIR} ${PEARDIR}/Session/Container
-	@${CP} -p ${WRKSRC}/Session/Container/DB.php ${PEARDIR}/Session/Container
-	@${CP} -p ${WRKSRC}/Session/Container.php ${PEARDIR}/Session
-	@${CP} ${WRKSRC}/Session.php ${PEARDIR}
-	@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session.php
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session
-
 .include <bsd.port.post.mk>
Index: www/pear-HTTP_Session/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/pear-HTTP_Session/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- www/pear-HTTP_Session/pkg-plist	28 Dec 2003 08:54:32 -0000	1.1
+++ www/pear-HTTP_Session/pkg-plist	13 Apr 2004 16:47:42 -0000
@@ -1,11 +0,0 @@
-%%PEARDIR%%/Session.php
-%%PEARDIR%%/Session/Container.php
-%%PEARDIR%%/Session/Container/DB.php
-%%PKGREGDIR%%/package.xml
-%%PORTDOCS%%%%DOCSDIR%%/HTTP_Session_Example.php
-%%PORTDOCS%%%%DOCSDIR%%/sessiondata.sql
-@dirrm %%PEARDIR%%/Session/Container
-@unexec rmdir %D/%%PEARDIR%%/Session/Container 2>/dev/null || true
-@unexec rmdir %D/%%PEARDIR%%/Session 2>/dev/null || true
-@dirrm %%PKGREGDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- www-pear-HTTP_Session.FILES.patch ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040413165748.9B6382FDA01>