diff options
author | nivit <nivit@FreeBSD.org> | 2007-12-22 22:23:42 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2007-12-22 22:23:42 +0800 |
commit | de14ce0c7296e458f8d3452bf923f806b6d8bb4a (patch) | |
tree | 1861d74f22e8a633f582280831fd93032d201d9b /java/eclipse-aptana2/Makefile | |
parent | edb1f7ad1747c913d46aeb382f5e28d6ea1c4000 (diff) | |
download | freebsd-ports-gnome-de14ce0c7296e458f8d3452bf923f806b6d8bb4a.tar.gz freebsd-ports-gnome-de14ce0c7296e458f8d3452bf923f806b6d8bb4a.tar.zst freebsd-ports-gnome-de14ce0c7296e458f8d3452bf923f806b6d8bb4a.zip |
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/
Diffstat (limited to 'java/eclipse-aptana2/Makefile')
-rw-r--r-- | java/eclipse-aptana2/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
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> |