aboutsummaryrefslogtreecommitdiff
path: root/databases/rubygem-rubyrep
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-04-05 18:26:05 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-04-05 18:26:05 +0000
commitf80bcee45504626521e3b6eb016b20bb5bfdb3d0 (patch)
tree8f70ccafec5f1dc28c83060adc2b8fae2e9ac4c8 /databases/rubygem-rubyrep
parent0964469be68bd5ee46da0a1b69a02a6d5c6dec02 (diff)
downloadports-f80bcee45504626521e3b6eb016b20bb5bfdb3d0.tar.gz
ports-f80bcee45504626521e3b6eb016b20bb5bfdb3d0.zip
Notes
Diffstat (limited to 'databases/rubygem-rubyrep')
-rw-r--r--databases/rubygem-rubyrep/Makefile33
1 files changed, 14 insertions, 19 deletions
diff --git a/databases/rubygem-rubyrep/Makefile b/databases/rubygem-rubyrep/Makefile
index fc256925cf39..d9a4589533b1 100644
--- a/databases/rubygem-rubyrep/Makefile
+++ b/databases/rubygem-rubyrep/Makefile
@@ -1,39 +1,34 @@
# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$
-PORTNAME= rubyrep
-PORTVERSION= 1.2.0
-CATEGORIES= databases rubygems
-MASTER_SITES= RG
+PORTNAME= rubyrep
+PORTVERSION= 1.2.0
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
-MAINTAINER= ltning@anduin.net
-COMMENT= Multi-master replication and sync for MySQL and PostgreSQL
+MAINTAINER= ltning@anduin.net
+COMMENT= Multi-master replication and sync for MySQL and PostgreSQL
+
+LICENSE= MIT
BUILD_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
rubygem-activerecord>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord
-RUN_DEPENDS+= flog>=0:${PORTSDIR}/sysutils/flog \
+RUN_DEPENDS= flog>=0:${PORTSDIR}/sysutils/flog \
rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
rubygem-activerecord>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord
-USE_RUBY= yes
-USE_RUBYGEMS= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
USE_RC_SUBR= rubyrep
OPTIONS_DEFINE= MYSQL PGSQL
-OPTIONS_DEFAULT= PGSQL
+OPTIONS_DEFAULT=PGSQL
PLIST_FILES= bin/rubyrep
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPGSQL}
-RUN_DEPENDS+= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-RUN_DEPENDS+= ruby-mysql>=0:${PORTSDIR}/databases/ruby-mysql
-.endif
+PGSQL_RUN_DEPENDS= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
+MYSQL_RUN_DEPENDS= ruby-mysql>=0:${PORTSDIR}/databases/ruby-mysql
.include <bsd.port.mk>