# Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= gdbm PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= databases ruby MASTER_SITES= # none PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTFILES= # none MAINTAINER= ruby@FreeBSD.org COMMENT= A Ruby extension to GDBM library FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm PLIST_FILES= %%RUBY_ARCHLIBDIR%%/gdbm.so USE_RUBY= yes USE_RUBY_EXTCONF= yes WRKSRC= ${WRKDIR}/${PORTNAME} NO_STAGE= yes .include MAKE_ARGS= sitelibdir='$$(rubylibdir)' do-extract: ${MKDIR} ${WRKDIR} ${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/ post-install: @${CAT} ${PKGMESSAGE} .include