Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 18:11:33 +0200 (CEST)
From:      Roman Neuhauser <neuhause@chello.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thierry@FreeBSD.org
Subject:   ports/65495: [PATCH] FILES-ify devel/pear-HTML_Common
Message-ID:  <20040413161133.D285B2FDA01@isis.wad.cz>
Resent-Message-ID: <200404131720.i3DHK83q045001@freefall.freebsd.org>

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

>Number:         65495
>Category:       ports
>Synopsis:       [PATCH] FILES-ify devel/pear-HTML_Common
>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 10:20:08 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:
	remove homegrown do-install target, use FILES, CATEGORY,
    let Makefile.common do the work.
>How-To-Repeat:
	don't forget to remove the emptied pkg-plist.
>Fix:

	

--- devel-pear-HTML_Common.FILES.patch begins here ---
Index: devel/pear-HTML_Common/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pear-HTML_Common/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- devel/pear-HTML_Common/Makefile	28 Dec 2003 09:11:27 -0000	1.8
+++ devel/pear-HTML_Common/Makefile	12 Apr 2004 22:48:33 -0000
@@ -15,12 +15,9 @@
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+CATEGORY=	HTML
+FILES=		Common.php
+
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
-
-do-install:
-	@${MKDIR} ${PEARDIR}/HTML
-	@${CP} -Rp ${WRKSRC}/Common.php ${PEARDIR}/HTML
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTML
-
 .include <bsd.port.post.mk>
Index: devel/pear-HTML_Common/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/pear-HTML_Common/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- devel/pear-HTML_Common/pkg-plist	7 Jun 2003 23:00:41 -0000	1.2
+++ devel/pear-HTML_Common/pkg-plist	12 Apr 2004 22:50:53 -0000
@@ -1,4 +0,0 @@
-%%PEARDIR%%/HTML/Common.php
-%%PKGREGDIR%%/package.xml
-@dirrm %%PEARDIR%%/HTML
-@dirrm %%PKGREGDIR%%
--- devel-pear-HTML_Common.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?20040413161133.D285B2FDA01>