head	1.23;
access;
symbols
	RELEASE_8_3_0:1.21
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.19
	RELEASE_8_0_0:1.19
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.19
	RELEASE_6_3_0:1.19
	PRE_XORG_7:1.18
	RELEASE_4_EOL:1.18
	RELEASE_6_2_0:1.18
	RELEASE_6_1_0:1.17
	RELEASE_5_5_0:1.17
	RELEASE_6_0_0:1.16
	RELEASE_5_4_0:1.16
	RELEASE_4_11_0:1.16
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.10
	RELEASE_4_8_0:1.10
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.5
	RELEASE_4_6_1:1.5
	RELEASE_4_6_0:1.5
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.3;
locks; strict;
comment	@# @;


1.23
date	2013.03.19.05.19.17;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.11.17.05.54.53;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.27.15.11.50;	author pgollucci;	state Exp;
branches;
next	1.20;

1.20
date	2010.06.08.00.18.54;	author pgollucci;	state Exp;
branches;
next	1.19;

1.19
date	2007.10.24.01.38.51;	author clsung;	state Exp;
branches;
next	1.18;

1.18
date	2006.04.25.22.09.29;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2005.11.11.01.17.20;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2004.12.25.17.52.46;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	2004.07.06.14.31.55;	author vs;	state Exp;
branches;
next	1.14;

1.14
date	2003.10.14.22.25.59;	author knu;	state Exp;
branches;
next	1.13;

1.13
date	2003.08.22.22.53.54;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2003.07.29.06.44.28;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2003.06.26.03.34.44;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.18.04.22.03;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2003.01.29.10.45.59;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.06.20.59.13;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.03.07.02.10;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.07.07.18.21.43;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.10.18.37.18;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.12.23.12.03;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2001.12.21.21.25.16;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.28.13.46.31;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.24.06.21.52;	author knu;	state Exp;
branches;
next	;


desc
@@


1.23
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314532
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Akinori MUSHA aka knu <knu@@idaemons.org>
# $FreeBSD: head/biology/ruby-bio/Makefile 314532 2013-03-18 06:55:42Z jgh $

PORTNAME=	bio
PORTVERSION=	1.4.1
CATEGORIES=	biology ruby
MASTER_SITES=	http://bioruby.org/archive/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}ruby-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	mauricio@@arareko.net
COMMENT=	Integrated environment for Bioinformatics written in Ruby

OPTIONS_DEFINE=	XMLPARSER BDB4 MYSQL PGSQL
XMLPARSER_DESC=	xmlparser support for faster Blast processing
BDB4_DESC=	bdb4 support for faster flat file indexing

OPTIONSFILE=	${PORT_DBDIR}/ruby-${PORTNAME}/options

USE_RUBY=	yes
USE_RUBY_SETUP=	yes

.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MXMLPARSER}
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/xmlparser.so:${PORTSDIR}/textproc/ruby-xmlparser
.endif
.if ${PORT_OPTIONS:MBDB4}
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.endif
.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+=	${RUBY_SITELIBDIR}/DBD/Mysql/Mysql.rb:${PORTSDIR}/databases/ruby-dbd_mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+=	${RUBY_SITELIBDIR}/DBD/Pg/Pg.rb:${PORTSDIR}/databases/ruby-dbd_pg
.endif

post-patch:
	${RUBY} -i -pe 'gsub(%r"(/etc/bioinformatics/)") { "${PREFIX}" + $$1 }' \
		${WRKSRC}/doc/Tutorial.rd \
		${WRKSRC}/lib/bio/io/registry.rb

do-install:
	${MKDIR} ${PREFIX}/etc/bioinformatics
.for f in etc/bioinformatics/seqdatabase.ini
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${f}.sample
	if [ ! -f ${PREFIX}/${f} ]; then \
		${CP} -p ${PREFIX}/${f}.sample ${PREFIX}/${f}; \
	fi
.endfor
.if ${PORT_OPTIONS:MEXAMPLES}
	${MKDIR} ${RUBY_MODEXAMPLESDIR}
	${CP} -R ${WRKSRC}/sample/ ${RUBY_MODEXAMPLESDIR}/
.endif
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${RUBY_MODDOCDIR}/ja
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README.rdoc ${RUBY_MODDOCDIR}/
	${INSTALL_DATA} ${WRKSRC}/doc/*.rd ${RUBY_MODDOCDIR}/
	${INSTALL_DATA} ${WRKSRC}/doc/*.rd.ja ${RUBY_MODDOCDIR}/ja/
.endif

.include <bsd.port.post.mk>
@


1.22
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	BioRuby
# Date created:		24 October 2001
# Whom:			Akinori MUSHA aka knu <knu@@idaemons.org>
#
# $FreeBSD: head/biology/ruby-bio/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d15 4
a18 4
OPTIONS=	XMLPARSER	"xmlparser support for faster Blast processing" off \
		BDB4		"bdb4 support for faster flat file indexing" off \
		MYSQL		"MySQL database support for BioSQL" off \
		PGSQL		"PostgreSQL database support for BioSQL" off
d25 1
d27 1
a27 1
.if defined(WITH_XMLPARSER)
d30 1
a30 1
.if defined(WITH_BDB4)
d33 1
a33 1
.if defined(WITH_MYSQL)
d36 1
a36 1
.if defined(WITH_PGSQL)
d53 1
a53 1
.if !defined(NOPORTEXAMPLES)
d57 1
a57 1
.if !defined(NOPORTDOCS)
@


1.21
log
@- Update to 1.4.1
- Remove MD5

PR:             ports/153394
Submitted by:   myself (pgollucci)
Approved by:    mauricio@@arareko.net (maintainer)
Sponsored by:   RideCharge Inc. / TaxiMagic
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@- Update to 1.4.0
- Sort pkg-plist
- seperate NOPORTDOCS and NOPORTEXAMPLES
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0
@


1.19
log
@- Update to 1.1.0

PR:		ports/117369
Submitted by:	Motomichi Matsuzaki <mzaki_AT_e-mail dot ne dot jp>
Approved by:	maintainer (Mauricio Herrera Cuadra)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.0
a26 1
RUBY_SETUP=	install.rb
d56 1
a56 1
.if !defined(NOPORTDOCS)
d59 2
d62 1
a62 1
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${RUBY_MODDOCDIR}/
@


1.18
log
@- Update to 1.0.0
- Provide OPTIONS
- Take maintainership

PR:		ports/94123
Submitted by:	Mauricio Herrera Cuadra <mauricio@@arareko.net>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
@


1.17
log
@With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d19 6
d29 15
d46 1
a46 1
		${WRKSRC}/doc/Tutorial.rd.ja \
d62 2
a63 1
	${INSTALL_DATA} ${WRKSRC}/doc/*.ja ${RUBY_MODDOCDIR}/ja/
d66 1
a66 1
.include <bsd.port.mk>
@


1.16
log
@Update to 0.6.2.
@
text
@d16 1
a16 1
MAINTAINER=	knu@@FreeBSD.org
@


1.15
log
@Fix distsite

PR:		ports/67473
Submitted by:	Roman Neuhauser
Approved by:	maintainer timeout
@
text
@d9 1
a9 1
PORTVERSION=	0.5.3
@


1.14
log
@Update to 0.5.3.
@
text
@d11 1
a11 2
MASTER_SITES=	ftp://ftp.bioruby.org/bioruby/
MASTER_SITE_SUBDIR=	knu
@


1.13
log
@Update to 0.5.2.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.2
@


1.12
log
@Update to 0.5.1.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
@


1.11
log
@Update to 0.5.0.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0
@


1.10
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.0
a22 2

RUBY_SHEBANG_FILES=	${WRKSRC}/bin/dbget
@


1.9
log
@Update to 0.4.0.
@
text
@d18 1
@


1.8
log
@Use RUBY_MOD*.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.9
@


1.7
log
@Update to 0.3.9.
@
text
@d39 5
a43 5
	${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
	${CP} -R ${WRKSRC}/sample/ ${RUBY_EXAMPLESDIR}/${PORTNAME}/
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
	${INSTALL_DATA} ${WRKSRC}/doc/*.ja ${RUBY_DOCDIR}/${PORTNAME}/ja/
@


1.6
log
@Update to 0.3.8.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.8
@


1.5
log
@Update to 0.3.6.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.6
d25 5
d31 7
@


1.4
log
@Update to 0.3.5.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.5
d11 1
a11 1
MASTER_SITES=	ftp://ftp.bioruby.org/bioruby/src/
a14 1
EXTRACT_SUFX=	.tgz
@


1.3
log
@Update to 0.3.3.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.3
d31 1
a31 1
	${CP} -R ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
@


1.2
log
@Update to 0.3.2.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.2
@


1.1
log
@Add ruby-bio (BioRuby), an integrated environment for Bioinformatics
written in Ruby.
@
text
@d9 1
a9 1
PORTVERSION=	0.3.20011024
d14 1
a14 1
DISTNAME=	${PORTNAME}ruby-${PORTVERSION:R}-${PORTVERSION:E}
d30 1
a30 1
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
d32 1
@

