aboutsummaryrefslogtreecommitdiff
path: root/chinese/dictd-database
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-05 06:40:58 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-05 06:40:58 +0000
commitb2f1c67b10646dfba3e52d794e0dfc2ce416294c (patch)
tree2214ad6e11be0b6f3aeee93b5482e577ce0e855a /chinese/dictd-database
parentb9de7ec1dd767718fd49f92596d936977f70143f (diff)
downloadports-b2f1c67b10646dfba3e52d794e0dfc2ce416294c.tar.gz
ports-b2f1c67b10646dfba3e52d794e0dfc2ce416294c.zip
- depend on LIBTOOL
- unbreak zh-dictd-database on 5.1-BETA - refine PKGMESSAGE Reviewed by: statue@freebsd.sinica.edu.tw (MAINTAINER)
Notes
Notes: svn path=/head/; revision=82310
Diffstat (limited to 'chinese/dictd-database')
-rw-r--r--chinese/dictd-database/Makefile12
-rw-r--r--chinese/dictd-database/pkg-message18
2 files changed, 12 insertions, 18 deletions
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile
index 2c349951cf6f..84d3efe11502 100644
--- a/chinese/dictd-database/Makefile
+++ b/chinese/dictd-database/Makefile
@@ -16,17 +16,11 @@ COMMENT= A Chinese <-> English dictd words database
BUILD_DEPENDS= ${LOCALBASE}/bin/dictzip:${PORTSDIR}/chinese/dictd
-HAS_CONFIGURE= yes
+USE_LIBTOOL= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not build"
-.endif
-
post-install:
- @${CAT} ${PKGMESSAGE}
+ @${SED} -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/dictd-database/pkg-message b/chinese/dictd-database/pkg-message
index fe9344cfa1be..35d69c94547e 100644
--- a/chinese/dictd-database/pkg-message
+++ b/chinese/dictd-database/pkg-message
@@ -1,14 +1,14 @@
*****************************************************************************
-Add the following to ${PREFIX}/etc/dictd.conf:
+Add the following to PREFIX/etc/dictd.conf:
-database moecomp { data "/usr/local/lib/dict/moecomp.dict.dz"
- index "/usr/local/lib/dict/moecomp.index" }
-database netterm { data "/usr/local/lib/dict/netterm.dict.dz"
- index "/usr/local/lib/dict/netterm.index" }
-database pydict { data "/usr/local/lib/dict/pydict.dict.dz"
- index "/usr/local/lib/dict/pydict.index" }
-database cedict { data "/usr/local/lib/dict/cedict.dict.dz"
- index "/usr/local/lib/dict/cedict.index" }
+database moecomp { data "PREFIX/lib/dict/moecomp.dict.dz"
+ index "PREFIX/lib/dict/moecomp.index" }
+database netterm { data "PREFIX/lib/dict/netterm.dict.dz"
+ index "PREFIX/lib/dict/netterm.index" }
+database pydict { data "PREFIX/lib/dict/pydict.dict.dz"
+ index "PREFIX/lib/dict/pydict.index" }
+database cedict { data "PREFIX/lib/dict/cedict.dict.dz"
+ index "PREFIX/lib/dict/cedict.index" }
*****************************************************************************