# New ports collection makefile for: ruby-gdbm # Date created: 24 Aug 2000 # Whom: Akinori MUSHA aka knu # # $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