aboutsummaryrefslogtreecommitdiffstats
path: root/net/dictd-database
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 /net/dictd-database
parent5aaa736c231f6f819fef62d82e5a418782d863de (diff)
downloadfreebsd-ports-graphics-b57ffa8c77da6794c1fff9c2cc16b1a1894b9692.tar.gz
freebsd-ports-graphics-b57ffa8c77da6794c1fff9c2cc16b1a1894b9692.tar.zst
freebsd-ports-graphics-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
Diffstat (limited to 'net/dictd-database')
-rw-r--r--net/dictd-database/Makefile8
-rw-r--r--net/dictd-database/pkg-plist2
2 files changed, 7 insertions, 3 deletions
diff --git a/net/dictd-database/Makefile b/net/dictd-database/Makefile
index 82e9ba4c357..f99f2be36cb 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 d9bf967cc88..e8cb206a75e 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