aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-05-07 23:21:41 +0800
committerclive <clive@FreeBSD.org>2001-05-07 23:21:41 +0800
commitb57ffa8c77da6794c1fff9c2cc16b1a1894b9692 (patch)
treea98e084d0fcbbbc3102af56ad1a6aa8362d11691
parent5aaa736c231f6f819fef62d82e5a418782d863de (diff)
downloadfreebsd-ports-gnome-b57ffa8c77da6794c1fff9c2cc16b1a1894b9692.tar.gz
freebsd-ports-gnome-b57ffa8c77da6794c1fff9c2cc16b1a1894b9692.tar.zst
freebsd-ports-gnome-b57ffa8c77da6794c1fff9c2cc16b1a1894b9692.zip
o Swap dependency. Now dictd-database needs dictzip to be built. One of its
dictionary file isn't shipped with .dz format. o Add a short message in dictd's pkg-message: "Don't forget to install ports/net/dictd-database. After that, you could run your own dictd server without pain." o Bump PORTREVISION of both ports. (It would heart your brain and waste you time to dig the reason why dictd refused to start properly in the previous revision.) Reviewed by: dictd -t review
-rw-r--r--net/dictd-database/Makefile8
-rw-r--r--net/dictd-database/pkg-plist2
-rw-r--r--net/dictd/Makefile4
-rw-r--r--net/dictd/pkg-message3
4 files changed, 11 insertions, 6 deletions
diff --git a/net/dictd-database/Makefile b/net/dictd-database/Makefile
index 82e9ba4c357e..f99f2be36cba 100644
--- a/net/dictd-database/Makefile
+++ b/net/dictd-database/Makefile
@@ -8,6 +8,7 @@
PORTNAME= dictd-database
PORTVERSION= 20010416
+PORTREVISION= 1
# clive: Ok, I have no idea how to name this somewhat-meta-port
CATEGORIES= net textproc
MASTER_SITES= ftp://ftp.dict.org/pub/dict/pre/
@@ -19,12 +20,15 @@ DISTFILES= devils-dict-pre.tar.gz dict-gazetteer-1.2-pre.tar.gz \
MAINTAINER= ijliao@FreeBSD.org
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
+BUILD_DEPENDS= ${LOCALBASE}/bin/dictzip:${PORTSDIR}/net/dictd
+
+do-build:
+# Do nothing
do-install:
@${MKDIR} ${PREFIX}/lib/dict
@${INSTALL_DATA} ${WRKDIR}/*.index ${PREFIX}/lib/dict
@${INSTALL_DATA} ${WRKDIR}/*.dict* ${PREFIX}/lib/dict
+ @(cd ${LOCALBASE}/lib/dict && ${LOCALBASE}/bin/dictzip vera.dict)
.include <bsd.port.mk>
diff --git a/net/dictd-database/pkg-plist b/net/dictd-database/pkg-plist
index d9bf967cc88f..e8cb206a75e8 100644
--- a/net/dictd-database/pkg-plist
+++ b/net/dictd-database/pkg-plist
@@ -12,7 +12,7 @@ lib/dict/hitchcock.dict.dz
lib/dict/hitchcock.index
lib/dict/jargon.dict.dz
lib/dict/jargon.index
-lib/dict/vera.dict
+lib/dict/vera.dict.dz
lib/dict/vera.index
lib/dict/web1913.dict.dz
lib/dict/web1913.index
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index cc2fbae29c07..915fab21ee92 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -8,14 +8,12 @@
PORTNAME= dictd
PORTVERSION= 1.5.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net textproc
MASTER_SITES= ftp://ftp.dict.org/pub/dict/
MAINTAINER= ijliao@FreeBSD.org
-RUN_DEPENDS= ${LOCALBASE}/lib/dict/wn.index:${PORTSDIR}/net/dictd-database
-
MAN1= dictzip.1
MAN8= dictd.8
diff --git a/net/dictd/pkg-message b/net/dictd/pkg-message
index 5d8f78b6e113..28183b263491 100644
--- a/net/dictd/pkg-message
+++ b/net/dictd/pkg-message
@@ -2,4 +2,7 @@
Dict client could be found within ports/textproc/dict.
+Don't forget to install ports/net/dictd-database. After that, you
+could run your own dictd server without pain.
+
==================================================================