Added devel/ruby-kgio, www/ruby-raindrops and www/ruby-unicorn

This commit is contained in:
Filip Hajny 2012-02-06 12:41:36 +00:00 committed by Thomas Klausner
parent 41d7d4082e
commit acacca53d6
7 changed files with 34 additions and 18 deletions

View file

@ -1,6 +1,6 @@
#! /bin/sh
#! /bin/bash
#
# $Id: import-package.sh,v 1.3 2008/03/28 02:51:46 tnn2 Exp $
# $Id: import-package.sh,v 1.4 2012/02/06 12:41:36 fhajny Exp $
#
# Script designed to make initial imports into wip easier.
#

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2012/01/23 14:04:24 fhajny Exp $
# $NetBSD: Makefile,v 1.5 2012/02/06 12:41:36 fhajny Exp $
#
DISTNAME= riak-1.0.3
@ -65,6 +65,11 @@ REPLACE_FILES.escript+= ${WRKDIR}/innostore-${INNOVER}/priv/innoload
CHECK_PORTABILITY_SKIP+= tests/riak_search/run_all.sh
INSTALL_ENV+= REPO=riak
INSTALL_ENV+= REVISION=${PKGVERSION_NOREV}
INSTALL_ENV+= OPSYS=${OPSYS}
INSTALL_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
post-extract:
${CHMOD} -R u=rwX,g=rX,o=rX ${WRKDIR}/innostore-${INNOVER}
cp ${FILESDIR}/disable_visibility_on_sun.patch \

View file

@ -1,4 +1,7 @@
@comment $NetBSD: PLIST,v 1.4 2012/01/23 14:04:24 fhajny Exp $
@comment $NetBSD: PLIST,v 1.5 2012/02/06 12:41:36 fhajny Exp $
man/man1/riak-admin.1
man/man1/riak.1
man/man1/search-cmd.1
riak/erts-5.8.5/bin/beam
riak/erts-5.8.5/bin/beam.smp
riak/erts-5.8.5/bin/child_setup

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.5 2012/01/23 14:04:24 fhajny Exp $
$NetBSD: distinfo,v 1.6 2012/02/06 12:41:36 fhajny Exp $
SHA1 (innostore-1.0.3.tar.gz) = 4b2c883ae454aae7bee9b79d4b479f0040c4e104
RMD160 (innostore-1.0.3.tar.gz) = be4134c2176dbc8078f120767c8bb14b4a346928
@ -9,9 +9,9 @@ Size (riak-1.0.3.tar.gz) = 8902174 bytes
SHA1 (patch-__innostore-1.0.3__rebar.config) = 809025397932bd53b7fd433187721e53e7c7b7e5
SHA1 (patch-deps__ebloom__rebar.config) = 02dcb813fc5853ad7d321231ddcec58c349ab6ca
SHA1 (patch-deps__erlang_js__c_src__Makefile) = 0bbf2572e377218394a3ee2c06a05ce64ff3128e
SHA1 (patch-package__Makefile) = 789b7da173addf076ab5de30dc718031feaeef96
SHA1 (patch-package__Makefile) = 5c9cd69538b56d9ad8c6f80c9f00b7fe3eebc82c
SHA1 (patch-rebar.config) = 861d3159da5489fd30995ea0ca6aa1dd3b845547
SHA1 (patch-rel__files__app.config) = 6af20d11cd68c29fcb2175d8838e3b93cd54929a
SHA1 (patch-rel__files__riak) = 2fee6c5e4c6fa11e89c5d9f432a7a51619924bec
SHA1 (patch-rel__files__riak-admin) = ae90938e0e67f9241eb5285ef14393c28a1bf50b
SHA1 (patch-rel__vars.config) = 6b1dc9c415ac31e6b1657e03b17442de113cc0b4
SHA1 (patch-rel__vars.config) = b75086ed0a250858b2c1ac3b55b5c5719ecf8fab

View file

@ -1,13 +1,19 @@
# $NetBSD: Makefile,v 1.2 2012/01/23 14:04:25 fhajny Exp $
# $NetBSD: Makefile,v 1.3 2012/02/06 12:41:36 fhajny Exp $
# requires GNU make
DEST=$(DESTDIR)$(PREFIX)
build:
$(BSD_INSTALL_PROGRAM_DIR) ${DEST}/sbin
$(BSD_INSTALL_SCRIPT) ${RIAK_PATH}/rel/riak/bin/riak ${DEST}/sbin
sed "/RIAK_VERSION/s/git/${VERSIONSTRING}/" ${RIAK_PATH}/rel/riak/bin/riak \
> ${RIAK_PATH}/rel/riak/bin/riak.tmp
$(BSD_INSTALL_SCRIPT) ${RIAK_PATH}/rel/riak/bin/riak.tmp ${DEST}/sbin/riak
$(BSD_INSTALL_SCRIPT) ${RIAK_PATH}/rel/riak/bin/riak-admin ${DEST}/sbin
$(BSD_INSTALL_SCRIPT) ${RIAK_PATH}/rel/riak/bin/search-cmd ${DEST}/sbin
$(BSD_INSTALL_MAN_DIR) ${DEST}/$(PKGMANDIR)/man1
$(BSD_INSTALL_MAN) ${RIAK_PATH}/doc/man/man1/riak.1.gz ${DEST}/$(PKGMANDIR)/man1
$(BSD_INSTALL_MAN) ${RIAK_PATH}/doc/man/man1/riak-admin.1.gz ${DEST}/$(PKGMANDIR)/man1
$(BSD_INSTALL_MAN) ${RIAK_PATH}/doc/man/man1/search-cmd.1.gz ${DEST}/$(PKGMANDIR)/man1
$(BSD_INSTALL_DATA_DIR) ${DEST}/share/examples/riak
$(BSD_INSTALL_DATA) ${RIAK_PATH}/rel/riak/etc/app.config ${DEST}/share/examples/riak
$(BSD_INSTALL_DATA) ${RIAK_PATH}/rel/riak/etc/vm.args ${DEST}/share/examples/riak

View file

@ -1,9 +1,8 @@
$NetBSD: patch-package__Makefile,v 1.2 2011/12/05 11:34:37 fhajny Exp $
$NetBSD: patch-package__Makefile,v 1.3 2012/02/06 12:41:36 fhajny Exp $
Provide a pkgsrc install target.
--- package/Makefile.orig 2011-11-17 20:17:47.000000000 +0000
--- package/Makefile.orig 2012-01-13 18:18:59.000000000 +0000
+++ package/Makefile
@@ -1,34 +1,9 @@
@@ -1,37 +1,11 @@
OS = $(shell uname -s)
KERNEL = $(shell uname -r)
ERLANG_BIN = $(shell dirname $(shell which erl))
@ -22,7 +21,6 @@ Provide a pkgsrc install target.
-endif
-ifeq ($(OS),SunOS)
-ARCH = $(shell uname -p)
+ARCH = $(MACHINE_ARCH)
PKGER = make
-PKGERDIR = solaris
-DISTRO = $(shell head -1 /etc/release|awk \
@ -39,8 +37,12 @@ Provide a pkgsrc install target.
+PKGERDIR = pkgsrc
DATE = $(shell date +%Y-%m-%d)
VERSIONSTRING = $(APP) ($(REVISION) $(DATE)) $(OSNAME) $(ARCH)
@@ -50,6 +25,6 @@ pkgcheck:
-VERSIONSTRING = $(APP) ($(REVISION) $(DATE)) $(OSNAME) $(ARCH)
+VERSIONSTRING = $(APP) ($(REVISION) $(DATE)) $(OPSYS) $(MACHINE_ARCH)
APP = $(shell echo "$(REPO)" | sed -e 's/_/-/g')
# Assumes CURDIR is .../$(APP)/package/$(APP)/
@@ -50,6 +24,6 @@ pkgcheck:
@echo "Packaging \"$(RIAK_TAG)\""
# The heavy lifting is done by the individual packager Makefiles

View file

@ -1,4 +1,4 @@
$NetBSD: patch-rel__vars.config,v 1.3 2012/01/23 14:04:25 fhajny Exp $
$NetBSD: patch-rel__vars.config,v 1.4 2012/02/06 12:41:36 fhajny Exp $
Provide pkgsrc-compatible default locations.
--- rel/vars.config.orig 2012-01-13 18:18:59.000000000 +0000
@ -10,7 +10,7 @@ Provide pkgsrc-compatible default locations.
-{platform_bin_dir, "./bin"}.
-{platform_data_dir, "./data"}.
-{platform_etc_dir, "./etc"}.
+{platform_bin_dir, "@PREFIX@/bin"}.
+{platform_bin_dir, "@PREFIX@/sbin"}.
+{platform_data_dir, "@RIAK_DATA@"}.
+{platform_etc_dir, "@PKG_SYSCONFDIR@"}.
{platform_lib_dir, "./lib"}.