1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net/yptransitd/Makefile
Tijl Coosemans 37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Michael Joyner <mjoyner@hq.dyns.cx>
# $FreeBSD$
PORTNAME= yptransitd
PORTVERSION= 0.5
PORTREVISION= 7
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Replacement for nss_ldap
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= bison
USE_OPENLDAP= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE}
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= %%ETCDIR%%/ldap.conf %%ETCDIR%%/modules/ldap.so \
%%ETCDIR%%/yptransitd.conf sbin/yptransitd
PLIST_DIRS= %%ETCDIR%%/modules %%ETCDIR%%
post-patch:
@${REINPLACE_CMD} -e 's, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,=gcc,=@CC@,' \
${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@, ; \
s, $${BINDIR}, $${DESTDIR}$${BINDIR},' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -E 's,^([[:blank:]]+)\([^\)]+\) ,\1,' \
${WRKSRC}/src/modules.c
@${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@, ; \
s, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \
${WRKSRC}/src/modules/ldap/Makefile.in
@${REINPLACE_CMD} -e 's,(void \*) ,,g' \
${WRKSRC}/src/modules/ldap/cache.c
pre-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}/modules
.include <bsd.port.mk>