ports/148667: [PATCH] java/eclipse-ocl: update path for new eclipse version

Greg Lewis glewis at FreeBSD.org
Fri Jul 16 05:30:02 UTC 2010


>Number:         148667
>Category:       ports
>Synopsis:       [PATCH] java/eclipse-ocl: update path for new eclipse version
>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:   Fri Jul 16 05:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Greg Lewis
>Release:        FreeBSD 7.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD misty.eyesbeyond.com 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sat Apr 10 10:48:33 PDT 2010
>Description:
. Update the installation path for the new version of eclipse

Port maintainer (vj562001 at yahoo.de) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- eclipse-ocl-1.1_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /var/fcvs/ports/java/eclipse-ocl/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	28 Mar 2010 06:38:40 -0000	1.6
+++ Makefile	16 Jul 2010 05:03:56 -0000
@@ -19,7 +19,7 @@
 COMMENT=	Implementation of the OCL OMG standard for EMF-based models
 
 RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
-		${LOCALBASE}/eclipse/features/org.eclipse.emf_2.3.2.v200802051830/feature.xml:${PORTSDIR}/java/eclipse-emf
+		${LOCALBASE}/lib/eclipse/features/org.eclipse.emf_2.3.2.v200802051830/feature.xml:${PORTSDIR}/java/eclipse-emf
 
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
@@ -29,12 +29,12 @@
 JAVA_OS=	native
 
 do-install:
-		@${MKDIR} ${PREFIX}/eclipse
-		@${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/eclipse
-		@${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/eclipse
-		@(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) >> ${TMPPLIST}
+		@${MKDIR} ${PREFIX}/lib/eclipse
+		@${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/lib/eclipse
+		@${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/lib/eclipse
+		@(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) | ${SED} -e 's,^eclipse,lib/eclipse,' >> ${TMPPLIST}
 		@(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d) \
 			| ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
-			| ${SED} -ne 's,^, at dirrm ,p' >> ${TMPPLIST}
+			| ${SED} -ne 's,^, at dirrm lib/,p' >> ${TMPPLIST}
 
 .include <bsd.port.mk>
--- eclipse-ocl-1.1_3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list