ports/50378: Update port: textproc/dictfmt to 1.9.8

Kimura Fuyuki fuyuki at hadaly.org
Fri Mar 28 01:50:08 UTC 2003


>Number:         50378
>Category:       ports
>Synopsis:       Update port: textproc/dictfmt to 1.9.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 17:50:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki <fuyuki at hadaly.org>
>Release:        FreeBSD 5.0-RELEASE-p5 i386
>Organization:
>Environment:

  FreeBSD hadaly.dyndns.org 5.0-RELEASE-p5 FreeBSD 5.0-RELEASE-p5 #1: Fri Mar 21 10:29:48 JST 2003     root at hadaly.dyndns.org:/.2/obj/usr/src/sys/NS  i386

>Description:
- Update to 1.9.8
- Drop maintainership

>How-To-Repeat:

>Fix:
diff -ruN --exclude=CVS dictfmt.orig/Makefile dictfmt/Makefile
--- dictfmt.orig/Makefile	Fri Mar 28 10:44:32 2003
+++ dictfmt/Makefile	Fri Mar 28 10:17:37 2003
@@ -6,26 +6,22 @@
 #
 
 PORTNAME=	dictfmt
-PORTVERSION=	1.6.1
+PORTVERSION=	1.9.8
 CATEGORIES=	textproc
-MASTER_SITES=	ftp://ftp.dict.org/pub/dict/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-source
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	dict
+DISTNAME=	dictd-${PORTVERSION}
 
-MAINTAINER=	fuyuki at hadaly.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Formats a DICT protocol dictionary database
 
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
-NO_WRKSUBDIR=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+USE_LIBTOOL=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
 USE_GMAKE=	yes
+ALL_TARGET=	dictfmt
+INSTALL_TARGET=	install.dictfmt
 
-MAN1=		dictfmt.1
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/dictfmt ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/dictfmt.1 ${PREFIX}/man/man1
+MAN1=		dictfmt.1 dictfmt_index2suffix.1 dictfmt_index2word.1 \
+		dictunformat.1
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS dictfmt.orig/distinfo dictfmt/distinfo
--- dictfmt.orig/distinfo	Fri Mar 28 10:44:32 2003
+++ dictfmt/distinfo	Thu Mar 27 08:09:55 2003
@@ -1 +1 @@
-MD5 (dictfmt-1.6.1-source.tar.gz) = 8e17b9d60b504694293be03569855898
+MD5 (dictd-1.9.8.tar.gz) = e8968c93ab3989c24a0f11d80cfea3eb
diff -ruN --exclude=CVS dictfmt.orig/files/patch-dictP.h dictfmt/files/patch-dictP.h
--- dictfmt.orig/files/patch-dictP.h	Thu Jan  1 09:00:00 1970
+++ dictfmt/files/patch-dictP.h	Fri Mar 28 09:59:43 2003
@@ -0,0 +1,22 @@
+--- dictP.h.orig
++++ dictP.h
+@@ -96,16 +96,11 @@
+ #define inet_aton(a,b) (b)->s_addr = inet_addr(a)
+ #endif
+ 
+-#if HAVE_WINT_T && HAVE_WCHAR_H
++#if HAVE_WCHAR_H
+ #include <wchar.h>
+ #else
+-#typedef unsigned int wint_t;
+-#endif
+-
+-#if !HAVE_WCHAR_T && HAVE_WCHAR_H
+-#include <wchar.h>
+-#else
+-#typedef unsigned int wchar_t;
++typedef unsigned int wint_t;
++typedef unsigned int wchar_t;
+ #endif
+ 
+ #if !HAVE_MBSTATE_T
diff -ruN --exclude=CVS dictfmt.orig/pkg-descr dictfmt/pkg-descr
--- dictfmt.orig/pkg-descr	Fri Mar 28 10:44:32 2003
+++ dictfmt/pkg-descr	Thu Mar 27 08:10:08 2003
@@ -1,5 +1,2 @@
 dictfmt converts databases in various formats into working databases
 and indices for the DICT server.
-
-- Kimura Fuyuki
-fuyuki at hadaly.org
diff -ruN --exclude=CVS dictfmt.orig/pkg-plist dictfmt/pkg-plist
--- dictfmt.orig/pkg-plist	Fri Mar 28 10:44:32 2003
+++ dictfmt/pkg-plist	Fri Mar 28 10:12:18 2003
@@ -1 +1,6 @@
 bin/dictfmt
+bin/dictfmt_index2suffix
+bin/dictfmt_index2word
+bin/dictfmt_plugin
+bin/dictfmt_virtual
+bin/dictunformat
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list