pkgsrc/biology/bioperl/options.mk
fhajny 354d10fbe0 Update biology/bioperl to 1.6.923.
Way too many changes (0.7.0 was released in 2001!).

See changelog at:

https://github.com/bioperl/bioperl-live/blob/master/Changes
2014-02-20 14:44:16 +00:00

28 lines
626 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/02/20 14:44:16 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bioperl
PKG_SUPPORTED_OPTIONS+= mysql pgsql sqlite
.include "../../mk/bsd.options.mk"
###
### MySQL support
###
.if !empty(PKG_OPTIONS:Mmysql)
.include "../../mk/mysql.buildlink3.mk"
DEPENDS+= p5-DBD-${MYSQL_PKG_PREFIX}-[0-9]*:../../databases/p5-DBD-mysql
.endif
###
### PostgreSQL support
###
.if !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= p5-DBD-postgresql-[0-9]*:../../databases/p5-DBD-postgresql
.endif
###
### SQLite support
###
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite
.endif