35 lines
733 B
Makefile
35 lines
733 B
Makefile
# $OpenBSD: Makefile,v 1.29 2013/03/11 02:52:08 espie Exp $
|
|
|
|
COMMENT= Ruby interface to some common LDAP libraries
|
|
|
|
PKGNAME= ldap-0.9.12
|
|
REVISION = 1
|
|
DISTNAME= ruby-${PKGNAME}
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= https://github.com/alexey-chebotar/ruby-ldap
|
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES= lang/ruby
|
|
|
|
WANTLIB= crypto pthread ssl ldap lber
|
|
|
|
LIB_DEPENDS= databases/openldap
|
|
|
|
CONFIGURE_STYLE= ruby gem ext
|
|
CONFIGURE_ARGS= --without-libldap
|
|
|
|
TEST_TARGET= test
|
|
TEST_DEPENDS= databases/openldap,-server
|
|
TEST_IS_INTERACTIVE = Yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && /bin/sh ./test/test.sh ruby openldap2 \
|
|
${LOCALBASE}/libexec/slapd ${SYSCONFDIR}/openldap/schema/
|
|
|
|
.include <bsd.port.mk>
|