2003-10-30 03:35:43 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: gsasl
|
|
|
|
# Date created: Oct 18, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsasl
|
2009-12-15 15:47:20 -05:00
|
|
|
PORTVERSION= 1.4.0
|
2003-10-30 03:35:43 -05:00
|
|
|
CATEGORIES= security
|
2009-10-23 08:31:44 -04:00
|
|
|
MASTER_SITES= http://www.sfr-fresh.com/unix/misc/ \
|
|
|
|
${MASTER_SITE_GNU_ALPHA} \
|
2004-11-11 14:16:57 -05:00
|
|
|
http://josefsson.org/${PORTNAME}/releases/
|
2003-10-30 21:39:30 -05:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-10-30 03:35:43 -05:00
|
|
|
|
2004-04-17 02:22:03 -04:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-10-30 03:35:43 -05:00
|
|
|
COMMENT= GNU SASL Library
|
|
|
|
|
2005-11-12 13:52:22 -05:00
|
|
|
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn \
|
2009-01-06 08:01:11 -05:00
|
|
|
gcrypt.16:${PORTSDIR}/security/libgcrypt \
|
2004-02-03 23:36:30 -05:00
|
|
|
ntlm.0:${PORTSDIR}/security/libntlm
|
2003-10-30 03:35:43 -05:00
|
|
|
|
2003-12-05 09:22:50 -05:00
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
2004-04-17 02:22:03 -04:00
|
|
|
USE_PERL5_BUILD= yes
|
2003-10-30 03:35:43 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2003-12-05 09:22:50 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-06-01 04:20:31 -04:00
|
|
|
USE_LDCONFIG= yes
|
2003-10-30 03:35:43 -05:00
|
|
|
|
|
|
|
INFO= gsasl
|
|
|
|
|
2004-04-03 13:09:28 -05:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2003-12-05 09:22:50 -05:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
2006-03-18 18:02:13 -05:00
|
|
|
post-patch:
|
|
|
|
.for file in \
|
|
|
|
lib/po/LINGUAS \
|
|
|
|
po/LINGUAS
|
|
|
|
@${REINPLACE_CMD} -e '1,2d' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
2003-12-05 09:22:50 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-10-30 03:35:43 -05:00
|
|
|
|
2003-12-05 09:22:50 -05:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-01-08 10:44:40 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}/reference
|
2004-11-11 14:16:57 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* ${DOCSDIR}/reference
|
2003-12-05 09:22:50 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "Makefile.man"
|
|
|
|
.include <bsd.port.post.mk>
|