aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ldapvi/Makefile
blob: e7055a53e1146cba1e33ce960f138faa152e29d9 (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
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    ldapvi
# Date created:     Mon Apr 24 09:37:02 CEST 2006
# Whom:         Joerg Pulz <Joerg.Pulz@frm2.tum.de>
#
# $FreeBSD$
#

PORTNAME=   ldapvi
PORTVERSION=    1.7
PORTREVISION=   2
CATEGORIES= sysutils net
MASTER_SITES=   http://www.lichteblau.com/download/

MAINTAINER= sbrabez@gmail.com
COMMENT=    A tool to update LDAP entries with a text editor

LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt

USE_OPENLDAP=   yes
USE_GNOME=  pkgconfig glib20
USE_ICONV=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKEFILE=   GNUmakefile

CFLAGS+=    -I${LOCALBASE}/include
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ENV=  CFLAGS="${CFLAGS}" \
        CPPFLAGS="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}"

MAN1=       ldapvi.1
PLIST_FILES=    bin/ldapvi \
        ${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
        ${DOCSDIR_REL}/bg.png ${DOCSDIR_REL}/html.xsl
PLIST_DIRS= ${DOCSDIR_REL}

.include <bsd.port.pre.mk>

.if !defined(WANT_OPENLDAP_SASL) || defined(WITHOUT_SASL)
CONFIGURE_ARGS+=--without-sasl
.endif

.include <bsd.port.post.mk>