diff options
Diffstat (limited to 'biology/bioperl/options.mk')
-rw-r--r-- | biology/bioperl/options.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/biology/bioperl/options.mk b/biology/bioperl/options.mk new file mode 100644 index 00000000000..b4544c146ca --- /dev/null +++ b/biology/bioperl/options.mk @@ -0,0 +1,28 @@ +# $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 |