Tweak sysutils/cpu version 1.4.3_3
[dports.git] / sysutils / cpu / Makefile
1 # Created by: Hye-Shik Chang <perky@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       cpu
5 PORTVERSION=    1.4.3
6 PORTREVISION=   3
7 CATEGORIES=     sysutils
8 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Change Password Utility for LDAP
12
13 GNU_CONFIGURE=  yes
14 USE_BZIP2=      yes
15 USE_OPENLDAP=   yes
16 USE_LDCONFIG=   yes
17 CONFIGURE_ARGS= --datadir=${PREFIX}/share/cpu --with-ldap=${LOCALBASE}
18 CPPFLAGS+=      -DLDAP_DEPRECATED
19
20 MAN5=           cpu.conf.5
21 MAN8=           cpu.8 cpu-ldap.8
22
23 NO_STAGE=       yes
24 post-patch:
25         @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
26
27 .include <bsd.port.mk>