006fde0cd9
into MODRUBY_WANTLIB and using CONFIGURE_STYLE = ruby gem ext. Use the lang/ruby module for all dependent ports, setting MODRUBY_{BUILD,RUN}DEP=No if necessary. ok landry, phessler, sthen
37 lines
822 B
Makefile
37 lines
822 B
Makefile
# $OpenBSD: Makefile,v 1.15 2010/10/26 21:42:14 jeremy Exp $
|
|
|
|
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= crypto pthread ssl ldap.>=9 ldap_r.>=9 lber.>=9
|
|
|
|
LIB_DEPENDS= ::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>
|