ports/119625: java/eclipse-EPIC update to 0.6.18
Jens Rehsack
rehsack at web.de
Sun Jan 13 12:30:05 UTC 2008
>Number: 119625
>Category: ports
>Synopsis: java/eclipse-EPIC update to 0.6.18
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 13 12:30:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jens Rehsack
>Release: 6.3-PRERELEASE
>Organization:
>Environment:
FreeBSD waldorf.muppets.liwing.de 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Jan 4 21:52:51 UTC 2008 root at waldorf.muppets.liwing.de:/usr/obj/usr/src/sys/WALDORF amd64
>Description:
Update of eclipse-EPIC to avoid administrators of eclipse-users are required to run eclipse as root to update the plugin from it's update site.
Further, the plugin names a problem - the integrated Perl-Tidy is not up-to-date. With an option now the update of Perl-Tidy before install eclipse-EPIC is forced.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: java/eclipse-EPIC/Makefile
===================================================================
diff -u java/eclipse-EPIC/Makefile.orig java/eclipse-EPIC/Makefile
--- java/eclipse-EPIC/Makefile.orig 2008-01-13 10:05:47.000000000 +0000
+++ java/eclipse-EPIC/Makefile 2008-01-13 12:13:40.000000000 +0000
@@ -6,53 +6,66 @@
#
PORTNAME= EPIC
-PORTVERSION= 0.6.13
+PORTVERSION= 0.6.18
CATEGORIES= java editors devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= e-p-i-c
+MASTER_SITES= http://e-p-i-c.sourceforge.net/updates/testing/
PKGNAMEPREFIX= eclipse-
-DISTNAME= ${EPIC}_${PORTVERSION}_20070808
+DIST_SUBDIR= eclipse-EPIC
+DISTFILES= features/org.epic.feature.main_${PORTVERSION}.jar \
+ plugins/org.epic.source_${PORTVERSION}.jar \
+ plugins/org.epic.regexp_0.6.1.jar plugins/org.epic.perleditor_0.6.10.jar \
+ plugins/org.epic.lib_0.6.0.jar plugins/org.epic.doc_0.6.1.jar \
+ plugins/org.epic.debug_0.6.15.jar
MAINTAINER= gerrit.beine at gmx.de
COMMENT= EPIC adds Perl support to the Eclipse IDE Framework
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
+OPTIONS= PERLTIDY "With updated Perl-Tidy" On
+
+USE_PERL5= yes
+
NO_BUILD= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${EPIC}
+EXTRACT_CMD= cp
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= ${WRKDIR}/
-EPIC= org.epic.updatesite
+EPIC= org.${PORTNAME}.updatesite
ECLIPSE= ${PREFIX}/eclipse
-EPICFILES= features/org.epic.feature.main_${PORTVERSION} \
- plugins/org.epic.debug_${PORTVERSION} \
- plugins/org.epic.doc_0.6.1 \
- plugins/org.epic.lib_0.6.0 \
- plugins/org.epic.perleditor_0.6.6 \
- plugins/org.epic.regexp_0.6.0 \
- plugins/org.epic.source_${PORTVERSION}
+
+.if defined(WITH_PERLTIDY)
+BUILDDEPENDS+= perltidy>=20071205:${PORTSDIR}/devel/perltidy
+.endif
+
+.include <bsd.port.pre.mk>
post-extract:
-.for file in ${EPICFILES}
+ ${MKDIR} ${WRKSRC}
+.for file in ${DISTFILES}
cd ${WRKSRC} \
- && ${MKDIR} ${file} \
- && ${UNZIP_CMD} ${file}.jar -d ${file}
+ && ${MKDIR} ${file:S/.jar//} \
+ && ${UNZIP_CMD} ${WRKDIR}/`basename ${file}` -d ${file:S/.jar//}
.endfor
+.if defined(WITH_PERLTIDY)
+ cp ${SITE_PERL}/Perl/Tidy.pm ${WRKSRC}/plugins/org.epic.perleditor_0.6.10/perlutils/perltidy/Perl/Tidy.pm
+.endif
do-install:
-.for file in ${EPICFILES}
+.for file in ${DISTFILES}
cd ${WRKSRC} \
- && ${MKDIR} ${ECLIPSE}/${file} \
- && ${FIND} ${file} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
- && ${FIND} ${file} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
+ && ${FIND} ${file:S/.jar//} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
+ && ${FIND} ${file:S/.jar//} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
.endfor
post-install:
-.for file in ${EPICFILES}
- @${FIND} ${WRKSRC}/${file} -type f \
+.for file in ${DISTFILES}
+ @${FIND} ${WRKSRC}/${file:S/.jar//} -type f \
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
- @${FIND} -d ${WRKSRC}/${file} -type d \
+ @${FIND} -d ${WRKSRC}/${file:S/.jar//} -type d \
| ${SED} -ne 's,^${WRKSRC}, at dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: java/eclipse-EPIC/distinfo
===================================================================
diff -u java/eclipse-EPIC/distinfo.orig java/eclipse-EPIC/distinfo
--- java/eclipse-EPIC/distinfo.orig 2008-01-13 10:05:53.000000000 +0000
+++ java/eclipse-EPIC/distinfo 2008-01-13 10:38:17.000000000 +0000
@@ -1,3 +1,21 @@
-MD5 (org.epic.updatesite_0.6.13_20070808.zip) = 8f1d7fa06c276084bba71ca4187e86f1
-SHA256 (org.epic.updatesite_0.6.13_20070808.zip) = 2a05f079b84fee4c17b39c7bf86eb47ea9c81a4b736933ddd5cda4b051aedee1
-SIZE (org.epic.updatesite_0.6.13_20070808.zip) = 3427194
+MD5 (eclipse-EPIC/features/org.epic.feature.main_0.6.18.jar) = 9ee240cb5de69d602b562d65ed8f1b2d
+SHA256 (eclipse-EPIC/features/org.epic.feature.main_0.6.18.jar) = 6304cc55e701bc6c1dddeffca3a7c5a01815a87ce8594deea49451f463a6527b
+SIZE (eclipse-EPIC/features/org.epic.feature.main_0.6.18.jar) = 13560
+MD5 (eclipse-EPIC/plugins/org.epic.debug_0.6.15.jar) = 01439ea8444fe14376bd351648cfeab4
+SHA256 (eclipse-EPIC/plugins/org.epic.debug_0.6.15.jar) = f07d62586fd748db360680092785c196a534b72e5bafa6606607f036f338881d
+SIZE (eclipse-EPIC/plugins/org.epic.debug_0.6.15.jar) = 290646
+MD5 (eclipse-EPIC/plugins/org.epic.doc_0.6.1.jar) = 7e179ca694f0ffa9c1130494c6b1555b
+SHA256 (eclipse-EPIC/plugins/org.epic.doc_0.6.1.jar) = a6e32d6e925a860126d0ff743aabab237d5a8e0c41245206d58bec27bb07a9ee
+SIZE (eclipse-EPIC/plugins/org.epic.doc_0.6.1.jar) = 841162
+MD5 (eclipse-EPIC/plugins/org.epic.lib_0.6.0.jar) = c02e1e87ebbae5e2f1c60342c46d7d19
+SHA256 (eclipse-EPIC/plugins/org.epic.lib_0.6.0.jar) = 5352a5960dbe6ee8c81a6ce4e1433408bfa2fe530b93de2e2236786802460d6b
+SIZE (eclipse-EPIC/plugins/org.epic.lib_0.6.0.jar) = 769329
+MD5 (eclipse-EPIC/plugins/org.epic.perleditor_0.6.10.jar) = 7b0de9b99846b42852f222125bca2932
+SHA256 (eclipse-EPIC/plugins/org.epic.perleditor_0.6.10.jar) = 36c8fc7e7d83a5fd51aa0038f5fb70a5d87407bf80fe7e362e5e64ccbe05d257
+SIZE (eclipse-EPIC/plugins/org.epic.perleditor_0.6.10.jar) = 991572
+MD5 (eclipse-EPIC/plugins/org.epic.regexp_0.6.1.jar) = 3072167187c53f47121b759632c63054
+SHA256 (eclipse-EPIC/plugins/org.epic.regexp_0.6.1.jar) = fb6fd10768008db282f2bb1c21021f79db1e4e5a36bb4ddd8134a7ff401ec38c
+SIZE (eclipse-EPIC/plugins/org.epic.regexp_0.6.1.jar) = 24259
+MD5 (eclipse-EPIC/plugins/org.epic.source_0.6.18.jar) = 56f73aaeb284d80a62439fdff2aa865d
+SHA256 (eclipse-EPIC/plugins/org.epic.source_0.6.18.jar) = fd886feded9806691c9139bf32bb284718b49147bd4b8d7e885e44c6b3ac76d1
+SIZE (eclipse-EPIC/plugins/org.epic.source_0.6.18.jar) = 612798
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list