net/tintin++: Add GNUTLS option

PR:		257592
This commit is contained in:
Tobias Rehbein 2021-08-09 05:42:16 +08:00 committed by Po-Chuan Hsieh
parent a3abb6ed78
commit e52c0266c9
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -15,19 +15,12 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
LIB_DEPENDS= libpcre.so:devel/pcre
CONFLICTS_INSTALL?= zh-tintin++
OPTIONS_DEFINE= BIG5 DOCS
BIG5_DESC= Big5 support
USES= gmake localbase
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include \
--libdir=${LOCALBASE}/lib \
--prefix=${PREFIX}
CONFIGURE_ENV= ac_cv_file__dev_ptmx=no \
ac_cv_header_gnutls_gnutls_h=no \
ac_cv_lib_gnutls_gnutls_init=no
CONFIGURE_ENV= ac_cv_file__dev_ptmx=no
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/tt/src
@ -36,9 +29,17 @@ DOCS= CREDITS FAQ README SCRIPTS TODO \
PLIST_FILES= bin/tt++
PORTDOCS= ${DOCS:T}
CONFLICTS_INSTALL?= zh-tintin++
SLAVEDIRS= chinese/tintin++
OPTIONS_DEFINE= BIG5 DOCS GNUTLS
BIG5_DESC= Big5 support
BIG5_CONFIGURE_ENABLE= big5
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENV_OFF= ac_cv_header_gnutls_gnutls_h=no \
ac_cv_lib_gnutls_gnutls_init=no
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${STAGEDIR}${PREFIX}/bin/