1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

- Convert to new options helper

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-10-15 20:18:51 +00:00
parent c9ae3f2fbc
commit f363f7fdeb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399394

View File

@ -16,18 +16,10 @@ OPTIONS_DEFAULT= SQLITE3
MONGO_DESC= mongo backend support
SQLITE3_DESC= sqlite3 backend support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE3}
RUN_DEPENDS+= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
.endif
.if ${PORT_OPTIONS:MMONGO}
RUN_DEPENDS+= rubygem-mongo>=0:${PORTSDIR}/devel/rubygem-mongo
.endif
MONGO_RUN_DEPENDS= rubygem-mongo>=0:${PORTSDIR}/devel/rubygem-mongo
SQLITE3_RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
NO_ARCH= yes
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes