freebsd-ports/devel/rubygem-app_config/Makefile
Philip M. Gollucci 4e3d011569 Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from:  DEVELOPER_MODE
With Hat:       ruby@

Sponsored by:   RideCharge Inc / Curb
2015-07-02 16:01:06 +00:00

36 lines
714 B
Makefile

# $FreeBSD$
PORTNAME= app_config
PORTVERSION= 2.1.3
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= milki@FreeBSD.org
COMMENT= Ruby gem for storing application configuration
LICENSE= MIT
OPTIONS_DEFINE= MONGO SQLITE3
OPTIONS_DEFAULT= SQLITE3
MONGO_DESC= mongo backend support
SQLITE3_DESC= sqlite3 backend support
OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options
.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
NO_ARCH= yes
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>