Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 00:14:57 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314785 - head/textproc/p5-Hailo
Message-ID:  <201303210014.r2L0EvMq042707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Thu Mar 21 00:14:56 2013
New Revision: 314785
URL: http://svnweb.freebsd.org/changeset/ports/314785

Log:
  - adopt optionsNG
  - trim historical header
  
  Approved by:	portmgr (miwi)

Modified:
  head/textproc/p5-Hailo/Makefile

Modified: head/textproc/p5-Hailo/Makefile
==============================================================================
--- head/textproc/p5-Hailo/Makefile	Thu Mar 21 00:14:09 2013	(r314784)
+++ head/textproc/p5-Hailo/Makefile	Thu Mar 21 00:14:56 2013	(r314785)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303210014.r2L0EvMq042707>