diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2007-12-22 14:23:42 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2007-12-22 14:23:42 +0000 |
commit | 26edf005bf185cb8b458f5112d026fa78d747f34 (patch) | |
tree | a1e17ae4fd82f54b2d3e9817efd47fa54e7b1223 /java | |
parent | 5887db87adea0174b32ac71dc19597b069481a17 (diff) | |
download | ports-26edf005bf185cb8b458f5112d026fa78d747f34.tar.gz ports-26edf005bf185cb8b458f5112d026fa78d747f34.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/eclipse-aptana/Makefile | 54 | ||||
-rw-r--r-- | java/eclipse-aptana/distinfo | 3 | ||||
-rw-r--r-- | java/eclipse-aptana/pkg-descr | 6 | ||||
-rw-r--r-- | java/eclipse-aptana2/Makefile | 54 | ||||
-rw-r--r-- | java/eclipse-aptana2/distinfo | 3 | ||||
-rw-r--r-- | java/eclipse-aptana2/pkg-descr | 6 |
7 files changed, 127 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index 2063eae379e3..85364a200b04 100644 --- a/java/Makefile +++ b/java/Makefile @@ -21,6 +21,7 @@ SUBDIR += ecj-bootstrap SUBDIR += eclipse SUBDIR += eclipse-EPIC + SUBDIR += eclipse-aptana SUBDIR += eclipse-cdt SUBDIR += eclipse-checkstyle SUBDIR += eclipse-clay-core diff --git a/java/eclipse-aptana/Makefile b/java/eclipse-aptana/Makefile new file mode 100644 index 000000000000..6ce30cfd0c3c --- /dev/null +++ b/java/eclipse-aptana/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: eclipse-aptana +# Date created: 2007-11-14 +# Whom: Nicola Vitale <nivit@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= aptana +PORTVERSION= 004323 +CATEGORIES= java devel +MASTER_SITES= http://update.aptana.com/install/${ECLIPSE_VER}/ +PKGNAMEPREFIX= eclipse- +DISTNAME= aptana_update_${PORTVERSION} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Aptana Web Development Tools (Eclipse plugin) + +RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse + +ECLIPSE_VER= 3.2 + +JAVA_OS= native +JAVA_VENDOR= bsdjava +JAVA_VERSION= 1.5+ + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +USE_JAVA= yes +USE_ZIP= yes + +post-extract: + @cd ${WRKDIR}; \ + ${MKDIR} ${WRKDIR}/eclipse; \ + DIRS=$$(${FIND} . -type d -mindepth 1 -not -name eclipse); \ + for DIR in $${DIRS}; do \ + FILES=$$(${FIND} $${DIR} -type f -name "*.jar"); \ + ${MKDIR} ${WRKDIR}/eclipse/$${DIR}; \ + for FILE in $${FILES}; do \ + JARDIR=$$(${BASENAME} $${DIR})/$$(${BASENAME} $${FILE} .jar); \ + ${UNZIP_CMD} -o $${FILE} -d ${WRKDIR}/eclipse/$${JARDIR}; \ + done; \ + done; + +do-install: + @cd ${WRKDIR} && ${CP} -R eclipse ${PREFIX}/; + +post-install: + @cd ${WRKDIR}; \ + ${ECHO_CMD} "@comment pkg-plist automatically generated" >> ${TMPPLIST}; \ + ${FIND} -s eclipse -type f -exec ${ECHO_CMD} {} ";" >> ${TMPPLIST}; \ + ${FIND} -s eclipse -type d | ${SORT} -r | ${GREP} -vE '^eclipse$$|^eclipse/plugins$$|^eclipse/features$$' | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}; + +.include <bsd.port.mk> diff --git a/java/eclipse-aptana/distinfo b/java/eclipse-aptana/distinfo new file mode 100644 index 000000000000..7ccd960eea7c --- /dev/null +++ b/java/eclipse-aptana/distinfo @@ -0,0 +1,3 @@ +MD5 (aptana_update_004323.zip) = a92fa2f861916364694b721b7bbaa0b9 +SHA256 (aptana_update_004323.zip) = f877afe6d2f2c9ca81fe15da46746cb94d7e0e30bce318ff29d32e4fe2b2bd97 +SIZE (aptana_update_004323.zip) = 69177423 diff --git a/java/eclipse-aptana/pkg-descr b/java/eclipse-aptana/pkg-descr new file mode 100644 index 000000000000..8dd2e85b0220 --- /dev/null +++ b/java/eclipse-aptana/pkg-descr @@ -0,0 +1,6 @@ +Aptana Studio is an IDE, designed for web developers and provides +robust support for HTML, CSS and Javascript (bundled libraries: +ExtJS, jQuery, Mochikit, Scriptaculous, Adobe Spry, YUI, Prototype, +and Dojo). This is the plug-in for Eclipse. + +WWW: http://www.aptana.com/ diff --git a/java/eclipse-aptana2/Makefile b/java/eclipse-aptana2/Makefile new file mode 100644 index 000000000000..6ce30cfd0c3c --- /dev/null +++ b/java/eclipse-aptana2/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: eclipse-aptana +# Date created: 2007-11-14 +# Whom: Nicola Vitale <nivit@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= aptana +PORTVERSION= 004323 +CATEGORIES= java devel +MASTER_SITES= http://update.aptana.com/install/${ECLIPSE_VER}/ +PKGNAMEPREFIX= eclipse- +DISTNAME= aptana_update_${PORTVERSION} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Aptana Web Development Tools (Eclipse plugin) + +RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse + +ECLIPSE_VER= 3.2 + +JAVA_OS= native +JAVA_VENDOR= bsdjava +JAVA_VERSION= 1.5+ + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +USE_JAVA= yes +USE_ZIP= yes + +post-extract: + @cd ${WRKDIR}; \ + ${MKDIR} ${WRKDIR}/eclipse; \ + DIRS=$$(${FIND} . -type d -mindepth 1 -not -name eclipse); \ + for DIR in $${DIRS}; do \ + FILES=$$(${FIND} $${DIR} -type f -name "*.jar"); \ + ${MKDIR} ${WRKDIR}/eclipse/$${DIR}; \ + for FILE in $${FILES}; do \ + JARDIR=$$(${BASENAME} $${DIR})/$$(${BASENAME} $${FILE} .jar); \ + ${UNZIP_CMD} -o $${FILE} -d ${WRKDIR}/eclipse/$${JARDIR}; \ + done; \ + done; + +do-install: + @cd ${WRKDIR} && ${CP} -R eclipse ${PREFIX}/; + +post-install: + @cd ${WRKDIR}; \ + ${ECHO_CMD} "@comment pkg-plist automatically generated" >> ${TMPPLIST}; \ + ${FIND} -s eclipse -type f -exec ${ECHO_CMD} {} ";" >> ${TMPPLIST}; \ + ${FIND} -s eclipse -type d | ${SORT} -r | ${GREP} -vE '^eclipse$$|^eclipse/plugins$$|^eclipse/features$$' | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}; + +.include <bsd.port.mk> diff --git a/java/eclipse-aptana2/distinfo b/java/eclipse-aptana2/distinfo new file mode 100644 index 000000000000..7ccd960eea7c --- /dev/null +++ b/java/eclipse-aptana2/distinfo @@ -0,0 +1,3 @@ +MD5 (aptana_update_004323.zip) = a92fa2f861916364694b721b7bbaa0b9 +SHA256 (aptana_update_004323.zip) = f877afe6d2f2c9ca81fe15da46746cb94d7e0e30bce318ff29d32e4fe2b2bd97 +SIZE (aptana_update_004323.zip) = 69177423 diff --git a/java/eclipse-aptana2/pkg-descr b/java/eclipse-aptana2/pkg-descr new file mode 100644 index 000000000000..8dd2e85b0220 --- /dev/null +++ b/java/eclipse-aptana2/pkg-descr @@ -0,0 +1,6 @@ +Aptana Studio is an IDE, designed for web developers and provides +robust support for HTML, CSS and Javascript (bundled libraries: +ExtJS, jQuery, Mochikit, Scriptaculous, Adobe Spry, YUI, Prototype, +and Dojo). This is the plug-in for Eclipse. + +WWW: http://www.aptana.com/ |