diff options
author | makc <makc@FreeBSD.org> | 2010-08-24 03:33:43 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-08-24 03:33:43 +0800 |
commit | f873303f15d67823739d2f7cb285fa6f736f9873 (patch) | |
tree | d02b08de9b9d6f360d65de9269efa94131d24220 /textproc | |
parent | 545c038047233f1ad1ab23947701559fbb09d987 (diff) | |
download | freebsd-ports-gnome-f873303f15d67823739d2f7cb285fa6f736f9873.tar.gz freebsd-ports-gnome-f873303f15d67823739d2f7cb285fa6f736f9873.tar.zst freebsd-ports-gnome-f873303f15d67823739d2f7cb285fa6f736f9873.zip |
Fix packaging.
Reported by: QAT
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/stardict2-dictd_mova/Makefile | 4 | ||||
-rw-r--r-- | textproc/stardict2-quick/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/textproc/stardict2-dictd_mova/Makefile b/textproc/stardict2-dictd_mova/Makefile index 267d305e3d9d..55d258059a3f 100644 --- a/textproc/stardict2-dictd_mova/Makefile +++ b/textproc/stardict2-dictd_mova/Makefile @@ -21,7 +21,8 @@ USE_BZIP2= yes LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -DICTDIR= share/stardict/dic +STARDICT_DIR= share/stardict +DICTDIR= ${STARDICT_DIR}/dic DISTSUFFIX= -dictd_www.mova.org @@ -71,5 +72,6 @@ do-install: .endfor .endfor @${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${RMDIR} %D/${STARDICT_DIR} 2>/dev/null || true" >> ${TMPPLIST} .include <bsd.port.post.mk> diff --git a/textproc/stardict2-quick/Makefile b/textproc/stardict2-quick/Makefile index be877196ae49..cf438e40784d 100644 --- a/textproc/stardict2-quick/Makefile +++ b/textproc/stardict2-quick/Makefile @@ -21,7 +21,8 @@ USE_BZIP2= yes LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} -DICTDIR= share/stardict/dic +STARDICT_DIR= share/stardict +DICTDIR= ${STARDICT_DIR}/dic DICTIONARIES= afr-eng afr-swe bul-swe dan-deu dan-eng dan-fin dan-fra \ dan-hun dan-ind dan-ita dan-jpn dan-lat dan-nld dan-nor \ @@ -76,5 +77,6 @@ post-install: ${FIND} -s . -type f -o -type l | ${SED} -e 's|^\.|${DICTDIR}|' >> ${TMPPLIST} .endfor @${ECHO_CMD} "@unexec ${RMDIR} %D/${DICTDIR} 2>/dev/null || true" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec ${RMDIR} %D/${STARDICT_DIR} 2>/dev/null || true" >> ${TMPPLIST} .include <bsd.port.post.mk> |