# New ports collection makefile for: ruby-gdbm # Date created: 24 Aug 2000 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= gdbm PORTVERSION= ${RUBY_PORTVERSION} CATEGORIES= databases ruby MASTER_SITES= # none PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTFILES= # none MAINTAINER= knu@FreeBSD.org COMMENT= A Ruby extension to GDBM library BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm USE_RUBY= yes USE_RUBY_EXTCONF= yes WRKSRC= ${WRKDIR}/${PORTNAME} .include .if ${RUBY_VER} >= 1.7 MAKE_ARGS= sitelibdir='$$(rubylibdir)' .endif do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ post-install: @${CAT} ${PKGMESSAGE} .include