aboutsummaryrefslogtreecommitdiff
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
parent7d4a9f07e496294a9e835e435ee7f83f7a03c277 (diff)
downloadports-d08e472e7604fe8fad910131da1b0d72a883724d.tar.gz
ports-d08e472e7604fe8fad910131da1b0d72a883724d.zip
Notes
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