Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 18:17:27 +0200 (CEST)
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thierry@FreeBSD.org
Subject:   ports/65496: [PATCH] FILES-ify devel/pear-I18N
Message-ID:  <20040413161727.64B562FDA01@isis.wad.cz>
Resent-Message-ID: <200404131720.i3DHK9AN045014@freefall.freebsd.org>

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

>Number:         65496
>Category:       ports
>Synopsis:       [PATCH] FILES-ify devel/pear-I18N
>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
>How-To-Repeat:
	don't forget to remove the emptied pkg-plist
>Fix:

	

--- devel-pear-I18N-FILES.patch begins here ---
Index: devel/pear-I18N/Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pear-I18N/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- devel/pear-I18N/Makefile	12 Nov 2003 23:46:16 -0000	1.7
+++ devel/pear-I18N/Makefile	12 Apr 2004 23:17:39 -0000
@@ -15,31 +15,24 @@
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
-
-MANIFEST=	Common.php Country.php Currency.php DateTime.php Format.php	\
-		Language.php Negotiator.php Number.php
-SUBDIRS=	Common Messages
+CATEGORY=	I18N
+FILES=		Common/af.php Common/da_DK.php Common/de.php \
+		Common/de_AT.php Common/de_DE.php Common/en.php \
+		Common/en_GB.php Common/en_UK.php Common/en_US.php \
+		Common/en_ZA.php Common/es.php Common/es_ES.php \
+		Common/fr.php Common/fr_FR.php Common/hu.php \
+		Common/it.php Common/it_IT.php Common/nl.php \
+		Common/nl_NL.php Common/pl.php Common/pt.php \
+		Common/ru.php Common/sl.php Common.php Country.php \
+		Currency.php DateTime.php Format.php Language.php \
+		Negotiator.php Number.php Messages/Common.php \
+		Messages/File.php Messages/Translate.php \
+		Messages/determineLanguage.inc.php
 EXAMPLES=	I18N_Currency.php I18N_DateTime.php I18N_Message.php		\
 		I18N_Message_Translate.php I18N_Message_Translate.tpl		\
 		I18N_Negotiator.php I18N_Number.php
+_EXAMPLESDIR=	docs
 
-do-install:
-	@${MKDIR} ${PEARDIR}/I18N
-.for FILE in ${MANIFEST}
-	@${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/I18N
-.endfor
-.for FILE in ${SUBDIRS}
-	@${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR}/I18N
-.endfor
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/I18N
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for FILE in ${EXAMPLES}
-	@${INSTALL_DATA} ${WRKSRC}/docs/${FILE} ${DOCSDIR}
-.endfor
-	@${ECHO_MSG} "===> Examples installed in ${DOCSDIR}."
-.endif
-
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
 .include <bsd.port.post.mk>
Index: devel/pear-I18N/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/pear-I18N/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- devel/pear-I18N/pkg-plist	8 Sep 2003 02:43:15 -0000	1.3
+++ devel/pear-I18N/pkg-plist	12 Apr 2004 23:19:45 -0000
@@ -1,48 +0,0 @@
-%%PEARDIR%%/I18N/Common/af.php
-%%PEARDIR%%/I18N/Common/da_DK.php
-%%PEARDIR%%/I18N/Common/de.php
-%%PEARDIR%%/I18N/Common/de_AT.php
-%%PEARDIR%%/I18N/Common/de_DE.php
-%%PEARDIR%%/I18N/Common/en.php
-%%PEARDIR%%/I18N/Common/en_GB.php
-%%PEARDIR%%/I18N/Common/en_UK.php
-%%PEARDIR%%/I18N/Common/en_US.php
-%%PEARDIR%%/I18N/Common/en_ZA.php
-%%PEARDIR%%/I18N/Common/es.php
-%%PEARDIR%%/I18N/Common/es_ES.php
-%%PEARDIR%%/I18N/Common/fr.php
-%%PEARDIR%%/I18N/Common/fr_FR.php
-%%PEARDIR%%/I18N/Common/hu.php
-%%PEARDIR%%/I18N/Common/it.php
-%%PEARDIR%%/I18N/Common/it_IT.php
-%%PEARDIR%%/I18N/Common/nl.php
-%%PEARDIR%%/I18N/Common/nl_NL.php
-%%PEARDIR%%/I18N/Common/pl.php
-%%PEARDIR%%/I18N/Common/pt.php
-%%PEARDIR%%/I18N/Common/ru.php
-%%PEARDIR%%/I18N/Common/sl.php
-%%PEARDIR%%/I18N/Common.php
-%%PEARDIR%%/I18N/Country.php
-%%PEARDIR%%/I18N/Currency.php
-%%PEARDIR%%/I18N/DateTime.php
-%%PEARDIR%%/I18N/Format.php
-%%PEARDIR%%/I18N/Language.php
-%%PEARDIR%%/I18N/Negotiator.php
-%%PEARDIR%%/I18N/Number.php
-%%PEARDIR%%/I18N/Messages/Common.php
-%%PEARDIR%%/I18N/Messages/File.php
-%%PEARDIR%%/I18N/Messages/Translate.php
-%%PEARDIR%%/I18N/Messages/determineLanguage.inc.php
-%%PKGREGDIR%%/package.xml
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Currency.php
-%%PORTDOCS%%%%DOCSDIR%%/I18N_DateTime.php
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Message.php
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Message_Translate.php
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Message_Translate.tpl
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Negotiator.php
-%%PORTDOCS%%%%DOCSDIR%%/I18N_Number.php
-@dirrm %%PORTDOCS%%%%DOCSDIR%%
-@dirrm %%PEARDIR%%/I18N/Common
-@dirrm %%PEARDIR%%/I18N/Messages
-@dirrm %%PEARDIR%%/I18N
-@dirrm %%PKGREGDIR%%
--- devel-pear-I18N-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?20040413161727.64B562FDA01>