summaryrefslogtreecommitdiff
path: root/security/gsasl/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-02-23 08:07:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-02-23 08:07:19 +0000
commitc62affb0d4c93db7a3410b799f80687212f9be26 (patch)
treea993b1bef84760c7ee4eb675d71a129f354a8cf2 /security/gsasl/Makefile
parentgraphics/viewnior: update 1.6 -> 1.7, submitter becomes maintainer (diff)
Split GSASL into gsasl (command-line utility) and libgsasl (library)
GNU SASL has been split into 2 ports: - security/gsasl: the command-line utility - security/libgsasl: the library It was based on hrs@ patch. Thanks to: hrs
Notes
Notes: svn path=/head/; revision=526892
Diffstat (limited to 'security/gsasl/Makefile')
-rw-r--r--security/gsasl/Makefile26
1 files changed, 11 insertions, 15 deletions
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile
index 606191cd604a..5167958f694a 100644
--- a/security/gsasl/Makefile
+++ b/security/gsasl/Makefile
@@ -3,40 +3,36 @@
PORTNAME= gsasl
PORTVERSION= 1.8.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= GNU
MAINTAINER= sunpoet@FreeBSD.org
-COMMENT= GNU SASL Library
+COMMENT= GNU SASL command-line utility
-LIB_DEPENDS= libidn.so:dns/libidn \
- libgcrypt.so:security/libgcrypt \
- libgnutls.so:security/gnutls \
- libntlm.so:security/libntlm
+LICENSE= LGPL21
-USES= charsetfix libtool localbase:ldflags pathfix perl5 pkgconfig
-USE_PERL5= build
+LIB_DEPENDS= libgsasl.so:security/libgsasl
-CPPFLAGS+= -nostdinc -I/usr/include
+USES= charsetfix libtool localbase pathfix pkgconfig readline
+
+CONFIGURE_ARGS= --disable-rpath \
+ --without-gssapi-impl
GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-LDFLAGS+= -L/usr/lib
-USE_LDCONFIG= yes
INFO= gsasl
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
-NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
post-patch:
- @${REINPLACE_CMD} -e '/^en@/d' ${WRKSRC}/lib/po/LINGUAS ${WRKSRC}/po/LINGUAS
+ @${REINPLACE_CMD} -e '/^en@/d' ${WRKSRC}/po/LINGUAS
post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/reference
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/reference/html/* ${STAGEDIR}${DOCSDIR}/reference
.include <bsd.port.mk>