summaryrefslogtreecommitdiffstats
path: root/sysutils/cpu/Makefile
blob: 1f65dae42d37d85fdf7cdf83b6438ae9e0975d29 (plain)
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
# New ports collection makefile for:   cpu
# Date created:        15 November 2003
# Whom:                Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	cpu
PORTVERSION=	1.4.3
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	perky@FreeBSD.org
COMMENT=	Change Password Utility for LDAP

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_OPENLDAP=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/cpu --with-ldap=${LOCALBASE}
CONFIGURE_ENV=	CPPFLAGS="-DLDAP_DEPRECATED"

MAN5=		cpu.conf.5
MAN8=		cpu.8 cpu-ldap.8

post-patch:
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud