openbsd-ports/databases/ruby-do_postgres/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

35 lines
823 B
Makefile

# $OpenBSD: Makefile,v 1.9 2012/09/23 16:57:33 jeremy Exp $
COMMENT= DataObjects driver for PostgreSQL
DISTNAME= do_postgres-0.10.8
REVISION = 0
CATEGORIES= databases
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem ext
# databases/postgresql,-server needed for include files
BUILD_DEPENDS= ${RUN_DEPENDS} \
databases/postgresql,-server
RUN_DEPENDS= databases/ruby-data_objects,${MODRUBY_FLAVOR}
WANTLIB= pq
LIB_DEPENDS= databases/postgresql,-main
# Requires running PostgreSQL database
REGRESS_IS_INTERACTIVE = Yes
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
devel/ruby-bacon,${MODRUBY_FLAVOR}
do-regress:
cd ${WRKSRC} && bacon${GEM_BIN_SUFFIX} spec/*_spec.rb
.include <bsd.port.mk>