Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2010 22:27:14 -0700 (PDT)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vj562001@yahoo.de
Subject:   ports/148667: [PATCH] java/eclipse-ocl: update path for new eclipse version
Message-ID:  <201007160527.o6G5REAW013752@misty.eyesbeyond.com>
Resent-Message-ID: <201007160530.o6G5U1hA029707@freefall.freebsd.org>

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

>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@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,^,@dirrm ,p' >> ${TMPPLIST}
+			| ${SED} -ne 's,^,@dirrm lib/,p' >> ${TMPPLIST}
 
 .include <bsd.port.mk>
--- eclipse-ocl-1.1_3.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?201007160527.o6G5REAW013752>