aboutsummaryrefslogtreecommitdiffstats
path: root/net/dictd-database
diff options
context:
space:
mode:
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