2000-08-23 21:17:22 +02:00
|
|
|
# New ports collection makefile for: ruby-gdbm
|
|
|
|
# Date created: 24 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gdbm
|
2000-10-20 21:56:05 +02:00
|
|
|
PORTVERSION= ${RUBY_PORTVERSION}
|
2011-09-13 01:41:14 +02:00
|
|
|
PORTREVISION= 3
|
2007-04-05 11:07:21 +02:00
|
|
|
PORTEPOCH= 1
|
2000-08-23 21:17:22 +02:00
|
|
|
CATEGORIES= databases ruby
|
2001-03-19 12:13:39 +01:00
|
|
|
MASTER_SITES= # none
|
2000-09-07 00:54:59 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2001-03-19 12:13:39 +01:00
|
|
|
DISTFILES= # none
|
2000-08-23 21:17:22 +02:00
|
|
|
|
2011-11-01 23:59:35 +01:00
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
2003-02-18 05:37:40 +01:00
|
|
|
COMMENT= A Ruby extension to GDBM library
|
2000-08-23 21:17:22 +02:00
|
|
|
|
2012-06-04 05:38:10 +02:00
|
|
|
FETCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/${RUBY_PORT}:patch
|
2011-09-12 15:46:58 +02:00
|
|
|
LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm
|
2000-08-23 21:17:22 +02:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= %%RUBY_ARCHLIBDIR%%/gdbm.so
|
2000-09-07 00:54:59 +02:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-23 21:17:22 +02:00
|
|
|
|
2001-03-19 12:13:39 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-09-28 21:33:39 +02:00
|
|
|
|
2003-01-23 20:18:58 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
MAKE_ARGS= sitelibdir='$$(rubylibdir)'
|
|
|
|
|
2001-03-19 12:13:39 +01:00
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
2002-03-30 13:12:53 +01:00
|
|
|
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
|
2000-08-23 21:17:22 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2003-01-23 20:18:58 +01:00
|
|
|
.include <bsd.port.post.mk>
|