34 lines
799 B
Makefile
34 lines
799 B
Makefile
# New ports collection makefile for: o_dbm - ObjectDBM
|
|
# Date created: 16 March 2001
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= o_dbm
|
|
PORTVERSION= 0.3.1
|
|
CATEGORIES= databases ruby
|
|
MASTER_SITES= ${MASTER_SITE_RUBY}
|
|
MASTER_SITE_SUBDIR= contrib in.coming
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${RUBY_SITELIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/o_dbm.rb ${RUBY_SITELIBDIR}/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/test-o_dbm.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|