diff options
author | knu <knu@FreeBSD.org> | 2001-09-14 19:55:27 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-09-14 19:55:27 +0800 |
commit | 825b808f719deb58e62b37c2d2bd4f5fc9edc09b (patch) | |
tree | ff58b41dec6db8b85f799ab33d925b82d1913ca1 /devel | |
parent | 6e63c61389f9a1adf0650e848c15b10957c5066c (diff) | |
download | freebsd-ports-gnome-825b808f719deb58e62b37c2d2bd4f5fc9edc09b.tar.gz freebsd-ports-gnome-825b808f719deb58e62b37c2d2bd4f5fc9edc09b.tar.zst freebsd-ports-gnome-825b808f719deb58e62b37c2d2bd4f5fc9edc09b.zip |
Add ruby-gnustep, a Ruby interface to the GNUstep development
environment.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-gnustep/Makefile | 68 | ||||
-rw-r--r-- | devel/ruby-gnustep/distinfo | 1 | ||||
-rw-r--r-- | devel/ruby-gnustep/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ruby-gnustep/pkg-descr | 6 | ||||
-rw-r--r-- | devel/ruby-gnustep/pkg-plist | 34 |
6 files changed, 111 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 75d6f5313150..0fe80c068e2b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/ruby-gnustep/Makefile b/devel/ruby-gnustep/Makefile new file mode 100644 index 000000000000..868324557b73 --- /dev/null +++ b/devel/ruby-gnustep/Makefile @@ -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> diff --git a/devel/ruby-gnustep/distinfo b/devel/ruby-gnustep/distinfo new file mode 100644 index 000000000000..3dc1bc280008 --- /dev/null +++ b/devel/ruby-gnustep/distinfo @@ -0,0 +1 @@ +MD5 (ruby/gnustep-ruby-0.1.0.tgz) = 65dbf910357c5849d308db3f5f8304c2 diff --git a/devel/ruby-gnustep/pkg-comment b/devel/ruby-gnustep/pkg-comment new file mode 100644 index 000000000000..362739063ac0 --- /dev/null +++ b/devel/ruby-gnustep/pkg-comment @@ -0,0 +1 @@ +A Ruby interface to the GNUstep development environment diff --git a/devel/ruby-gnustep/pkg-descr b/devel/ruby-gnustep/pkg-descr new file mode 100644 index 000000000000..bbe24a874f60 --- /dev/null +++ b/devel/ruby-gnustep/pkg-descr @@ -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 diff --git a/devel/ruby-gnustep/pkg-plist b/devel/ruby-gnustep/pkg-plist new file mode 100644 index 000000000000..cac046d145be --- /dev/null +++ b/devel/ruby-gnustep/pkg-plist @@ -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 |