mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update port: textproc/dictfmt to 1.9.8
PR: ports/50378 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
383e2ffbf1
commit
36dbaa9500
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77768
6 changed files with 53 additions and 17 deletions
|
@ -6,26 +6,29 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dictfmt
|
PORTNAME= dictfmt
|
||||||
PORTVERSION= 1.6.1
|
PORTVERSION= 1.9.8
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= ftp://ftp.dict.org/pub/dict/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
MASTER_SITE_SUBDIR= dict
|
||||||
|
DISTNAME= dictd-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= fuyuki@hadaly.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Formats a DICT protocol dictionary database
|
COMMENT= Formats a DICT protocol dictionary database
|
||||||
|
|
||||||
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
USE_AUTOCONF= yes
|
||||||
GNU_CONFIGURE= yes
|
WANT_AUTOCONF_VER= 253
|
||||||
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
USE_LIBTOOL= yes
|
||||||
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
ALL_TARGET= dictfmt
|
||||||
|
INSTALL_TARGET= install.dictfmt
|
||||||
|
|
||||||
MAN1= dictfmt.1
|
MAN1= dictfmt.1 dictfmt_index2suffix.1 dictfmt_index2word.1 \
|
||||||
|
dictunformat.1
|
||||||
|
|
||||||
do-install:
|
post-patch:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/dictfmt ${PREFIX}/bin
|
cd ${WRKSRC}; aclocal; ${AUTOHEADER}
|
||||||
${INSTALL_MAN} ${WRKSRC}/dictfmt.1 ${PREFIX}/man/man1
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (dictfmt-1.6.1-source.tar.gz) = 8e17b9d60b504694293be03569855898
|
MD5 (dictd-1.9.8.tar.gz) = e8968c93ab3989c24a0f11d80cfea3eb
|
||||||
|
|
12
textproc/dictfmt/files/patch-configure.in
Normal file
12
textproc/dictfmt/files/patch-configure.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- configure.in.orig
|
||||||
|
+++ configure.in
|
||||||
|
@@ -311,7 +311,8 @@
|
||||||
|
AC_CHECK_HEADERS(sys/resource.h sys/time.h sys/param.h sys/wait.h)
|
||||||
|
AC_CHECK_HEADERS(wctype.h wchar.h)
|
||||||
|
|
||||||
|
-AC_CHECK_TYPES([wint_t, mbstate_t])
|
||||||
|
+AC_CHECK_TYPES([wint_t, mbstate_t], , ,[#include <wchar.h>])
|
||||||
|
+AC_CHECK_TYPES([wchar_t], , ,[#include <wchar.h>])
|
||||||
|
|
||||||
|
echo .
|
||||||
|
echo Checking for system constants
|
19
textproc/dictfmt/files/patch-dictP.h
Normal file
19
textproc/dictfmt/files/patch-dictP.h
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- dictP.h.orig
|
||||||
|
+++ dictP.h
|
||||||
|
@@ -99,13 +99,13 @@
|
||||||
|
#if HAVE_WINT_T && HAVE_WCHAR_H
|
||||||
|
#include <wchar.h>
|
||||||
|
#else
|
||||||
|
-#typedef unsigned int wint_t;
|
||||||
|
+typedef unsigned int wint_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if !HAVE_WCHAR_T && HAVE_WCHAR_H
|
||||||
|
+#if HAVE_WCHAR_T && HAVE_WCHAR_H
|
||||||
|
#include <wchar.h>
|
||||||
|
#else
|
||||||
|
-#typedef unsigned int wchar_t;
|
||||||
|
+typedef unsigned int wchar_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !HAVE_MBSTATE_T
|
|
@ -1,5 +1,2 @@
|
||||||
dictfmt converts databases in various formats into working databases
|
dictfmt converts databases in various formats into working databases
|
||||||
and indices for the DICT server.
|
and indices for the DICT server.
|
||||||
|
|
||||||
- Kimura Fuyuki
|
|
||||||
fuyuki@hadaly.org
|
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
bin/dictfmt
|
bin/dictfmt
|
||||||
|
bin/dictfmt_index2suffix
|
||||||
|
bin/dictfmt_index2word
|
||||||
|
bin/dictfmt_plugin
|
||||||
|
bin/dictfmt_virtual
|
||||||
|
bin/dictunformat
|
||||||
|
|
Loading…
Add table
Reference in a new issue