summaryrefslogtreecommitdiff
path: root/net/yptransitd/Makefile
blob: 147b3d259a79f98c72c38d866df29337af0f0704 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	yptransitd
# Date created:				26 September 2002
# Whom:					Michael Joyner <mjoyner@hq.dyns.cx>
#
# $FreeBSD$
#

PORTNAME=	yptransitd
PORTVERSION=	0.5
PORTREVISION=	3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	yptransitd

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A replacement for nss_ldap

USE_OPENLDAP=	yes
USE_BISON=	build
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-ldap-prefix=${LOCALBASE}

post-patch:
	@${REINPLACE_CMD} -E 's,^([[:blank:]]+)\([^\)]+\) ,\1,' \
		${WRKSRC}/src/modules.c
	@${REINPLACE_CMD} -e 's,(void \*) ,,g' \
		${WRKSRC}/src/modules/ldap/cache.c

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>