diff options
author | sem <sem@FreeBSD.org> | 2005-11-09 18:45:36 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-11-09 18:45:36 +0800 |
commit | 81ec8a93ee27c4147f085b3d0bcc609f23927673 (patch) | |
tree | 7c2c65d6d338c229c42595632e68cdced15a5bba /devel/freebase | |
parent | 18ce4fd209645e1d1d63e0ef669d1173b19d6f81 (diff) | |
download | freebsd-ports-gnome-81ec8a93ee27c4147f085b3d0bcc609f23927673.tar.gz freebsd-ports-gnome-81ec8a93ee27c4147f085b3d0bcc609f23927673.tar.zst freebsd-ports-gnome-81ec8a93ee27c4147f085b3d0bcc609f23927673.zip |
- Split on master/slave.
- Fix fetching.
- Reworked installation script to accept --prefix option.
PR: ports/87365, ports/87366
Submitted by: maintainer
Diffstat (limited to 'devel/freebase')
-rw-r--r-- | devel/freebase/Makefile | 16 | ||||
-rw-r--r-- | devel/freebase/files/patch-freebase_bin_install.rb (renamed from devel/freebase/files/patch-freebase:bin:install.rb) | 12 |
2 files changed, 15 insertions, 13 deletions
diff --git a/devel/freebase/Makefile b/devel/freebase/Makefile index 40eac80ab22b..9001260d6949 100644 --- a/devel/freebase/Makefile +++ b/devel/freebase/Makefile @@ -6,22 +6,18 @@ # PORTNAME= freebase -PORTVERSION= 0.9.4 -CATEGORIES= devel ruby -MASTER_SITES= http://rubyforge.org/frs/download.php/3931/ -PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= freeride-${PORTVERSION} -DIST_SUBDIR= ruby +PORTREVISION= 1 -MAINTAINER= alecn2002@yandex.ru COMMENT= Plugin subsystem of FreeRIDE WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME} -USE_RUBY= yes -NO_BUILD= yes +MASTERDIR= ${.CURDIR}/../freeride +FILESDIR= ${.CURDIR}/files +PATCHDIR= ${FILESDIR} +PLIST= ${.CURDIR}/pkg-plist do-install: cd ${WRKSRC}; ${RUBY} bin/install.rb --prefix=${PREFIX} -.include <bsd.port.mk> +.include "${MASTERDIR}/Makefile" diff --git a/devel/freebase/files/patch-freebase:bin:install.rb b/devel/freebase/files/patch-freebase_bin_install.rb index 691d0ad5d772..e2cf68b0eaf0 100644 --- a/devel/freebase/files/patch-freebase:bin:install.rb +++ b/devel/freebase/files/patch-freebase_bin_install.rb @@ -1,6 +1,6 @@ --- bin/install.rb.orig Mon Mar 24 07:10:57 2003 -+++ bin/install.rb Mon Feb 21 18:38:00 2005 -@@ -1,21 +1,40 @@ ++++ bin/install.rb Thu Oct 13 12:05:17 2005 +@@ -1,21 +1,39 @@ require 'rbconfig' require 'find' require 'ftools' @@ -34,7 +34,6 @@ -$srcdir = CONFIG["srcdir"] +$prefix = CONFIG["prefix"] -+$srcdir = prefixize( CONFIG["srcdir"] ) $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"] -$libdir = File.join(CONFIG["libdir"], "ruby", $version) -$archdir = File.join($libdir, CONFIG["arch"]) @@ -50,3 +49,10 @@ def install_rb(srcdir = nil) libdir = "lib" +@@ -39,4 +57,4 @@ + end + end + +-install_rb +\ No newline at end of file ++install_rb |