diff options
author | lx <lx@FreeBSD.org> | 2006-12-01 12:22:13 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2006-12-01 12:22:13 +0800 |
commit | 6460e9986948335b71d3bb0043bb6dd32cc92c4b (patch) | |
tree | 4b5e2c74aa82bbd65fac4143bf33fbdd18bf126b /japanese | |
parent | a9d65e817427bce598344590858214ce1b6f8bba (diff) | |
download | freebsd-ports-graphics-6460e9986948335b71d3bb0043bb6dd32cc92c4b.tar.gz freebsd-ports-graphics-6460e9986948335b71d3bb0043bb6dd32cc92c4b.tar.zst freebsd-ports-graphics-6460e9986948335b71d3bb0043bb6dd32cc92c4b.zip |
- Add mirror site
- OPTIONS-ify, adding UTF-8 edict as the default instead of EUC
- Remove obsolete netscape configure arg
- Use DOCSDIR macro
Approved by: edwin (mentor)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/xyaku/Makefile | 29 | ||||
-rw-r--r-- | japanese/xyaku/pkg-plist | 22 |
2 files changed, 30 insertions, 21 deletions
diff --git a/japanese/xyaku/Makefile b/japanese/xyaku/Makefile index f30a86757e6..16a2299f74e 100644 --- a/japanese/xyaku/Makefile +++ b/japanese/xyaku/Makefile @@ -7,24 +7,32 @@ PORTNAME= xyaku PORTVERSION= 1.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese textproc -MASTER_SITES= http://home.catv.ne.jp/pp/ginoue/software/xyaku/ +MASTER_SITES= http://home.catv.ne.jp/pp/ginoue/software/xyaku/ \ + http://redundancy.redundancy.org/mirror/ MAINTAINER= lx@redundancy.redundancy.org COMMENT= A general dictionary/search engine front-end for X -RUN_DEPENDS= ${EDICT_FILE}:${PORTSDIR}/japanese/edict \ - ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/eb.so:${PORTSDIR}/japanese/ruby-eb + +OPTIONS= UTF8 "Use UTF-8 edict dictionaries" on + +.if !defined(WITHOUT_UTF8) +EDICT_FILE= ${LOCALBASE}/share/dict/edict-utf-8/edict +RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict-utf-8 +.else +EDICT_FILE= ${LOCALBASE}/share/dict/edict/edict +RUN_DEPENDS+= ${EDICT_FILE}:${PORTSDIR}/japanese/edict +.endif USE_X_PREFIX= yes USE_RUBY= yes USE_AUTOTOOLS= autoconf:213 libtool:15 CONFIGURE_ARGS= --with-edict="${EDICT_FILE}" \ - --with-ruby="${RUBY}" \ - --with-netscape="${LOCALBASE}/bin/netscape" + --with-ruby="${RUBY}" -EDICT_FILE= ${LOCALBASE}/share/dict/edict/edict DOCS_EN= AUTHORS ChangeLog INSTALL NEWS README TODO \ addin/ADDIN.ChangeLog addin/ADDIN.txt DOCS_JA= addin/README.searcheb.ja @@ -34,12 +42,13 @@ post-extract: post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/xyaku/ja + ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/ja .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/xyaku/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/xyaku/ja/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ja .endfor .endif diff --git a/japanese/xyaku/pkg-plist b/japanese/xyaku/pkg-plist index 9620a4471c9..fa03c8a77a6 100644 --- a/japanese/xyaku/pkg-plist +++ b/japanese/xyaku/pkg-plist @@ -11,14 +11,14 @@ libexec/xyaku/showrc.sh libexec/xyaku/websearch.sh libexec/xyaku/xyakurc @dirrm libexec/xyaku -%%PORTDOCS%%share/doc/xyaku/ADDIN.txt -%%PORTDOCS%%share/doc/xyaku/ADDIN.ChangeLog -%%PORTDOCS%%share/doc/xyaku/AUTHORS -%%PORTDOCS%%share/doc/xyaku/ChangeLog -%%PORTDOCS%%share/doc/xyaku/INSTALL -%%PORTDOCS%%share/doc/xyaku/NEWS -%%PORTDOCS%%share/doc/xyaku/README -%%PORTDOCS%%share/doc/xyaku/TODO -%%PORTDOCS%%share/doc/xyaku/ja/README.searcheb.ja -%%PORTDOCS%%@dirrm share/doc/xyaku/ja -%%PORTDOCS%%@dirrm share/doc/xyaku +%%PORTDOCS%%%%DOCSDIR%%/ADDIN.txt +%%PORTDOCS%%%%DOCSDIR%%/ADDIN.ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/ja/README.searcheb.ja +%%PORTDOCS%%@dirrm %%DOCSDIR%%/ja +%%PORTDOCS%%@dirrm %%DOCSDIR%% |