mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: gsasl
|
|
# Date created: Oct 18, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gsasl
|
|
PORTVERSION= 0.2.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \
|
|
http://josefsson.org/${PORTNAME}/releases/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
COMMENT= GNU SASL Library
|
|
|
|
LIB_DEPENDS= idn.16:${PORTSDIR}/devel/libidn \
|
|
gcrypt.12:${PORTSDIR}/security/libgcrypt \
|
|
ntlm.0:${PORTSDIR}/security/libntlm
|
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_GETOPT_LONG= yes
|
|
USE_PERL5_BUILD= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --disable-gssapi --disable-kerberos_v5
|
|
INSTALLS_SHLIB= yes
|
|
|
|
INFO= gsasl
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
@${MKDIR} ${DOCSDIR}/reference
|
|
${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* ${DOCSDIR}/reference
|
|
.endif
|
|
|
|
.include "Makefile.man"
|
|
.include <bsd.port.post.mk>
|