diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-05-27 08:05:52 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-05-27 08:05:52 +0000 |
commit | 09c683b6d7082eef936220b1249c802d7b856f86 (patch) | |
tree | 69fdd3e570fc24806db113ca4f60a1fe3bed972b /devel/radrails | |
parent | ee2482696d2f8002b9d9ba7f0ca42ab5e99bb93c (diff) | |
download | ports-09c683b6d7082eef936220b1249c802d7b856f86.tar.gz ports-09c683b6d7082eef936220b1249c802d7b856f86.zip |
Notes
Diffstat (limited to 'devel/radrails')
-rw-r--r-- | devel/radrails/Makefile | 69 | ||||
-rw-r--r-- | devel/radrails/distinfo | 3 | ||||
-rw-r--r-- | devel/radrails/files/radrails.sh | 1 | ||||
-rw-r--r-- | devel/radrails/pkg-descr | 16 | ||||
-rw-r--r-- | devel/radrails/pkg-plist | 1 |
5 files changed, 90 insertions, 0 deletions
diff --git a/devel/radrails/Makefile b/devel/radrails/Makefile new file mode 100644 index 000000000000..683a78e4985a --- /dev/null +++ b/devel/radrails/Makefile @@ -0,0 +1,69 @@ +# New ports collection makefile for: radrails +# Date created: 2006-04-13 +# Whom: Alexander Novitsky <alecn2002@yandex.ru> +# +# $FreeBSD$ +# + +PORTNAME= radrails +PORTVERSION= 0.6.2 +CATEGORIES= devel ruby java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-linux + +MAINTAINER= alecn2002@yandex.ru +COMMENT= IDE for Ruby On Rails + +RUN_DEPENDS= ${LINUXBASE}/usr/bin/gtk-demo:${PORTSDIR}/x11-toolkits/linux-gtk2 \ + ${LOCALBASE}/bin/rails:${PORTSDIR}/www/rubygem-rails + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_ZIP= yes + +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 +USE_LINUX= yes +USE_JAVA= yes +JAVA_VERSION= 1.4+ +JAVA_OS= linux +PLIST= ${WRKDIR}/PLIST + +ICONDIR= icons +ICON= ${ICONDIR}/radrails.png + +DESKTOP_ENTRIES= \ + "RADRails" \ + "Integrated Developement Environment for Ruby On Rails" \ + "${DATADIR}/${ICON}" \ + "radrails" \ + "Development;IDE;" \ + true + +FIND_ARGS= -s -d . + +.include <bsd.port.pre.mk> + +do-configure: + +pre-install: + (cd ${WRKDIR}; jar -xf ${WRKSRC}/plugins/org.radrails.ide.ui_${PORTVERSION}.jar ${ICON}) + ${ECHO} "%%DATADIR%%/${ICON}" >> ${PLIST} + ${CP} ${FILESDIR}/radrails.sh ${WRKDIR}/radrails.sh + ${REINPLACE_CMD} -E -e "s|%%DATADIR%%|${DATADIR}|g; s|%%JAVA%%|${JAVA}|g" ${WRKDIR}/radrails.sh + ${ECHO} "bin/radrails" >> ${PLIST} + ( cd ${WRKSRC} ; \ + ${FIND} ${FIND_ARGS} -type f | ${SED} 's|^|%%DATADIR%%/|g' >> ${PLIST} ; \ + ${FIND} ${FIND_ARGS} -type d -and -not -name '.' | ${SED} 's|^|@dirrm %%DATADIR%%/|g' >> ${PLIST} ) + ${ECHO} "@dirrm %%DATADIR%%/${ICONDIR}" >>${PLIST} + ${ECHO} '@dirrm %%DATADIR%%' >> ${PLIST} + +do-install: + ${MKDIR} ${DATADIR} + ( cd ${WRKSRC} ; ${CP} -Rv `ls -a | ${EGREP} -v '^\.{1,2}$$'` ${DATADIR}/ ) + ${MKDIR} ${DATADIR}/${ICONDIR} + ${INSTALL_DATA} ${WRKDIR}/${ICON} ${DATADIR}/${ICON} + ${INSTALL_SCRIPT} ${WRKDIR}/radrails.sh ${PREFIX}/bin/radrails + +.include <bsd.port.post.mk> diff --git a/devel/radrails/distinfo b/devel/radrails/distinfo new file mode 100644 index 000000000000..3c0fd62ab7a4 --- /dev/null +++ b/devel/radrails/distinfo @@ -0,0 +1,3 @@ +MD5 (radrails-0.6.2-linux.zip) = 819386b0c41bbd2a2f53cd2d1b51e9c4 +SHA256 (radrails-0.6.2-linux.zip) = b5404948f4bdd91a5d239e06b8ff2ffaf6d6bc7c3d5787869fadbd63a2808c3d +SIZE (radrails-0.6.2-linux.zip) = 38984470 diff --git a/devel/radrails/files/radrails.sh b/devel/radrails/files/radrails.sh new file mode 100644 index 000000000000..5a728c1c6d88 --- /dev/null +++ b/devel/radrails/files/radrails.sh @@ -0,0 +1 @@ +%%JAVA%% -jar %%DATADIR%%/startup.jar -os linux -ws gtk -launcher %%DATADIR%%/radrails -name Radrails -showsplash 600 diff --git a/devel/radrails/pkg-descr b/devel/radrails/pkg-descr new file mode 100644 index 000000000000..f58962976964 --- /dev/null +++ b/devel/radrails/pkg-descr @@ -0,0 +1,16 @@ +RadRails is an integrated development environment for the +Ruby on Rails framework. +The goal of this project is to provide Rails developers +with everything they need to develop, manage, +test and deploy their applications. +Features include source control, debugging, WEBrick servers, +generator wizards, syntax highlighting, data tools and much much more. +The RadRails IDE is built on the Eclipse RCP, and includes the +Subclipse plug-in and the RDT plug-ins. +The RadRails tools are also available as Eclipse plug-ins. + +Author: Kyle Shank (kyle at radrails dot org) +Author: Marc Baumbach (marc at radrails dot org) +Author: Matt Kent (matt at radrails dot org) +Author: Andy Gianfagna +WWW: http://www.radrails.org/ diff --git a/devel/radrails/pkg-plist b/devel/radrails/pkg-plist new file mode 100644 index 000000000000..8fb5cc4556d5 --- /dev/null +++ b/devel/radrails/pkg-plist @@ -0,0 +1 @@ +@comment $FreeBSD$ |