aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-13 02:06:39 +0800
committerrafan <rafan@FreeBSD.org>2006-08-13 02:06:39 +0800
commitfaafc017da07f529409f5945468c2cfa07e5b2de (patch)
tree03efedaece027f8682a19cb2a87e77aba3853fbc /chinese
parent4b3f1976fa546cb99b7ff22a6de30f3526bc81c7 (diff)
downloadfreebsd-ports-gnome-faafc017da07f529409f5945468c2cfa07e5b2de.tar.gz
freebsd-ports-gnome-faafc017da07f529409f5945468c2cfa07e5b2de.tar.zst
freebsd-ports-gnome-faafc017da07f529409f5945468c2cfa07e5b2de.zip
- Respect DESTDIR
- Use @dirrmtry, bump PORTREVISION PR: ports/101869 Submitted by: Gea-Suan Lin <gslin at gslin.org>
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