9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
28 lines
573 B
Makefile
28 lines
573 B
Makefile
# Created by: Michael Joyner <mjoyner@hq.dyns.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yptransitd
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 5
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A replacement for nss_ldap
|
|
|
|
USE_OPENLDAP= yes
|
|
USES= bison
|
|
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>
|