Bug 77068 - Update port: java/eclipse-EPIC
Summary: Update port: java/eclipse-EPIC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sam Lawrance
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 15:50 UTC by Gerrit Beine
Modified: 2005-05-17 11:34 UTC (History)
0 users

See Also:


Attachments
file.diff (2.29 KB, patch)
2005-02-03 15:50 UTC, Gerrit Beine
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gerrit Beine 2005-02-03 15:50:16 UTC
The port now unzips the jar files.

Portrevision bumped, no functional change.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-02-27 18:23:45 UTC
State Changed
From-To: open->feedback

Patch does not fetch: org.epic.updatesite_0.3.0_20040711.zip
Comment 2 Gerrit Beine 2005-02-27 20:57:36 UTC
I'll fix it!


-- 
mail tux@pinguru.net
icq  123851585
web  http://arme-und-beine.de
Comment 3 gerrit.beine 2005-03-02 09:25:35 UTC
The port fetch perfectly here.
I'm not able to find any problem with this :(

Gerrit

--
Besuchen Sie uns zu:  http://chemnitzer.linux-tage.de
Comment 4 ph.schulz 2005-03-22 14:32:37 UTC
Hi,

 on my system, the patch in the PR fails to apply cleanly and creates
fetch problems caused by wrong information in distinfo.

 Below is a patch which works fine for me.

HTH,

Phil.


--- Makefile.orig	Sat Mar 12 11:54:08 2005
+++ Makefile	Tue Mar 22 15:22:20 2005
@@ -5,13 +5,12 @@
 # $FreeBSD: ports/java/eclipse-EPIC/Makefile,v 1.2 2005/03/12 10:54:08
marcus Exp $
 #

-PORTNAME=	EPIC
+PORTNAME=	eclipse-EPIC
 PORTVERSION=	0.3.0
 PORTREVISION=	1
 CATEGORIES=	java editors devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	e-p-i-c
-PKGNAMEPREFIX=	eclipse-
 DISTNAME=	${EPIC}_${PORTVERSION}_20040711

 MAINTAINER=	tux@pinguru.net
@@ -23,17 +22,35 @@
 USE_ZIP=	yes
 WRKSRC=		${WRKDIR}/${EPIC}

-EPIC=		org.epic.updatesite
 ECLIPSE=	${PREFIX}/eclipse
+EPIC=		org.epic.updatesite
+EPICFILES=	features/org.epic.feature.main_0.3.0 \
+		plugins/org.epic.debug_0.2.0 \
+		plugins/org.epic.ext.cbg.editor_0.3.0 \
+		plugins/org.epic.perleditor_0.1.2 \
+		plugins/org.epic.regexp_0.1.2
+
+post-extract:
+.for file in ${EPICFILES}
+	cd ${WRKSRC} \
+	  && ${MKDIR} ${file} \
+	  && ${UNZIP_CMD} ${file}.jar -d ${file}
+.endfor

 do-install:
-	@${CP} -r ${WRKSRC}/features/*.jar ${ECLIPSE}/features
-	@${CP} -r ${WRKSRC}/plugins/*.jar ${ECLIPSE}/plugins
+.for file in ${EPICFILES}
+	cd ${WRKSRC} \
+          && ${MKDIR} ${ECLIPSE}/${file} \
+	  && ${FIND} ${file} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
+	  && ${FIND} ${file} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
+.endfor

 post-install:
-	@${FIND} -s ${WRKSRC}/features -name "*.jar" \
-	  | ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
-	@${FIND} -s ${WRKSRC}/plugins -name "*.jar" \
+.for file in ${EPICFILES}
+	@${FIND} ${WRKSRC}/${file} -not -type d \
 	  | ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+	@${FIND} -d ${WRKSRC}/${file} -type d \
+	  | ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >>
${TMPPLIST}
+.endfor

 .include <bsd.port.mk>
Comment 5 Sam Lawrance freebsd_committer freebsd_triage 2005-04-24 07:54:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lawrance

Grab.
Comment 6 Sam Lawrance freebsd_committer freebsd_triage 2005-05-17 11:33:23 UTC
State Changed
From-To: feedback->closed

Committed with minor changes, thanks!