freebsd-ports/security/gsasl/Makefile

62 lines
1.3 KiB
Makefile
Raw Normal View History

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
PORTVERSION= 1.4.0
2003-10-30 03:35:43 -05:00
CATEGORIES= security
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
MAINTAINER= krion@FreeBSD.org
2003-10-30 03:35:43 -05:00
COMMENT= GNU SASL Library
LIB_DEPENDS= idn.16:${PORTSDIR}/dns/libidn \
gcrypt.16:${PORTSDIR}/security/libgcrypt \
ntlm.0:${PORTSDIR}/security/libntlm
2003-10-30 03:35:43 -05:00
USE_GNOME= gnomehack gnometarget pkgconfig
USE_PERL5_BUILD= yes
2003-10-30 03:35:43 -05:00
GNU_CONFIGURE= yes
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
.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
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
.include <bsd.port.pre.mk>
2003-10-30 03:35:43 -05:00
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${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
.endif
.include "Makefile.man"
.include <bsd.port.post.mk>