aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rubygem-rubyrep
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-06 23:41:26 +0800
committerbapt <bapt@FreeBSD.org>2013-06-06 23:41:26 +0800
commit8e2163b72eb3f92db9407353d9ec9a61467c2b9e (patch)
tree28dfdfd550ecbd4d035ccf99ffedea4235eac810 /databases/rubygem-rubyrep
parent34df64823b6fdd37bc50780119b98d1800292671 (diff)
downloadfreebsd-ports-gnome-8e2163b72eb3f92db9407353d9ec9a61467c2b9e.tar.gz
freebsd-ports-gnome-8e2163b72eb3f92db9407353d9ec9a61467c2b9e.tar.zst
freebsd-ports-gnome-8e2163b72eb3f92db9407353d9ec9a61467c2b9e.zip
Convert to new options framework
Diffstat (limited to 'databases/rubygem-rubyrep')
-rw-r--r--databases/rubygem-rubyrep/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/databases/rubygem-rubyrep/Makefile b/databases/rubygem-rubyrep/Makefile
index 60d892138ba5..fc256925cf39 100644
--- a/databases/rubygem-rubyrep/Makefile
+++ b/databases/rubygem-rubyrep/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rubygem-rubyrep
-# Date created: 2011-07-30
-# Whom: Steve Wills <swills@FreeBSD.org>
-#
+# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= rubyrep
PORTVERSION= 1.2.0
@@ -25,18 +21,18 @@ RUBYGEM_AUTOPLIST= yes
USE_RC_SUBR= rubyrep
-OPTIONS = MYSQL "Enable MySQL support" off \
- PGSQL "Enable PostgreSQL support" on
+OPTIONS_DEFINE= MYSQL PGSQL
+OPTIONS_DEFAULT= PGSQL
PLIST_FILES= bin/rubyrep
.include <bsd.port.options.mk>
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
RUN_DEPENDS+= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
.endif
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= ruby-mysql>=0:${PORTSDIR}/databases/ruby-mysql
.endif