diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-03-21 00:14:56 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-03-21 00:14:56 +0000 |
commit | be664d9b412e7502d913dd1f43a0c81d171bef14 (patch) | |
tree | eb4123c8f9730a6800ee88de6fcbfe5006d86650 /textproc/p5-Hailo | |
parent | bda419448330d77883b3608380756908154e3252 (diff) | |
download | ports-be664d9b412e7502d913dd1f43a0c81d171bef14.tar.gz ports-be664d9b412e7502d913dd1f43a0c81d171bef14.zip |
Notes
Diffstat (limited to 'textproc/p5-Hailo')
-rw-r--r-- | textproc/p5-Hailo/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/textproc/p5-Hailo/Makefile b/textproc/p5-Hailo/Makefile index df0ad6baee64..cc80c86f90e6 100644 --- a/textproc/p5-Hailo/Makefile +++ b/textproc/p5-Hailo/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: Hailo -# Date created: 2011-07-19 -# Whom: milki <milki@rescomp.berkeley.edu> -# +# Created by: milki <milki@rescomp.berkeley.edu> # $FreeBSD$ -# PORTNAME= Hailo PORTVERSION= 0.70 @@ -69,21 +65,21 @@ MAN3= Hailo.3 \ Hailo::Tokenizer::Words.3 \ Hailo::UI::ReadLine.3 -OPTIONS= SQLITE "Use SQLite as a database backend" On \ - PSQL "Use PostgreSQL as database backend" Off \ - MYSQL "Use MySQL as database backend" Off +OPTIONS_DEFINE= SQLITE PGSQL MYSQL +OPTIONS_DEFAULT= SQLITE .include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_SQLITE) +.if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= p5-DBD-SQLite>=1.29:${PORTSDIR}/databases/p5-DBD-SQLite .endif -.if !defined(WITHOUT_PSQL) +.if ${PORT_OPTIONS:MPSQL} RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg .endif -.if !defined(WITHOUT_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql .endif |