1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/databases/ruby-gdbm/Makefile
2000-08-23 19:17:22 +00:00

49 lines
1.2 KiB
Makefile

# 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>