diff options
Diffstat (limited to 'chinese/dictd-database')
-rw-r--r-- | chinese/dictd-database/Makefile | 9 | ||||
-rw-r--r-- | chinese/dictd-database/pkg-plist | 2 |
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 |