aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Hailo
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-03-21 00:14:56 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-03-21 00:14:56 +0000
commitbe664d9b412e7502d913dd1f43a0c81d171bef14 (patch)
treeeb4123c8f9730a6800ee88de6fcbfe5006d86650 /textproc/p5-Hailo
parentbda419448330d77883b3608380756908154e3252 (diff)
downloadports-be664d9b412e7502d913dd1f43a0c81d171bef14.tar.gz
ports-be664d9b412e7502d913dd1f43a0c81d171bef14.zip
Notes
Diffstat (limited to 'textproc/p5-Hailo')
-rw-r--r--textproc/p5-Hailo/Makefile18
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