2013-01-09 12:38:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2013/01/09 17:38:52 jeremy Exp $
|
2007-01-18 07:30:37 -05:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= Ruby interface to some common LDAP libraries
|
2007-01-18 07:30:37 -05:00
|
|
|
|
2012-05-04 16:17:50 -04:00
|
|
|
PKGNAME= ldap-0.9.12
|
2013-01-09 12:38:52 -05:00
|
|
|
REVISION = 1
|
2010-11-08 18:28:53 -05:00
|
|
|
DISTNAME= ruby-${PKGNAME}
|
2007-01-18 07:30:37 -05:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
2012-05-04 16:17:50 -04:00
|
|
|
HOMEPAGE= https://github.com/alexey-chebotar/ruby-ldap
|
2007-01-18 07:30:37 -05:00
|
|
|
|
2010-09-23 18:30:24 -04:00
|
|
|
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
|
2007-01-18 07:30:37 -05:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= lang/ruby
|
|
|
|
|
2012-05-04 16:17:50 -04:00
|
|
|
WANTLIB= crypto pthread ssl ldap lber
|
2007-01-18 07:30:37 -05:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= databases/openldap
|
2007-01-18 07:30:37 -05:00
|
|
|
|
2012-05-04 16:17:50 -04:00
|
|
|
CONFIGURE_STYLE= ruby gem ext
|
|
|
|
CONFIGURE_ARGS= --without-libldap
|
2007-01-18 07:30:37 -05:00
|
|
|
|
|
|
|
REGRESS_TARGET= test
|
2010-11-14 19:22:45 -05:00
|
|
|
REGRESS_DEPENDS= databases/openldap,-server
|
2010-12-21 12:10:58 -05:00
|
|
|
REGRESS_IS_INTERACTIVE = Yes
|
2007-01-18 07:30:37 -05:00
|
|
|
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && /bin/sh ./test/test.sh ruby openldap2 \
|
|
|
|
${LOCALBASE}/libexec/slapd ${SYSCONFDIR}/openldap/schema/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|