f4542e4eb3
PKG_ARCH = * removed from many ports as it is added automatically for pure ruby gem ports. Switch ports that previously used GEM_SKIPDEPENDS to adding dependencies or modifying the underlying gem metadata with patches. OK landry@
32 lines
601 B
Makefile
32 lines
601 B
Makefile
# $OpenBSD: Makefile,v 1.15 2010/11/08 23:28:53 jeremy Exp $
|
|
|
|
COMMENT= access a MySQL database from Ruby
|
|
|
|
DISTNAME= mysql-2.8.1
|
|
REVISION= 4
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://tmtm.org/mysql/ruby/
|
|
|
|
# Ruby License
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= lang/ruby
|
|
|
|
WANTLIB= mysqlclient
|
|
|
|
LIB_DEPENDS= ::databases/mysql
|
|
|
|
CONFIGURE_STYLE=ruby gem ext
|
|
|
|
REGRESS_DEPENDS=::databases/mysql,-server
|
|
|
|
# A running mysqld is required to run the regression tests.
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} test.rb
|
|
|
|
.include <bsd.port.mk>
|