aboutsummaryrefslogtreecommitdiffstats
path: root/security/gss/Makefile
blob: ccaf8ea549c21ba0238d6bc128da9203a2fc4d87 (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
46
47
48
49
50
51
52
53
54
# ex:ts=8
# Ports collection makefile for:    gss
# Date created:         Oct 19, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   gss
PORTVERSION=    1.0.1
CATEGORIES= security
MASTER_SITES=   GNU

MAINTAINER= johans@FreeBSD.org
COMMENT=    GNU Generic Security Service Library

LIB_DEPENDS=    shishi.1:${PORTSDIR}/security/shishi

CONFLICTS=  heimdal-[0-9]*

USE_PERL5_BUILD=    yes
USE_GNOME=  gnomehack gnometarget pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-kerberos5
USE_LDCONFIG=   yes

INFO=       gss
PORTDOCS=   gss.html gss.ps gss.pdf

CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

.include "Makefile.man"
.include <bsd.port.pre.mk>

.ifdef  WITHOUT_NLS
CONFIGURE_ARGS+=    --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT=        yes
PLIST_SUB+= NLS=""
.endif

pre-install:
    @${MKDIR} ${PREFIX}/${INFO_PATH}

post-install:
.ifndef NOPORTDOCS
    ${MKDIR} ${DOCSDIR}
    cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>