aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-12 18:06:39 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-12 18:06:39 +0000
commit99e9de5489d720bee1f8857d0bad639a27c2c87b (patch)
treed4c6e65570c43e470a6385a494dab7eed8d5fae5 /chinese
parentc9b547524a41d7fe45cda8b752750ceb999d41ab (diff)
downloadports-99e9de5489d720bee1f8857d0bad639a27c2c87b.tar.gz
ports-99e9de5489d720bee1f8857d0bad639a27c2c87b.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/dictd-database/Makefile9
-rw-r--r--chinese/dictd-database/pkg-plist2
2 files changed, 6 insertions, 5 deletions
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile
index a544e96e2b5b..34ca0398b149 100644
--- a/chinese/dictd-database/Makefile
+++ b/chinese/dictd-database/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dictd-database
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= chinese textproc
MASTER_SITES= ftp://freebsd.csie.ntu.edu.tw/users/rafan/ \
ftp://freebsd.sinica.edu.tw/pub/statue/dictd-database/
@@ -25,11 +26,11 @@ PKGMESSAGE= ${WRKSRC}/pkg-message
DICTFILES= cedict pydict moecomp netterm
do-install:
- ${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
- @${MKDIR} ${PREFIX}/lib/dict
+ ${SED} 's|%%PREFIX%%|${TARGETDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
+ @${MKDIR} ${TARGETDIR}/lib/dict
for f in ${DICTFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${PREFIX}/lib/dict; \
- ${INSTALL_DATA} ${WRKSRC}/$${f}.index ${PREFIX}/lib/dict; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${TARGETDIR}/lib/dict; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f}.index ${TARGETDIR}/lib/dict; \
done
post-install:
diff --git a/chinese/dictd-database/pkg-plist b/chinese/dictd-database/pkg-plist
index e082bfc6cdf5..40e611527283 100644
--- a/chinese/dictd-database/pkg-plist
+++ b/chinese/dictd-database/pkg-plist
@@ -6,4 +6,4 @@ lib/dict/moecomp.dict.dz
lib/dict/moecomp.index
lib/dict/netterm.dict.dz
lib/dict/netterm.index
-@dirrm lib/dict
+@dirrmtry lib/dict