diff options
author | clive <clive@FreeBSD.org> | 2001-01-31 03:17:03 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2001-01-31 03:17:03 +0800 |
commit | 304c8aad6231f08b477b6481e0f34a52e190f01e (patch) | |
tree | cc849c2bd7c4338721b9e9a8872c0ae17430bf9f /net | |
parent | 3fbfe9961902773a898ed78083f80165400404c2 (diff) | |
download | freebsd-ports-gnome-304c8aad6231f08b477b6481e0f34a52e190f01e.tar.gz freebsd-ports-gnome-304c8aad6231f08b477b6481e0f34a52e190f01e.tar.zst freebsd-ports-gnome-304c8aad6231f08b477b6481e0f34a52e190f01e.zip |
o Follows dictionary files addition of dictd-database port
o Now use our own dictd.conf
Approved by: MAINTAINER
Diffstat (limited to 'net')
-rw-r--r-- | net/dictd/Makefile | 10 | ||||
-rw-r--r-- | net/dictd/files/dictd.conf | 22 |
2 files changed, 27 insertions, 5 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile index ff9c4257f7b3..cc2fbae29c07 100644 --- a/net/dictd/Makefile +++ b/net/dictd/Makefile @@ -8,7 +8,7 @@ PORTNAME= dictd PORTVERSION= 1.5.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net textproc MASTER_SITES= ftp://ftp.dict.org/pub/dict/ @@ -31,7 +31,7 @@ post-patch: .for i in dict.1 dictd.8 @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$i .endfor -.for i in dictd.conf example.conf +.for i in example.conf @${PERL} -pi -e "s|/usr|${PREFIX}|g" ${WRKSRC}/$i .endfor @${PERL} -pi -e "s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/zlib/Makefile @@ -42,9 +42,9 @@ post-install: .for i in example.conf example.dictrc example.site example2.conf example3.conf ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/${PORTNAME} .endfor - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf - @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/dictd.sh > ${PREFIX}/etc/rc.d/dictd.sh - @${CHMOD} +x ${PREFIX}/etc/rc.d/dictd.sh + @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.conf > ${PREFIX}/etc/${PORTNAME}.conf + @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.sh > ${PREFIX}/etc/rc.d/${PORTNAME}.sh + @${CHMOD} +x ${PREFIX}/etc/rc.d/${PORTNAME}.sh @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/net/dictd/files/dictd.conf b/net/dictd/files/dictd.conf new file mode 100644 index 000000000000..6c6cdd07ca17 --- /dev/null +++ b/net/dictd/files/dictd.conf @@ -0,0 +1,22 @@ +database web1913 { data "%%PREFIX%%/lib/dict/web1913.dict.dz" + index "%%PREFIX%%/lib/dict/web1913.index" } +database wn { data "%%PREFIX%%/lib/dict/wn.dict.dz" + index "%%PREFIX%%/lib/dict/wn.index" } +database gazetteer { data "%%PREFIX%%/lib/dict/gazetteer.dict.dz" + index "%%PREFIX%%/lib/dict/gazetteer.index" } +database jargon { data "%%PREFIX%%/lib/dict/jargon.dict.dz" + index "%%PREFIX%%/lib/dict/jargon.index" } +database foldoc { data "%%PREFIX%%/lib/dict/foldoc.dict.dz" + index "%%PREFIX%%/lib/dict/foldoc.index" } +database elements { data "%%PREFIX%%/lib/dict/elements.dict.dz" + index "%%PREFIX%%/lib/dict/elements.index" } +database easton { data "%%PREFIX%%/lib/dict/easton.dict.dz" + index "%%PREFIX%%/lib/dict/easton.index" } +database hitchcock { data "%%PREFIX%%/lib/dict/hitchcock.dict.dz" + index "%%PREFIX%%/lib/dict/hitchcock.index" } +database vera { data "%%PREFIX%%/lib/dict/vera.dict.dz" + index "%%PREFIX%%/lib/dict/vera.index" } +database delvis { data "%%PREFIX%%/lib/dict/devils.dict.dz" + index "%%PREFIX%%/lib/dict/devils.index" } +database world95 { data "%%PREFIX%%/lib/dict/world95.dict.dz" + index "%%PREFIX%%/lib/dict/world95.index" } |