mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gsasl
|
|
PORTVERSION= 1.8.0
|
|
PORTREVISION= 8
|
|
CATEGORIES= security
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= GNU SASL Library
|
|
|
|
LIB_DEPENDS= libidn.so:dns/libidn \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libgnutls.so:security/gnutls \
|
|
libntlm.so:security/libntlm
|
|
|
|
USES= charsetfix pathfix perl5 pkgconfig libtool
|
|
USE_PERL5= build
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
INFO= gsasl
|
|
|
|
CPPFLAGS+= -nostdinc -I/usr/include -I${LOCALBASE}/include
|
|
LDFLAGS+= -L/usr/lib -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^en@/d' \
|
|
${WRKSRC}/lib/po/LINGUAS ${WRKSRC}/po/LINGUAS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgsasl.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/reference
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* \
|
|
${STAGEDIR}${DOCSDIR}/reference
|
|
|
|
.include <bsd.port.mk>
|