summaryrefslogtreecommitdiff
path: root/net/gnu-dico
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-07 16:47:25 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-07 16:47:25 +0000
commit5f27e74327b3838a71dbb358b2146695e47d35ef (patch)
tree26fcd7369adf4772488c3f27c51ceb6a5af11655 /net/gnu-dico
parentdatabases/pecl-redis: Update to 5.3.2o (diff)
net/gnu-dico: update to 2.10
ChangeLog: http://savannah.gnu.org/forum/forum.php?forum_id=9806 Change maintainer's email address. PR: 249116 Submitted by: info@dikt.tv (maintainer) MFH: 2020Q4 (blanket, bug fix release)
Notes
Notes: svn path=/head/; revision=554408
Diffstat (limited to 'net/gnu-dico')
-rw-r--r--net/gnu-dico/Makefile38
-rw-r--r--net/gnu-dico/distinfo6
-rw-r--r--net/gnu-dico/pkg-plist1
3 files changed, 23 insertions, 22 deletions
diff --git a/net/gnu-dico/Makefile b/net/gnu-dico/Makefile
index 70c91017908f..33b7bc87f7a6 100644
--- a/net/gnu-dico/Makefile
+++ b/net/gnu-dico/Makefile
@@ -2,24 +2,28 @@
# $FreeBSD$
PORTNAME= dico
-PORTVERSION= 2.7
-PORTREVISION= 3
+PORTVERSION= 2.10
CATEGORIES= net textproc
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu-
-MAINTAINER= goran.tal@gmail.com
+MAINTAINER= info@dikt.tv
COMMENT= Flexible modular implementation of DICT server
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libltdl.so:devel/libltdl
+USES= gmake libtool localbase pkgconfig tar:xz
USE_LDCONFIG= yes
-USES= tar:xz gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
INFO= dico
+LDFLAGS+= -lthr
+
PLIST_SUB= PORTVERSION=${PORTVERSION}
SUB_FILES= pkg-message
USE_RC_SUBR= dicod
@@ -29,20 +33,11 @@ OPTIONS_DEFAULT= PYTHON PCRE
OPTIONS_SUB= yes
GSASL_DESC= GSASL support
-PYTHON_USES= python
-PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
-PYTHON_CONFIGURE_OFF= --without-python
-
-GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2
-GUILE_CONFIGURE_OFF= --without-guile
-
-PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
-PCRE_CONFIGURE_OFF= --without-pcre
-
GSASL_LIB_DEPENDS= libgsasl.so:security/libgsasl
GSASL_CONFIGURE_WITH= gsasl
-PAM_CONFIGURE_ENABLE= pam
+GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2
+GUILE_CONFIGURE_OFF= --without-guile
LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_OFF= --without-ldap
@@ -50,17 +45,22 @@ LDAP_CONFIGURE_OFF= --without-ldap
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+PAM_CONFIGURE_ENABLE= pam
+
+PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
+PCRE_CONFIGURE_OFF= --without-pcre
+
+PYTHON_USES= python
+PYTHON_CONFIGURE_ENV= PYTHON_CONFIG=${PYTHON_CMD}-config
+PYTHON_CONFIGURE_OFF= --without-python
+
post-patch:
@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in
@${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in
- @${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in
@${REINPLACE_CMD} \
-e 's/mu_check_lib_save_LIBS/LIBS/' \
-e 's/python-config/$${PYTHON_CONFIG}/' \
${WRKSRC}/configure
- @${REINPLACE_CMD} 's/mergesort/xmergesort/' ${WRKSRC}/lib/mergesort.c
- @${REINPLACE_CMD} -E '/(dico_markup_list|text_udb_def);/s,^,extern ,' \
- ${WRKSRC}/include/dico/markup.h ${WRKSRC}/dicod/dicod.h
post-install:
${INSTALL_DATA} ${FILESDIR}/dicod.conf ${STAGEDIR}${PREFIX}/etc/dicod.conf.sample
diff --git a/net/gnu-dico/distinfo b/net/gnu-dico/distinfo
index a10d3e0fcf31..8a7f76f4a7ef 100644
--- a/net/gnu-dico/distinfo
+++ b/net/gnu-dico/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538311741
-SHA256 (dico-2.7.tar.xz) = 58af9a14bae85bd4f5aa01943011fe9d10533e82bc9da6b5a4c3d16a9952e435
-SIZE (dico-2.7.tar.xz) = 1674928
+TIMESTAMP = 1599238266
+SHA256 (dico-2.10.tar.xz) = 74a37ec01056d75f9dcbbddc6dcc11c42b09724003d66ce1280d00fdeb214f61
+SIZE (dico-2.10.tar.xz) = 1830420
diff --git a/net/gnu-dico/pkg-plist b/net/gnu-dico/pkg-plist
index 67fbc7b75e33..abff148be927 100644
--- a/net/gnu-dico/pkg-plist
+++ b/net/gnu-dico/pkg-plist
@@ -63,4 +63,5 @@ sbin/dicod
%%NLS%%share/locale/pl/LC_MESSAGES/dico.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/dico.mo
%%NLS%%share/locale/sr/LC_MESSAGES/dico.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/dico.mo
%%NLS%%share/locale/uk/LC_MESSAGES/dico.mo