ports/177159: [MAINTAINER] textproc/p5-Hailo: Convert to OptionsNG
milki
milki at rescomp.berkeley.edu
Wed Mar 20 21:20:02 UTC 2013
>Number: 177159
>Category: ports
>Synopsis: [MAINTAINER] textproc/p5-Hailo: Convert to OptionsNG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 20 21:20:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: milki
>Release: FreeBSD 8.3-RELEASE-p3 amd64
>Organization:
cibo
>Environment:
System: FreeBSD cibo.ircmylife.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012
>Description:
Convert to OptionsNG
Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- p5-Hailo-0.70_1.patch begins here ---
diff -ruN /usr/ports/textproc/p5-Hailo/Makefile ./Makefile
--- /usr/ports/textproc/p5-Hailo/Makefile 2012-12-15 22:16:59.000000000 -0800
+++ ./Makefile 2013-03-20 14:12:34.000000000 -0700
@@ -1,9 +1,4 @@
-# New ports collection makefile for: Hailo
-# Date created: 2011-07-19
-# Whom: milki <milki at rescomp.berkeley.edu>
-#
# $FreeBSD: ports/textproc/p5-Hailo/Makefile,v 1.7 2012/12/16 06:16:59 svnexp Exp $
-#
PORTNAME= Hailo
PORTVERSION= 0.70
@@ -47,7 +42,7 @@
p5-Test-Script-Run>=0.04:${PORTSDIR}/devel/p5-Test-Script-Run \
p5-Test-Synopsis>=0.06:${PORTSDIR}/devel/p5-Test-Synopsis
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.10.0+
MAN1= hailo.1
@@ -69,21 +64,24 @@
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 PSQL MYSQL
+OPTIONS_DEFAULT= SQLITE
+
+SQLITE_DESC= Use SQLite as a database backend
+PSQL_DESC= Use PostgreSQL as database backend
+MYSQL_DESC= Use MySQL as database backend
.include <bsd.port.pre.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
--- p5-Hailo-0.70_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list