openbsd-ports/databases/ruby-ldap/Makefile
jeremy 9bc799db7a Bump after change to remove OpenBSD version from ruby SITEARCHDIR,
and use new MODRUBY_SITEDIR and MODRUBY_SITEARCHDIR variables in
PLIST.

OK landry@, jcs@
2011-07-19 18:00:16 +00:00

40 lines
863 B
Makefile

# $OpenBSD: Makefile,v 1.24 2011/07/19 18:00:16 jeremy Exp $
COMMENT= Ruby interface to some common LDAP libraries
PKGNAME= ldap-0.9.8
REVISION= 1
DISTNAME= ruby-${PKGNAME}
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/}
EXTRACT_SUFX = .tar.bz2
MODULES= lang/ruby
WANTLIB= crypto pthread ssl ldap ldap_r lber
LIB_DEPENDS= databases/openldap
CONFIGURE_STYLE= ruby extconf
REGRESS_TARGET= test
REGRESS_DEPENDS= databases/openldap,-server
REGRESS_IS_INTERACTIVE = Yes
do-regress:
cd ${WRKSRC} && /bin/sh ./test/test.sh ruby openldap2 \
${LOCALBASE}/libexec/slapd ${SYSCONFDIR}/openldap/schema/
.include <bsd.port.mk>