d765f5df76
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed due to differences in how RDoc processes files. This also has a number of changes to the regress tests to work with the changes to devel/ruby-rake. It moves most of the regress tests to use MODRUBY_REGRESS. OK jcs@, landry@, jasper@, sthen@
40 lines
871 B
Makefile
40 lines
871 B
Makefile
# $OpenBSD: Makefile,v 1.14 2010/09/23 22:30:25 jeremy Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Ruby interface to some common LDAP libraries
|
|
|
|
DISTNAME= ruby-ldap-0.9.7
|
|
REVISION= 9
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= http://ruby-ldap.sourceforge.net/
|
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-ldap/}
|
|
|
|
MODULES= lang/ruby
|
|
|
|
WANTLIB= c crypto m pthread ssl
|
|
|
|
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS} \
|
|
ldap.>=9,ldap_r.>=9,lber.>=9::databases/openldap
|
|
|
|
CONFIGURE_STYLE= ruby extconf
|
|
|
|
REGRESS_TARGET= test
|
|
REGRESS_DEPENDS= :openldap-server-*:databases/openldap,-server
|
|
|
|
do-regress:
|
|
cd ${WRKSRC} && /bin/sh ./test/test.sh ruby openldap2 \
|
|
${LOCALBASE}/libexec/slapd ${SYSCONFDIR}/openldap/schema/
|
|
|
|
.include <bsd.port.mk>
|