summaryrefslogtreecommitdiff
path: root/net/dictd-database
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2001-05-07 15:21:41 +0000
committerClive Lin <clive@FreeBSD.org>2001-05-07 15:21:41 +0000
commitd08e472e7604fe8fad910131da1b0d72a883724d (patch)
tree8355afb6d9e5e9b26e3b1cda5c0d8cca4c300159 /net/dictd-database
parentUpgrade to version 0.09 (diff)
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
Notes
Notes: svn path=/head/; revision=42370
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 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