mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
f93306b52d
PR: ports/95309, ports/95308 Submitted by: Alexander Novitsky <alecn2002@yandex.ru> (maintainer)
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: FreeRIDE
|
|
# Date created: 16 June 2004
|
|
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME?= ${MASTERPORTNAME}
|
|
PORTVERSION= 0.9.5
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://rubyforge.lauschmusik.de/${MASTERPORTNAME}/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= alecn2002@yandex.ru
|
|
COMMENT?= Ruby Integrated Developement Environment written in Ruby
|
|
|
|
MASTERPORTNAME= freeride
|
|
DISTNAME= ${MASTERPORTNAME}-${PORTVERSION}
|
|
|
|
USE_RUBY= yes
|
|
NO_BUILD= yes
|
|
|
|
# IF >>>>>>
|
|
|
|
.if ${PORTNAME} == ${MASTERPORTNAME}
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/fox12.so:${PORTSDIR}/x11-toolkits/ruby-fox-devel \
|
|
${RUBY_SITELIBDIR}/freebase/freebase.rb:${PORTSDIR}/devel/freebase \
|
|
${RUBY_SITEARCHLIBDIR}/rrb_ripper.so:${PORTSDIR}/devel/ruby-rrb
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/install.rb ${WRKSRC}/
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; ${RUBY} install.rb --prefix=${PREFIX}
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${FILESDIR}/freeride ${PREFIX}/bin
|
|
${CHMOD} a+w ${RUBY_SITELIBDIR:S|${LOCALBASE}|${PREFIX}|g}/freeride/config
|
|
#
|
|
# For testing of installation, no real install
|
|
#
|
|
install-noharm: build pre-install
|
|
cd ${WRKSRC}; ${RUBY} install.rb --no-harm
|
|
.endif
|
|
|
|
# <<<<<< IF
|
|
|
|
.include <bsd.port.mk>
|