aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-gdbm/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-24 03:17:22 +0800
committerknu <knu@FreeBSD.org>2000-08-24 03:17:22 +0800
commit95261f66b90d10cbd7d55151252eba9b007dd9d5 (patch)
treeaadf61b95502e4c81ff5963fcf4160a9dc7d2d4c /databases/ruby-gdbm/Makefile
parentd740f1377cf10b4fe7f2eebee38b140d81de1c40 (diff)
downloadfreebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.tar.gz
freebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.tar.zst
freebsd-ports-gnome-95261f66b90d10cbd7d55151252eba9b007dd9d5.zip
Add ruby-gdbm, a Ruby extension to GDBM library.
Diffstat (limited to 'databases/ruby-gdbm/Makefile')
-rw-r--r--databases/ruby-gdbm/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile
new file mode 100644
index 000000000000..524063a13189
--- /dev/null
+++ b/databases/ruby-gdbm/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: ruby-gdbm
+# Date created: 24 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gdbm
+PORTVERSION= 1.4.6
+CATEGORIES= databases ruby
+MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
+ ftp://ftp.iij.ad.jp/pub/lang/ruby/${BRANCH_NAME}/ \
+ ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/${BRANCH_NAME}/ \
+ ftp://ftp.krnet.ne.jp/pub/ruby/${BRANCH_NAME}/ \
+ ftp://mirror.nucba.ac.jp/mirror/ruby/${BRANCH_NAME}/
+PKGNAMEPREFIX= ruby-
+DISTNAME= ruby-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/ext/gdbm
+CONFIGURE_ARGS= --with-opt-dir="${PREFIX}"
+
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+BRANCH_NAME?= 1.4
+
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+RUBY?= ${LOCALBASE}/bin/ruby
+
+DOCDIR= ${PREFIX}/share/doc/ruby
+EXAMPLESDIR= ${PREFIX}/share/examples/ruby
+
+do-configure:
+ cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>