aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-11 02:38:42 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-11 02:38:42 +0000
commitac5c6c500061bc489532b4baa2e7784a7c19444c (patch)
treecf1060d7c11973f4710b9be7f94acfecf9cd61f5
parenta116e6c77f422e1a5d82a6adfcb47141dcbb704c (diff)
downloadports-ac5c6c500061bc489532b4baa2e7784a7c19444c.tar.gz
ports-ac5c6c500061bc489532b4baa2e7784a7c19444c.zip
- update to 1.10.8
- I'll maintain it for a while
Notes
Notes: svn path=/head/; revision=189735
-rw-r--r--textproc/dict/Makefile11
-rw-r--r--textproc/dict/distinfo6
-rw-r--r--textproc/dict/files/patch-decl.h11
-rw-r--r--textproc/dict/files/patch-libmaa::configure13
-rw-r--r--textproc/dict/files/patch-libmaa::getopt.c11
-rw-r--r--textproc/dict/files/patch-libmaa::memtest.c11
-rw-r--r--textproc/dict/files/patch-libmaa::strtol.c11
7 files changed, 10 insertions, 64 deletions
diff --git a/textproc/dict/Makefile b/textproc/dict/Makefile
index 2cb40b7808fd..4d246c909d88 100644
--- a/textproc/dict/Makefile
+++ b/textproc/dict/Makefile
@@ -7,23 +7,23 @@
#
PORTNAME= dict
-PORTVERSION= 1.10.4
-PORTREVISION= 1
+PORTVERSION= 1.10.8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dict
DISTNAME= ${PORTNAME}d-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= clsung@FreeBSD.org
COMMENT= Dictionary Server Protocol (RFC2229) client
USE_BISON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
- --with-etcdir=${PREFIX}/etc
+ --with-etcdir=${PREFIX}/etc --mandir="${PREFIX}/man"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
ALL_TARGET= dict
INSTALL_TARGET= install.dict
MAN1= dict.1 dictl.1
@@ -31,6 +31,9 @@ MAN1= dict.1 dictl.1
post-patch:
${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/dict.1.in
+post-configure:
+ ${REINPLACE_CMD} -e 's|^ mkdir| mkdir|g' ${WRKSRC}/Makefile
+
post-install:
${INSTALL_DATA} ${FILESDIR}/dict.conf ${PREFIX}/etc/dict.conf.sample
if [ ! -f ${PREFIX}/etc/dict.conf ]; then \
diff --git a/textproc/dict/distinfo b/textproc/dict/distinfo
index e4f1c0f7c7f5..ee84e4a5f48d 100644
--- a/textproc/dict/distinfo
+++ b/textproc/dict/distinfo
@@ -1,3 +1,3 @@
-MD5 (dictd-1.10.4.tar.gz) = 1c0b7583e6fa25fd27fca5fca9ddb91f
-SHA256 (dictd-1.10.4.tar.gz) = 8ba2be616099724b0f66f58c71b7cec3b3ec5691fd12b338405deace46713a11
-SIZE (dictd-1.10.4.tar.gz) = 647901
+MD5 (dictd-1.10.8.tar.gz) = 927405c8fda1b3883d0dfcfe8a141f7f
+SHA256 (dictd-1.10.8.tar.gz) = fd659e351248bef18ac8b529d29591f7228bed1db96a5b4d36485fc8edc4dc8c
+SIZE (dictd-1.10.8.tar.gz) = 688539
diff --git a/textproc/dict/files/patch-decl.h b/textproc/dict/files/patch-decl.h
deleted file mode 100644
index 4e970dfaa592..000000000000
--- a/textproc/dict/files/patch-decl.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- decl.h.orig Sat Jan 11 18:39:08 2003
-+++ decl.h Sat Jan 11 18:38:58 2003
-@@ -28,7 +28,7 @@
- declarations for standard library calls. We provide them here for
- situations that we know about. */
-
--#if defined(__sparc__) && !defined(__linux__)
-+#if defined(__sparc__) && !(defined(__linux__) || defined(__FreeBSD__))
- /* Both SunOS and Solaris */
- extern int getrusage( int who, struct rusage * );
- extern void bcopy( const void *, void *, int );
diff --git a/textproc/dict/files/patch-libmaa::configure b/textproc/dict/files/patch-libmaa::configure
deleted file mode 100644
index 75ace37af66d..000000000000
--- a/textproc/dict/files/patch-libmaa::configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- libmaa/configure.orig Mon Mar 10 01:22:39 2003
-+++ libmaa/configure Thu Oct 9 22:16:29 2003
-@@ -1859,10 +1859,7 @@
- # Check whether --with-cflags or --without-cflags was given.
- if test "${with_cflags+set}" = set; then
- withval="$with_cflags"
--
--if test "x${withval}" = xyes; then
- CFLAGS="$withval"
--fi
-
- fi;
-
diff --git a/textproc/dict/files/patch-libmaa::getopt.c b/textproc/dict/files/patch-libmaa::getopt.c
deleted file mode 100644
index 7db8008f368c..000000000000
--- a/textproc/dict/files/patch-libmaa::getopt.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libmaa/getopt.c.orig Sat Jan 11 18:40:00 2003
-+++ libmaa/getopt.c Sat Jan 11 18:40:12 2003
-@@ -44,7 +44,7 @@
-
- #include <stdio.h>
-
--#ifdef __sparc__
-+#if defined(__sparc__) && !defined(__FreeBSD__)
- extern int fprintf( FILE *, const char *, ... );
- extern int strncmp( const char *, const char *, int n );
- #endif
diff --git a/textproc/dict/files/patch-libmaa::memtest.c b/textproc/dict/files/patch-libmaa::memtest.c
deleted file mode 100644
index 7e40ee4f536c..000000000000
--- a/textproc/dict/files/patch-libmaa::memtest.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libmaa/memtest.c.orig Sat Jan 11 18:40:21 2003
-+++ libmaa/memtest.c Sat Jan 11 18:40:45 2003
-@@ -24,7 +24,7 @@
- #include <stdio.h>
- #include <stdlib.h>
-
--#ifdef __sparc__
-+#if defined(__sparc__) && !defined(__FreeBSD__)
- extern int printf( const char *, ... );
- #endif
-
diff --git a/textproc/dict/files/patch-libmaa::strtol.c b/textproc/dict/files/patch-libmaa::strtol.c
deleted file mode 100644
index 648ed0b672d2..000000000000
--- a/textproc/dict/files/patch-libmaa::strtol.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libmaa/strtol.c.orig Sat Jan 11 18:40:34 2003
-+++ libmaa/strtol.c Thu Aug 24 21:59:08 1995
-@@ -25,7 +25,7 @@
- #include <stdlib.h>
- #include <errno.h>
-
--#ifdef __sparc__
-+#if defined(__sparc__) && !defined(__FreeBSD__)
- extern int errno;
- extern int toupper(int);
- #endif