openbsd-ports/databases/ruby-ldap/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

38 lines
824 B
Makefile

# $OpenBSD: Makefile,v 1.27 2012/09/23 16:57:33 jeremy Exp $
COMMENT= Ruby interface to some common LDAP libraries
PKGNAME= ldap-0.9.12
REVISION = 0
DISTNAME= ruby-${PKGNAME}
CATEGORIES= databases
HOMEPAGE= https://github.com/alexey-chebotar/ruby-ldap
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
WANTLIB= crypto pthread ssl ldap lber
LIB_DEPENDS= databases/openldap
CONFIGURE_STYLE= ruby gem ext
CONFIGURE_ARGS= --without-libldap
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>