aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-03-21 08:14:56 +0800
committerjgh <jgh@FreeBSD.org>2013-03-21 08:14:56 +0800
commit6784e94c775cc2ee9248aec76b1c45a44dc8673b (patch)
treeeb4123c8f9730a6800ee88de6fcbfe5006d86650 /textproc
parent8914d66c7e9b5ba83b36f87d1a36e978d9b34e41 (diff)
downloadfreebsd-ports-gnome-6784e94c775cc2ee9248aec76b1c45a44dc8673b.tar.gz
freebsd-ports-gnome-6784e94c775cc2ee9248aec76b1c45a44dc8673b.tar.zst
freebsd-ports-gnome-6784e94c775cc2ee9248aec76b1c45a44dc8673b.zip
- adopt optionsNG
- trim historical header Approved by: portmgr (miwi)
Diffstat (limited to 'textproc')
-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