mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Add ruby-gnustep, a Ruby interface to the GNUstep development
environment.
This commit is contained in:
parent
9769220263
commit
b645a3e9c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47829
@ -484,6 +484,7 @@
|
||||
SUBDIR += ruby-flex_rb
|
||||
SUBDIR += ruby-fnmatch
|
||||
SUBDIR += ruby-gemfinder
|
||||
SUBDIR += ruby-gnustep
|
||||
SUBDIR += ruby-intl
|
||||
SUBDIR += ruby-lapidary
|
||||
SUBDIR += ruby-libglade
|
||||
|
68
devel/ruby-gnustep/Makefile
Normal file
68
devel/ruby-gnustep/Makefile
Normal file
@ -0,0 +1,68 @@
|
||||
# New ports collection makefile for: Ruby/GNUstep
|
||||
# Date created: 14 September 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gnustep
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/libs/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
RUN_DEPENDS= ${GNUSTEP_PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make \
|
||||
${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc \
|
||||
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base \
|
||||
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui \
|
||||
${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
|
||||
|
||||
USE_RUBY= yes
|
||||
RUBY_WITH_PTHREAD= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
GNUSTEP_PREFIX= ${LOCALBASE}/GNUstep
|
||||
GNUSTEP_LOCAL_ROOT= ${GNUSTEP_PREFIX}/Local
|
||||
GNUSTEP_SYSTEM_ROOT= ${GNUSTEP_PREFIX}/System
|
||||
GNUSTEP_MAKEFILES= ${GNUSTEP_SYSTEM_ROOT}/Makefiles
|
||||
|
||||
SYSLIBDIR= ${GNUSTEP_PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L}
|
||||
COMBOLIBDIR= ${SYSLIBDIR}/gnu-gnu-gnu
|
||||
XGPSBUNDLEDIR= ${GNUSTEP_PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
GNU_ARCH= ix86
|
||||
.else
|
||||
GNU_ARCH= ${MACHINE_ARCH}
|
||||
.endif
|
||||
|
||||
MAKEFILE= GNUmakefile
|
||||
MAKE_ENV= GNUSTEP_LOCAL_ROOT=${GNUSTEP_LOCAL_ROOT} \
|
||||
GNUSTEP_SYSTEM_ROOT=${GNUSTEP_SYSTEM_ROOT} \
|
||||
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} \
|
||||
PATH=${PATH}:${GNUSTEP_SYSTEM_ROOT}/Tools
|
||||
PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L}
|
||||
NO_FILTER_SHLIBS= yes
|
||||
|
||||
post-patch:
|
||||
${RUBY} -i~ -pe 'gsub(/-lpthread/, "-pthread")' ${WRKSRC}/Source/${MAKEFILE}
|
||||
find ${WRKSRC}/ -type f | xargs ${RUBY} -i -pe 'gsub(/ ruby -/, " ${RUBY} -")'
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
${CP} -R ${WRKSRC}/Examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
|
||||
.for f in NEWS README TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
devel/ruby-gnustep/distinfo
Normal file
1
devel/ruby-gnustep/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/gnustep-ruby-0.1.0.tgz) = 65dbf910357c5849d308db3f5f8304c2
|
1
devel/ruby-gnustep/pkg-comment
Normal file
1
devel/ruby-gnustep/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A Ruby interface to the GNUstep development environment
|
6
devel/ruby-gnustep/pkg-descr
Normal file
6
devel/ruby-gnustep/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
Ruby/GNUstep (aka "RIGS") is a Ruby interface to the GNUstep
|
||||
development environment and indirectly to the Objective C language.
|
||||
It allows you to quickly prototype GNUstep applications from Ruby.
|
||||
|
||||
Author: Laurent Julliard <laurent@julliard-online.org>
|
||||
WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FGNUstep
|
34
devel/ruby-gnustep/pkg-plist
Normal file
34
devel/ruby-gnustep/pkg-plist
Normal file
@ -0,0 +1,34 @@
|
||||
%%RUBY_SITELIBDIR%%/rigs.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSArray.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSDictionary.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSMutableArray.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSMutableDictionary.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSMutableString.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSObject.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSSelector.rb
|
||||
%%RUBY_SITELIBDIR%%/rigs/NSString.rb
|
||||
@dirrm %%RUBY_SITELIBDIR%%/rigs
|
||||
GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0.1.0
|
||||
GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0
|
||||
GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so
|
||||
@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu 2> /dev/null || true
|
||||
@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%% 2> /dev/null || true
|
||||
@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%% 2> /dev/null || true
|
||||
@unexec /bin/rmdir %D/GNUstep/Local/Libraries 2> /dev/null || true
|
||||
@unexec /bin/rmdir %D/GNUstep/Local/Headers 2> /dev/null || true
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Base/Simple.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/FirstApp.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/FirstAppIcon.tiff
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/FirstAppInfo.plist
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/GNUmakefile
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/GNUmakefile.postamble
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp/fake.m
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnustep/Gui/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnustep/Base
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnustep/Gui/FirstApp
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnustep/Gui
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnustep
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnustep/NEWS
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnustep/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/gnustep/TODO
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnustep
|
Loading…
Reference in New Issue
Block a user