Date: Tue, 13 Apr 2004 23:37:51 +0200 (CEST) From: Roman Neuhauser <neuhauser@chello.cz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: asm@asm.kiev.ua Subject: ports/65510: [PATCH] FILES-ify www/pear-HTTP_Upload Message-ID: <20040413213751.C980C2FDA01@isis.wad.cz> Resent-Message-ID: <200404132240.i3DMeEDe082378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65510 >Category: ports >Synopsis: [PATCH] FILES-ify www/pear-HTTP_Upload >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 15:40:14 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: This patch changes behavior of the port, so that: * Upload.php is installed in $PEARDIR/HTTP/ as intended (besides being obvious from the name of the package, see the include line in the example script) * installs the example in $EXAMPLESDIR, not $DOCSDIR Alex, any objections? >How-To-Repeat: Don't remove to remove the emptied pkg-plist! >Fix: --- www-pear-HTTP_Upload.FILES.patch begins here --- Index: www/pear-HTTP_Upload/Makefile =================================================================== RCS file: /home/ncvs/ports/www/pear-HTTP_Upload/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- www/pear-HTTP_Upload/Makefile 28 Dec 2003 09:11:27 -0000 1.2 +++ www/pear-HTTP_Upload/Makefile 13 Apr 2004 21:20:25 -0000 @@ -7,6 +7,7 @@ PORTNAME= HTTP_Upload PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= www devel pear MAINTAINER= ports@FreeBSD.org @@ -15,17 +16,11 @@ BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR RUN_DEPENDS= ${BUILD_DEPENDS} +CATEGORY= HTTP +FILES= Upload.php +EXAMPLES= upload_example.php +_EXAMPLESDIR= docs + .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" - -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/upload_example.php ${DOCSDIR} - @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif - -do-install: - @${CP} ${WRKSRC}/Upload.php ${PEARDIR} - @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Upload.php - .include <bsd.port.post.mk> Index: www/pear-HTTP_Upload/pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/pear-HTTP_Upload/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- www/pear-HTTP_Upload/pkg-plist 28 Dec 2003 08:56:37 -0000 1.1 +++ www/pear-HTTP_Upload/pkg-plist 13 Apr 2004 21:22:07 -0000 @@ -1,5 +0,0 @@ -%%PEARDIR%%/Upload.php -%%PKGREGDIR%%/package.xml -%%PORTDOCS%%%%DOCSDIR%%/upload_example.php -@dirrm %%PKGREGDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- www-pear-HTTP_Upload.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?20040413213751.C980C2FDA01>