Sun Oct 2 22:42:39 2011 UTC ()
Apply CHECK_INTERPRETER_SKIP to antRun.pl.

XXX: This is not right, but the way this thing is built doesn't give
XXX: too many choices at the moment. Should be fixed properly sometime.
XXX: This way the package is at least installable...


(dholland)
diff -r1.27 -r1.28 pkgsrc/devel/eclipse/Makefile

cvs diff -r1.27 -r1.28 pkgsrc/devel/eclipse/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/eclipse/Makefile 2009/12/24 03:49:35 1.27
+++ pkgsrc/devel/eclipse/Makefile 2011/10/02 22:42:39 1.28
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.27 2009/12/24 03:49:35 dsainty Exp $ 1# $NetBSD: Makefile,v 1.28 2011/10/02 22:42:39 dholland Exp $
2# 2#
3 3
4DISTNAME= ${PKGNAME_NOREV} 4DISTNAME= ${PKGNAME_NOREV}
5PKGNAME= eclipse-${VERSION} 5PKGNAME= eclipse-${VERSION}
6PKGREVISION= 2 6PKGREVISION= 2
7CATEGORIES= devel java 7CATEGORIES= devel java
8MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jschauma/ 8MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jschauma/
9EXTRACT_SUFX= .zip 9EXTRACT_SUFX= .zip
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://www.eclipse.org/ 12HOMEPAGE= http://www.eclipse.org/
13COMMENT= Java IDE 13COMMENT= Java IDE
14LICENSE= eclipse-license 14LICENSE= eclipse-license
@@ -49,15 +49,21 @@ do-extract: @@ -49,15 +49,21 @@ do-extract:
49 ${CP} ${DISTDIR}/${PKGNAME_NOREV}${EXTRACT_SUFX} ${WRKDIR}/result/linux-motif-x86-sdk.zip 49 ${CP} ${DISTDIR}/${PKGNAME_NOREV}${EXTRACT_SUFX} ${WRKDIR}/result/linux-motif-x86-sdk.zip
50.endif 50.endif
51 51
52post-build: 52post-build:
53 ${RM} -fr ${WRKDIR}/tmp 53 ${RM} -fr ${WRKDIR}/tmp
54 54
55do-install: 55do-install:
56 cd ${DESTDIR}${PREFIX} && \ 56 cd ${DESTDIR}${PREFIX} && \
57 unzip ${WRKDIR}/result/linux-motif-x86-sdk.zip 57 unzip ${WRKDIR}/result/linux-motif-x86-sdk.zip
58 ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/eclipse > \ 58 ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/eclipse > \
59 ${WRKDIR}/.eclipse 59 ${WRKDIR}/.eclipse
60 ${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${DESTDIR}${PREFIX}/bin/eclipse 60 ${INSTALL_SCRIPT} ${WRKDIR}/.eclipse ${DESTDIR}${PREFIX}/bin/eclipse
61 61
 62# This is not right, but for the time being it's the path of least
 63# resistance, since replacing it after install is problematic and
 64# replacing it before install is even more problematic. XXX.
 65#
 66CHECK_INTERPRETER_SKIP+=eclipse/plugins/org.apache.ant_1.6.2/bin/antRun.pl
 67
62.include "../../mk/java-vm.mk" 68.include "../../mk/java-vm.mk"
63.include "../../mk/bsd.pkg.mk" 69.include "../../mk/bsd.pkg.mk"