summaryrefslogtreecommitdiff
path: root/textproc/dict-server/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2002-12-27 02:40:18 +0000
committeruebayasi <uebayasi@pkgsrc.org>2002-12-27 02:40:18 +0000
commit678b6387524e30425f48d555641f9c8b006db2c6 (patch)
tree309be4af7744440eb24550dffa250f331b4d07a8 /textproc/dict-server/Makefile
parentc4f93d486414e816ed90c1aef09240657f4bebcc (diff)
downloadpkgsrc-678b6387524e30425f48d555641f9c8b006db2c6.tar.gz
* Separate dictionary data from dict-server. A patch problem found by bulk
build is solved. * Make dict-client depend on dict-server. Bump PKGREVISIONs.
Diffstat (limited to 'textproc/dict-server/Makefile')
-rw-r--r--textproc/dict-server/Makefile117
1 files changed, 59 insertions, 58 deletions
diff --git a/textproc/dict-server/Makefile b/textproc/dict-server/Makefile
index 4c54c09293a..0deda8c389f 100644
--- a/textproc/dict-server/Makefile
+++ b/textproc/dict-server/Makefile
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.6 2002/11/11 12:36:40 uebayasi Exp $
+# $NetBSD: Makefile,v 1.7 2002/12/27 02:40:19 uebayasi Exp $
DISTNAME= dictd-1.8.0
PKGNAME= dict-server-1.8.0
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.dict.org/pub/dict/
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=/dict}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- dict-gazetteer-1.3.tar.gz \
- dict-misc-1.5.tar.gz \
- dict-web1913-1.4.tar.gz \
- web1913-0.46-a.tar.gz \
- dict-wn-1.5.tar.gz
+#DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+# dict-gazetteer-1.3.tar.gz \
+# dict-misc-1.5.tar.gz \
+# dict-web1913-1.4.tar.gz \
+# web1913-0.46-a.tar.gz \
+# dict-wn-1.5.tar.gz
MAINTAINER= mike@ethmoid.org
HOMEPAGE= http://www.dict.org/
@@ -24,28 +25,28 @@ CONFIGURE_ARGS+=--with-etcdir=${PREFIX}/etc
ALL_TARGET= dictd dictzip
INSTALL_TARGET= install.dictd install.dictzip install.dictfmt
-LEXICONS= easton.dict.dz \
- easton.index \
- elements.dict.dz \
- elements.index \
- foldoc.dict.dz \
- foldoc.index \
- hitchcock.dict.dz \
- hitchcock.index \
- jargon.dict.dz \
- jargon.index \
- world95.dict.dz \
- world95.index
-GAZETTEER= gazetteer.dict.dz \
- gazetteer.index
-WEB1913= web1913.dict.dz \
- web1913.index
-WN= wn.dict.dz \
- wn.index
+#LEXICONS= easton.dict.dz \
+# easton.index \
+# elements.dict.dz \
+# elements.index \
+# foldoc.dict.dz \
+# foldoc.index \
+# hitchcock.dict.dz \
+# hitchcock.index \
+# jargon.dict.dz \
+# jargon.index \
+# world95.dict.dz \
+# world95.index
+#GAZETTEER= gazetteer.dict.dz \
+# gazetteer.index
+#WEB1913= web1913.dict.dz \
+# web1913.index
+#WN= wn.dict.dz \
+# wn.index
-post-extract:
- ${RM} -fr ${WRKDIR}/dict-web1913-1.4/libmaa
- ${LN} -fs ${WRKDIR}/dictd-1.8.0/libmaa ${WRKDIR}/dict-web1913-1.4/libmaa
+#post-extract:
+# ${RM} -fr ${WRKDIR}/dict-web1913-1.4/libmaa
+# ${LN} -fs ${WRKDIR}/dictd-1.8.0/libmaa ${WRKDIR}/dict-web1913-1.4/libmaa
# A symbol T_USER is defined in trap.h so...
post-patch:
@@ -59,41 +60,41 @@ post-patch:
done
# Build dictinaries
-post-build:
- @${LN} -fs ${WRKDIR}/web1913-0.46-a ${WRKDIR}/dict-web1913-1.4/web1913
- @for d in dict-misc-1.5 dict-gazetteer-1.3 dict-web1913-1.4 dict-wn-1.5; do \
- (cd ${WRKDIR}/$$d; \
- ${SH} configure; \
- ${MAKE_PROGRAM} db; \
- ); \
- done
- ${FIND} ${WRKDIR} -name '*.dict' | \
- while read f; do \
- if [ ! -f $${f}.dz ]; then \
- ${WRKSRC}/dictzip $$f; \
- fi; \
- done
+#post-build:
+# @${LN} -fs ${WRKDIR}/web1913-0.46-a ${WRKDIR}/dict-web1913-1.4/web1913
+# @for d in dict-misc-1.5 dict-gazetteer-1.3 dict-web1913-1.4 dict-wn-1.5; do \
+# (cd ${WRKDIR}/$$d; \
+# ${SH} configure; \
+# ${MAKE_PROGRAM} db; \
+# ); \
+# done
+# ${FIND} ${WRKDIR} -name '*.dict' | \
+# while read f; do \
+# if [ ! -f $${f}.dz ]; then \
+# ${WRKSRC}/dictzip $$f; \
+# fi; \
+# done
post-install:
${SED} "s#/usr/lib/dict#${PREFIX}/share/dictd#" \
${WRKSRC}/dictd.conf >${PREFIX}/etc/dictd.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/dictd
- for f in ${LEXICONS}; do \
- ${INSTALL_DATA} ${WRKDIR}/dict-misc-1.5/$$f \
- ${PREFIX}/share/dictd; \
- done
- for f in ${GAZETTEER}; do \
- ${INSTALL_DATA} ${WRKDIR}/dict-gazetteer-1.3/$$f \
- ${PREFIX}/share/dictd; \
- done
- for f in ${WEB1913}; do \
- ${INSTALL_DATA} ${WRKDIR}/dict-web1913-1.4/$$f \
- ${PREFIX}/share/dictd; \
- done
- for f in ${WN}; do \
- ${INSTALL_DATA} ${WRKDIR}/dict-wn-1.5/$$f \
- ${PREFIX}/share/dictd; \
- done
+# for f in ${LEXICONS}; do \
+# ${INSTALL_DATA} ${WRKDIR}/dict-misc-1.5/$$f \
+# ${PREFIX}/share/dictd; \
+# done
+# for f in ${GAZETTEER}; do \
+# ${INSTALL_DATA} ${WRKDIR}/dict-gazetteer-1.3/$$f \
+# ${PREFIX}/share/dictd; \
+# done
+# for f in ${WEB1913}; do \
+# ${INSTALL_DATA} ${WRKDIR}/dict-web1913-1.4/$$f \
+# ${PREFIX}/share/dictd; \
+# done
+# for f in ${WN}; do \
+# ${INSTALL_DATA} ${WRKDIR}/dict-wn-1.5/$$f \
+# ${PREFIX}/share/dictd; \
+# done
.include "../../devel/libtool/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"