ports/96405: [NEW PORT] devel/radrails: IDE for Ruby On Rails

alecn2002 alecn2002 at yandex.ru
Thu Apr 27 09:50:17 UTC 2006


>Number:         96405
>Category:       ports
>Synopsis:       [NEW PORT] devel/radrails: IDE for Ruby On Rails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 09:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Novitsky
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
IPOnWeb
>Environment:
System: FreeBSD rubyhosting.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Jan 11 02:22:02 MSK 2006
>Description:
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/

Generated with FreeBSD Port Tools 0.63

I've added 'ONLY_FOR_ARCHS=i386' option because:
   1. It has i386 Linux binary 'radrails'
   2. It has '-arch x86' option in startup script
>From the other hands, this is Java app, and
'radrails' binary is used for splashscreen only.

Unfortunately I'm unable to test it under archs other then i386.
If somebody could try it on other archs and change ONLY_FOR_ARCHS accordingly...

>How-To-Repeat:
>Fix:

--- radrails-0.6.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	radrails
#	radrails/pkg-descr
#	radrails/Makefile
#	radrails/pkg-plist
#	radrails/distinfo
#	radrails/files
#	radrails/files/radrails.sh
#
echo c - radrails
mkdir -p radrails > /dev/null 2>&1
echo x - radrails/pkg-descr
sed 's/^X//' >radrails/pkg-descr << 'END-of-radrails/pkg-descr'
XRadRails is an integrated development environment for the
XRuby on Rails framework.
XThe goal of this project is to provide Rails developers
Xwith everything they need to develop, manage,
Xtest and deploy their applications.
XFeatures include source control, debugging, WEBrick servers,
Xgenerator wizards, syntax highlighting, data tools and much much more.
XThe RadRails IDE is built on the Eclipse RCP, and includes the
XSubclipse plug-in and the RDT plug-ins.
XThe RadRails tools are also available as Eclipse plug-ins.
X
XAuthor:	Kyle Shank (kyle at radrails dot org)
XAuthor: Marc Baumbach (marc at radrails dot org)
XAuthor: Matt Kent (matt at radrails dot org)
XAuthor: Andy Gianfagna
XWWW:	http://www.radrails.org/
END-of-radrails/pkg-descr
echo x - radrails/Makefile
sed 's/^X//' >radrails/Makefile << 'END-of-radrails/Makefile'
X# New ports collection makefile for:	radrails
X# Date created:		2006-04-13
X# Whom:			Alexander Novitsky <alecn2002 at yandex.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	radrails
XPORTVERSION=	0.6.2
X#PORTREVISION=	0
X#PORTEPOCH=	0
XCATEGORIES=	devel ruby java
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X#PKGNAMEPREFIX=
X#PKGNAMESUFFIX=
XDISTNAME=	${PORTNAME}-${PORTVERSION}-linux
X#EXTRACT_SUFX=
X#DISTFILES=
X#DIST_SUBDIR=	${PORTNAME}
X#EXTRACT_ONLY=
X
XMAINTAINER=	alecn2002 at yandex.ru
XCOMMENT=	IDE for Ruby On Rails
X
XRUN_DEPENDS=	${LINUXBASE}/usr/bin/gtk-demo:${PORTSDIR}/x11-toolkits/linux-gtk2 \
X				${LOCALBASE}/bin/rails:${PORTSDIR}/www/rubygem-rails
X
XWRKSRC=	${WRKDIR}/${PORTNAME}
X
XUSE_ZIP=	yes
X
XNO_BUILD=	yes
XONLY_FOR_ARCHS=	i386
XUSE_LINUX=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.4+
XJAVA_OS=	linux
XPLIST=	${WRKDIR}/PLIST
X
XFIND_ARGS=	-s -d .
X
X.include <bsd.port.pre.mk>
X
Xdo-configure:
X
Xpre-install:
X	${CP} ${FILESDIR}/radrails.sh ${WRKDIR}/radrails.sh
X	${REINPLACE_CMD} -E -e "s|%%DATADIR%%|${DATADIR}|g; s|%%JAVA%%|${JAVA}|g" ${WRKDIR}/radrails.sh
X	${ECHO} "bin/radrails" > ${PLIST}
X	( cd ${WRKSRC} ; \
X	  ${FIND} ${FIND_ARGS} -type f | ${SED} 's|^|%%DATADIR%%/|g' >> ${PLIST} ; \
X	  ${FIND} ${FIND_ARGS} -type d -and -not -name '.' | ${SED} 's|^|@dirrm %%DATADIR%%/|g' >> ${PLIST} )
X	echo '@dirrm %%DATADIR%%' >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X# 	( cd ${WRKSRC} ; \
X# 	  ${FIND} ${FIND_ARGS} -type d | ${SED} 's|^\.\/|${DATADIR}/|g' | ${XARGS} ${MKDIR} ; \
X# 	  ${FIND} ${FIND_ARGS} -type f |  ${SED} 's|^.*$$|"${WRKSRC}/& ${DATADIR}/&"|g' | ${XARGS} ${INSTALL_SCRIPT} )
X	( cd ${WRKSRC} ; ${CP} -Rv `ls -a | ${EGREP} -v '^\.{1,2}$$'` ${DATADIR}/ )
X	${INSTALL_SCRIPT} ${WRKDIR}/radrails.sh ${PREFIX}/bin/radrails
X
X.include <bsd.port.post.mk>
END-of-radrails/Makefile
echo x - radrails/pkg-plist
sed 's/^X//' >radrails/pkg-plist << 'END-of-radrails/pkg-plist'
X at comment $FreeBSD$
END-of-radrails/pkg-plist
echo x - radrails/distinfo
sed 's/^X//' >radrails/distinfo << 'END-of-radrails/distinfo'
XMD5 (radrails-0.6.2-linux.zip) = 819386b0c41bbd2a2f53cd2d1b51e9c4
XSHA256 (radrails-0.6.2-linux.zip) = b5404948f4bdd91a5d239e06b8ff2ffaf6d6bc7c3d5787869fadbd63a2808c3d
XSIZE (radrails-0.6.2-linux.zip) = 38984470
END-of-radrails/distinfo
echo c - radrails/files
mkdir -p radrails/files > /dev/null 2>&1
echo x - radrails/files/radrails.sh
sed 's/^X//' >radrails/files/radrails.sh << 'END-of-radrails/files/radrails.sh'
X%%JAVA%% -jar %%DATADIR%%/startup.jar -os linux -ws gtk -launcher %%DATADIR%%/radrails -name Radrails -showsplash 600
END-of-radrails/files/radrails.sh
exit
--- radrails-0.6.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list